Mikkel Oscar Lyderik
053fb09d1e
Use free_flat_list for simple char* list.
...
No need to reimplement free_flat_list functionality.
9 years ago
Mikkel Oscar Lyderik
2fd7dd64ec
Implement bar option: separator_symbol
9 years ago
Kevin Hamacher
a9f6cd0e17
Make swaybar run without status_command
9 years ago
Kevin Hamacher
ce8b71415f
Make swaybar check command arguments
9 years ago
Drew DeVault
1825cf32bf
Apply color config from swaybar
9 years ago
Drew DeVault
473ac4531f
[swaybar] Get bar config via IPC
9 years ago
Drew DeVault
f80e7364b1
Parse command line in swaybar
9 years ago
Drew DeVault
efff8e5ba5
Merge pull request #335 from mikkeloscar/bar-font
...
Implement bar option: font <font>
9 years ago
Mikkel Oscar Lyderik
9316851715
Implement bar option: font <font>
9 years ago
Drew DeVault
c09af4c165
Merge pull request #336 from mikkeloscar/binding-mode-indicator
...
Implement bar option: binding_mode_indicator <yes|no>
9 years ago
Mikkel Oscar Lyderik
ded8919c69
Implement bar option: binding_mode_indicator <yes|no>
9 years ago
Drew DeVault
916ab81c02
Merge pull request #334 from MonokelPinguin/master
...
fix segfault when doesn't have a trailing '/'
9 years ago
Nicolas Werner
8fae31e96c
fix segfault when doesn't have a trailing '/'
9 years ago
Drew DeVault
87739618ca
Merge pull request #333 from mikkeloscar/free-list
...
Correctly free bindings list
9 years ago
Mikkel Oscar Lyderik
47f4aea9e7
Correctly free bindings list
9 years ago
Drew DeVault
614034b001
Merge pull request #332 from mikkeloscar/bar-output
...
Implement bar option: output <output>
9 years ago
Mikkel Oscar Lyderik
f59f5d27aa
Implement bar option: output <output>
9 years ago
Drew DeVault
5b16b235ad
Merge pull request #329 from mikkeloscar/fix-bar-colors
...
Fix active_workspace_border color definition
9 years ago
Mikkel Oscar Lyderik
05e7334106
Fix active_workspace_border color definition
9 years ago
Drew DeVault
809c251df8
Merge pull request #328 from mikkeloscar/bar-height
...
Add bar height option (Airblader/i3)
9 years ago
Mikkel Oscar Lyderik
6834a33290
Add bar height option (Airblader/i3)
9 years ago
Drew DeVault
432e3310f6
Fix crash from ipc_json_describe_workspace
...
destroying workspace '10'
Error: Signal 11. Printing backtrace
Backtrace: sway(error_handler+0x2f) [0x41478f]
Backtrace: /usr/lib/libc.so.6(+0x33680) [0x7f06d9a99680]
Backtrace: /usr/lib/libc.so.6(strlen+0x2a) [0x7f06d9ae70ca]
Backtrace: /usr/lib/libc.so.6(__strdup+0xe) [0x7f06d9ae6dfe]
Backtrace: /usr/lib/libjson-c.so.2(json_object_new_string+0x39) [0x7f06da01ffe9]
Backtrace: sway(ipc_json_describe_workspace+0xd8) [0x410408]
Backtrace: sway(ipc_event_workspace+0x38) [0x410618]
Backtrace: sway(set_focused_container+0x190) [0x40daf0]
Backtrace: sway(workspace_switch+0x1a1) [0x4142b1]
Backtrace: sway() [0x4096c6]
Backtrace: sway(handle_command+0x178) [0x405eb8]
Backtrace: sway() [0x40e6ee]
Backtrace: /usr/lib/libwlc.so.0(+0x19a1b) [0x7f06da6f0a1b]
Backtrace: /usr/lib/libwlc.so.0(+0x11b0c) [0x7f06da6e8b0c]
Backtrace: /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x72) [0x7f06d9e13242]
Backtrace: /usr/lib/libwayland-server.so.0(wl_display_run+0x25) [0x7f06d9e119a5]
Backtrace: /usr/lib/libwlc.so.0(wlc_run+0xfc) [0x7f06da6fda1c]
Backtrace: sway(main+0x25f) [0x4125cf]
Backtrace: /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7f06d9a86610]
Backtrace: sway(_start+0x29) [0x405bf9]
9 years ago
Drew DeVault
b76acbaf4f
Implement IPC_GET_BAR_CONFIG
9 years ago
Drew DeVault
eb268e8d50
Merge pull request #327 from mikkeloscar/bar-colors
...
Implement bar option: colors {}
9 years ago
Mikkel Oscar Lyderik
de1f625c27
Add rgba support for bar colors
9 years ago
Mikkel Oscar Lyderik
8c1d56812b
Implement bar option: colors {}
9 years ago
Drew DeVault
cfba09a4ac
Merge pull request #326 from mikkeloscar/remove-spaces
...
Remove a couple of unwanted spaces
9 years ago
Mikkel Oscar Lyderik
71a25d5da7
Remove a couple of unwanted spaces
9 years ago
Drew DeVault
242da783f4
Merge pull request #324 from mikkeloscar/free-bar-bindings
...
Free bar->bindings
9 years ago
Drew DeVault
7b0ea051c6
Merge pull request #325 from gpyh/bar_cmd_modifier
...
Added bar_cmd_modifier
9 years ago
Yacine Hmito
0ead9324dc
Added bar_cmd_modifier
9 years ago
Mikkel Oscar Lyderik
95de999922
Free bar->bindings
9 years ago
Drew DeVault
9db15e29b1
Merge pull request #323 from gpyh/bar_cmd_status_command
...
Added bar_cmd_status_command
9 years ago
Yacine Hmito
5786fa7e35
Added bar_cmd_status_command
9 years ago
Drew DeVault
18b4959578
Merge pull request #322 from mikkeloscar/default-bar-config
...
Move default bar config to bar creation.
9 years ago
Mikkel Oscar Lyderik
0513322c03
Move default bar config to bar creation.
...
Get rid of `config->bar` and define the default bar config options when
a bar is initialized.
9 years ago
Drew DeVault
0b5c695d8e
Merge pull request #321 from gpyh/bar_cmds
...
Added bar_cmd_bindsym
9 years ago
Yacine Hmito
87126a9fc2
Added bar_cmd_bindsym
...
Defined a sway_mouse_binding for clicks on the swaybar
9 years ago
Drew DeVault
42a85431ee
Merge pull request #320 from mikkeloscar/configure-mouse-btn2
...
Lookup dragging key when in dragging mode
9 years ago
Drew DeVault
fa0f57cd04
Merge pull request #319 from mikkeloscar/bar-mode
...
Implement bar option: mode <dock|hide|invisible>
9 years ago
Mikkel Oscar Lyderik
82af08d8e9
Lookup dragging key when in dragging mode
...
Fixes bug introduced in 22916e9
where dragging of floating windows was
messed up.
9 years ago
Mikkel Oscar Lyderik
0aeee6963d
Make mouse key used for drag/resize configurable
...
This makes it possible to define what mouse button key (left|right) to
use for dragging/resizing.
9 years ago
Mikkel Oscar Lyderik
0d1eb5553c
Implement bar option: mode <dock|hide|invisible>
9 years ago
Drew DeVault
fc9908a40a
Merge pull request #318 from mikkeloscar/bar-hidden-state
...
Implement bar option: hidden_state <hide|show>
9 years ago
Mikkel Oscar Lyderik
d6cd37d873
Implement bar option: hidden_state <hide|show>
9 years ago
Drew DeVault
966971f07d
Merge pull request #317 from mikkeloscar/bar-id-option
...
Implement bar option: id <custom-id>
9 years ago
Mikkel Oscar Lyderik
401333e7c7
Implement bar option: id <custom-id>
...
If the id is defined by another bar it will just use the default id for
the bar. Typically `bar-x`.
If the id command is used multiple times within a bar block, the last
one will 'win'.
9 years ago
Drew DeVault
2be742d02d
Merge pull request #314 from mikkeloscar/bar-id
...
Add initial support for custom bar-id
9 years ago
Drew DeVault
89025facbf
Merge pull request #316 from Streetwalrus/fglrx
...
Detect proprietary AMD drivers too
9 years ago
Mikkel Oscar Lyderik
2cedf88273
Add bar id to debug logs
9 years ago