Comments (2)
I had this in mind for some time now and this would be a good oportunity to refactor the bar_manager
and bar
code.
From the technical point of view this is all very simple, the hard part is to come up with a proper configuration syntax for this.
Obviously, the current configuration syntax should not be affected by this addition so it would need to be a command prefix.
Maybe something like:
sketchybar --bar <property>=<value> ... <property>=<value>
sets properties for the bar globally (as it is now), while
sketchybar --display <positive_integer list> --bar <property>=<value> ... <property>=<value>
would set the properties for the specified displays only.
Problem with this is that it looks as if it is a global display select and should therefore also work for items, e.g.
sketchybar --display <positive_integer list> --set name <property>=<value> ... <property>=<value>
should also only change the item properties on a specific display.
This would require significant modifications to the bar_item
logic as well.
And when exposing a --display
selector one could go even further and provide a --space
selector as well, which should work for both the --bar
and --set
domains.
I will think about this some more but I like the idea so far. Any further ideas/considerations for this syntax addition?
from sketchybar.
This is a top-down, organized structure, which is a brilliant idea. I am eagerly looking forward to it.
from sketchybar.
Related Issues (20)
- Add feature for TeXLive Manager and outdated packages
- [Bug] A space tracking error after quitting a full-screen application
- why arent the icons appearing ? HOT 1
- Gradient support for element color HOT 2
- Issue with multiple displays HOT 4
- Mention $BAR_NAME in "config/events" docs environment variable section
- mouse.scrolled Incompatible with Scroll Smoothing App
- brew services making error 19968 on my mac HOT 1
- Help with scroll_text HOT 1
- Icon separation HOT 1
- how to run sketchybar on startup HOT 1
- add service managment into sketchybar like yabai HOT 1
- Mac personalizations
- [Featuee Request] Adding an item with before/after specific items
- Background aware font setup HOT 4
- front_app_switched event firing multiple times HOT 8
- [help]get some errors in the time display HOT 1
- Bar flickering issue on space change when "sticky=on" and "Reduce Moution" is on HOT 1
- bracket border not showing HOT 3
- bar hidden = off disables important event 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 sketchybar.