Comments (6)
by making it a function and calling it as many times as you want
const bar = (monitor) => ({
name: `bar${monitor}`, // make sure its still unique
monitor,
anchor: ['top', 'left', 'right'],
exclusive: true,
child: { /* stuff */ }
});
var config = { windows: [bar(0), bar(1), bar(2)] };
from ags.
Thanks
I understand how to get more of them. But this just gets me 2 bars on 1 monitor. How can I move the 2nd bar to the other monitor?
from ags.
Maybe am missing something obvious. Sorry if that is the case.
Am I supposed to like offset it via some css or something? I do not know.
from ags.
my bad, forgot to add monitor to the attributes
you have to set the monitor property of a window to a number which is the id of the monitor you want it to appear on
from ags.
ok, got it to work. Thanks
from ags.
I will leave this here in case anyone needs it.
const bar = (monitor) => ({
name: `bar${monitor}`, // make sure its still unique
monitor,
anchor: ['top', 'left', 'right'],
exclusive: true,
child: { /* stuff */ },
monitor,
});
var config = { windows: [bar(0), bar(1), bar(2)] };
from ags.
Related Issues (20)
- greeter example does not work HOT 1
- The option `home' does not exist. HOT 2
- (intermediate value).runAsync is not a function error when running ags HOT 3
- Status Bar lists workspaces out of order HOT 1
- Strange artifacts appear on bar at random HOT 4
- A silly question to set icon
- Existing icon (ex. wireless status icon) can't be written by a custom svg icon HOT 3
- [Issue] AGS v1.8.2 error on startup fin NIXOS unstable CssErrorProvider expected a length / junk at end of value for margin HOT 3
- Curious if it's possible to use clojurescript HOT 1
- Workspaces get stuck sometimes HOT 2
- Wireless network icon doesn't change when it's turned off HOT 3
- Chromium Notifications Show raw HTML HOT 2
- [TypeScript] Compilation fails with bind("volume") in Audio service HOT 9
- MPRIS service `players` occasionally contains incorrect properties with Spotify HOT 1
- Feature request (implemented): allow users to explicitly show or hide windows instead of only allowing toggle
- Typescript Types aren't being (correctly?) recognized HOT 2
- ags fails to build when following the installation guide from the wiki on ubuntu 24.04 HOT 3
- nixos home manager install fail
- [Question] Gif preview HOT 2
- After hyprland crash, getting error: "JS ERROR: Gio.IOErrorEnum: Could not connect: Connection refused" HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ags.