Mikkel Oscar Lyderik
c803b79764
Trigger event on bar mode|hidden_state commands
9 years ago
Mikkel Oscar Lyderik
66c66c7304
Implement `barconfig_update` IPC event
9 years ago
Drew DeVault
7b015bf535
Merge pull request #388 from mikkeloscar/bar-commands
...
Handle bar commands outside config file
9 years ago
Mikkel Oscar Lyderik
a96a5e0013
Handle bar commands outside config file
...
Our initial implementation of `bar { }` assumed that the commands could
only be used in the config. This is not true for two commands:
* bar mode
* bar hidden_state
This patch makes it possible to issue these commands outside a bar
block, for instance through swaymsg
$ swaymsg bar mode hide bar-0
This does not implement the `barconfig_update` IPC event which should be
trigged from these commands. I have added TODO's where this should be
added once implemented.
9 years ago
Drew DeVault
9d09f5e391
Merge pull request #387 from mikkeloscar/handle-term-signal
...
swaybar: Correct handling of SIGTERM.
9 years ago
Mikkel Oscar Lyderik
5c8a3afff9
swaybar: Correct handling of SIGTERM.
...
Swaybar did not correctly handle the SIGTERM sent from sway when
exiting, ultimately leaving the child status_command behind.
This should correctly handle the SIGTERM signal and terminate the
status_command.
Fix #386
9 years ago
Drew DeVault
fc71c6303c
Fix default swaybar font
9 years ago
Drew DeVault
5fbecba37a
Merge pull request #381 from sce/fix_gaps
...
Fix gaps
9 years ago
S. Christoffer Eliesen
f4b9c3856a
layout: Fix `edge_gaps off` with top/left panels.
...
Since x/y won't be zero when there's a top or left panel in place, we
need to take those coordinates into account too.
9 years ago
S. Christoffer Eliesen
ce54b4ff2e
container: Fix inner gaps against screen edge.
9 years ago
Drew DeVault
adf5b8fed7
Merge pull request #380 from mikkeloscar/bar-font-support
...
swaybar: Add font support
9 years ago
Mikkel Oscar Lyderik
83eb8d16aa
swaybar: Add font support
9 years ago
Drew DeVault
3082245243
Merge pull request #373 from sce/per_panel_config
...
Per panel config
9 years ago
Drew DeVault
fdb9ce52ef
Merge pull request #378 from mikkeloscar/bar-pixel-perfect
...
swaybar: pixel perfect layout
9 years ago
Drew DeVault
dfc23086fd
Merge pull request #377 from progandy/optional-pixbuf
...
make gdk-pixbuf dependency really optional
9 years ago
Mikkel Oscar Lyderik
d373a193ac
swaybar: pixel perfect layout
...
This should make the bar workspace button layout identical to the layout
used in i3.
9 years ago
progandy
21014e606b
make gdk-pixbuf dependency really optional
9 years ago
Drew DeVault
66554698a0
Update README screenshot
...
The new one has the top cut off, I didn't notice.
9 years ago
Drew DeVault
b171047d82
Merge pull request #369 from crondog/master
...
swaybar: use height from config
9 years ago
Drew DeVault
33fb648938
Merge pull request #372 from sce/fix_swaybar_output_name_test
...
config: load_swaybars: Fix name comparison.
9 years ago
Drew DeVault
702cf053e2
Merge pull request #370 from sce/fix_free_bar
...
config: free_bar: Check if outputs is NULL.
9 years ago
Drew DeVault
05e48835f7
Make some dependencies optional
...
Closes #368
9 years ago
S. Christoffer Eliesen
e45fd9b6c5
extensions: Track panels by wl_resource, position per panel.
...
Track each panel separately via its wl_resource. `set_panel_position`
might be called before `set_panel`, so reuse panel config.
Place the position in panel_config so that each panel has its own
position.
9 years ago
S. Christoffer Eliesen
6db0f6f80f
extensions: panel_config->resource => wl_surface_res.
...
Change the name to something less ambigious.
9 years ago
S. Christoffer Eliesen
6ace37d0b1
config: load_swaybars: Fix name comparison.
9 years ago
S. Christoffer Eliesen
2779559b15
config: free_bar: Check if outputs is NULL.
...
bar_config.outputs is NULL if no output is explicitly defined in config
(ie. use for for all outputs).
9 years ago
crondog
da6cd3cef7
swaybar: use height from config
9 years ago
Drew DeVault
3777c8993b
Merge pull request #366 from mikkeloscar/fix-swaybar-high-cpu
...
swaybar: use select instead of busyloop
9 years ago
Mikkel Oscar Lyderik
bc9b93f597
swaybar: use select instead of busyloop
...
Use of busyloop caused high cpu usage for sway because swaybar had to be
redrawn all the time. By using select instead the bar only has to be
redrawn when the status_command changes (i.e. every second) or when the
workspaces are updated.
Fix #345
9 years ago
Drew DeVault
616ea27e19
Merge pull request #364 from cyberhuman/master
...
Update readme dependency list and build instructions
9 years ago
Raman Varabets
bb4339f62e
Update readme dependency list
9 years ago
Drew DeVault
155fb7a221
Merge pull request #362 from crondog/master
...
swaybar: use position from config
9 years ago
crondog
c8555f5813
swaybar: use position from config
9 years ago
Drew DeVault
859f2fea0c
Just bail if ws_json is fucked up
9 years ago
Drew DeVault
de2f3b393a
Wow that was stupid
9 years ago
Drew DeVault
d1e031025d
I'm still getting crashes without this line
9 years ago
Drew DeVault
3282163f64
Implement compositor support for swaylock
...
This makes swaylock more or less work.
9 years ago
Drew DeVault
eefc93db43
Fix lock extension setup in compositor
9 years ago
Drew DeVault
253efad437
Merge pull request #361 from mikkeloscar/i3bar-command
...
Add support for running swaybar_command
9 years ago
Mikkel Oscar Lyderik
207678e809
Add support for running swaybar_command
9 years ago
Drew DeVault
7647762bab
Fix default workspace name generation
...
This fixes the issue where workspace 10 ends up being the default.
9 years ago
Drew DeVault
2ab4e5676e
Merge pull request #360 from sce/fix_arrange_windows
...
Fix arrange windows
9 years ago
Drew DeVault
f62502e78d
Drop sway-xorg.desktop
9 years ago
Drew DeVault
b9f14cee41
Merge pull request #359 from mikkeloscar/i3bar-command
...
Add bar option: swaybar_command <command>
9 years ago
Mikkel Oscar Lyderik
9d7f1afdfb
Add bar option: swaybar_command <command>
9 years ago
Drew DeVault
6555aad7f9
Merge pull request #358 from mikkeloscar/reload-swaybg-swaybar
...
Reload swaybar/swaybg on config reload.
9 years ago
S. Christoffer Eliesen
f0b3ee6d84
layout: arrange_windows: Partially fix swaybar irregularties.
9 years ago
S. Christoffer Eliesen
0ad5059b6f
layout: arrange_windows: Fix/better debug output.
9 years ago
Mikkel Oscar Lyderik
90ff36cab8
Terminate children when freeing output container
9 years ago
Mikkel Oscar Lyderik
ede27eabc5
Reload swaybar/swaybg on config reload.
...
This works by tracking the pids of the child processes in the related
output container and terminating the processes and spawning new ones on
a config reload.
Should solve: #347
9 years ago