393 Commits (f576bcdb8cb3ed1506ad03503815ad159c1c0479)

Author SHA1 Message Date
Brian Ashworth ec65286606 Fix deferred command handling
6 years ago
frsfnrrg 600676688a Free individual criteria in free_config
6 years ago
Drew DeVault db3a363734 Revert "config: free include path on successful load"
6 years ago
Ian Fan 92450883d7 config: free include path on successful load
6 years ago
Ian Fan 011d43746f Add error handling for getting config file size
6 years ago
Ian Fan e6209afcd6 Fix config buffer overflow and logic
6 years ago
Ryan Dwyer 2032f85d94 Simplify transactions by utilising a dirty flag on containers
6 years ago
Alex Xu fbecfc2d35 config.c: fix current_config uninit warning (#2249)
6 years ago
Ian Fan 23c1c26c3f Add get_config message type to ipc
6 years ago
emersion 63b4bf5000
Update for swaywm/wlroots#1126
6 years ago
Dominique Martinet 9f5d539657 config: add a couple of forgotten frees
6 years ago
Dominique Martinet 4eeca10a8a load_config: move NULL path check before first use
7 years ago
Dominique Martinet 8c526bbb03 config include: fix leak on relative include path
7 years ago
Dominique Martinet 0c6149171b read_config: fix leak on error
7 years ago
Drew DeVault acd79e1505 Implement pid->workspace tracking
7 years ago
Ryan Dwyer bb66e6d578 Refactor everything that needs to arrange windows
7 years ago
Brian Ashworth 212e4ef395 Remove strip quoting and fix strncpy-overlap
7 years ago
Brian Ashworth f4870d5432 Fix logic issue in do_var_replacement
7 years ago
Brian Ashworth 067fe9d047 Support runtime var expansion and set at runtime
7 years ago
Dominique Martinet 71ab13f1eb sway/config: fix use-after-free for end of block
7 years ago
Brian Ashworth 8bfa2def88 Address first round of review for generic blocks
7 years ago
Brian Ashworth 51bb9d8573 Support braces on next line for config blocks
7 years ago
Brian Ashworth 7c810dc344 Make command block implementation generic
7 years ago
Ryan Dwyer 00cac22038 Fix crash when using multiple outputs
7 years ago
Ryan Dwyer c9f8d35ca9 Consider floating views when calculating title height
7 years ago
Brian Ashworth 46da1dc32b Implement focus_wrapping
7 years ago
Mattias Eriksson 8fbafbfab5 Idle handling for dpms/lockscreen et al
7 years ago
Ryan Dwyer 497793b5b7 Use reasonable default for font height
7 years ago
Ryan Dwyer 5d6d24e71a Move code for re-arranging after font height change into a common place
7 years ago
Drew DeVault 85396b90fb Fix unfocused.text default
7 years ago
Drew DeVault 58a033d816 Convert border_colors.text to float[4]
7 years ago
Ryan Dwyer 55b307cddf Calculate config->font_height based on existing container titles
7 years ago
Ryan Dwyer b667298a0a Render titles
7 years ago
Ryan Dwyer cb07434913 Remove unnecessary pointers
7 years ago
Ryan Dwyer e67f354333 Implement borders
7 years ago
Tony Crisci e677c5b204 rename seat functions
7 years ago
Drew DeVault 9b38ef950f Implement focus_follows_mouse
7 years ago
Drew DeVault 18173fb5ad Free bar configs on reload and exit
7 years ago
Drew DeVault f26ecd9f58 Merge remote-tracking branch 'origin/wlroots' into swaybar-layers
7 years ago
Tony Crisci dc8c9fbeb6 Revert "Merge pull request #1653 from swaywm/revert-1647-refactor-tree"
7 years ago
Drew DeVault d0c7f66e95
Revert "Refactor tree"
7 years ago
Drew DeVault 569b2bfd5d Move bar config into its own file
7 years ago
Drew DeVault bf7a4cd0eb Add bar configuration commands
7 years ago
Drew DeVault 6836074fed Implement enough IPC for swaybar to work
7 years ago
Tony Crisci 874f009866 move tree includes to their own directory
7 years ago
Drew DeVault b28602aa74 Implement workspaces
7 years ago
Dominique Martinet 6259831d31 commands/reload: remove unimplemented 'load_swaybars' call
7 years ago
Dominique Martinet 5766f426aa config reload: destroy old seat when removed from config
7 years ago
Dominique Martinet 869be4378d commands: add 'reload' command
7 years ago
emersion 0c58673c6a
Merge pull request #1574 from acrisci/config-refactor
7 years ago
Tony Crisci cc3c713889 seat config handler context
7 years ago
Tony Crisci 9e0595f26b input config handler context
7 years ago
Tony Crisci 9f54cd8935 copy config references for input and seat
7 years ago
Dominique Martinet 67985e9031 sway: change all sway_log to wlr_log
7 years ago
Dominique Martinet c83900593d config: add 'set' command
7 years ago
Dominique Martinet 19ddb70a32 fixup free config use free_sway_binding
7 years ago
Dominique Martinet 9a326be7f8 config: leak sanitizer pass
7 years ago
Dominique Martinet f5b33cb4b6 fix typos in comments/messages; add shutting down message
7 years ago
Tony Crisci ba69f06695 binding config
7 years ago
Tony Crisci f4a5a0ead4 put seat and input config in their own files
7 years ago
Tony Crisci 9eecbb5d8a xkb config
7 years ago
Tony Crisci 92fef27eaa basic configuration
7 years ago
Tony Crisci c173d30b92 seat configuration
7 years ago
Tony Crisci 538903bc5a config cleanup
7 years ago
Tony Crisci 163edc5a90 sway input device
7 years ago
Tony Crisci 462a451328 input config
7 years ago
emersion 9aeda82477
Add include command
7 years ago
emersion 90f7f1a0e6
Add minimal config subsystem
7 years ago
Drew DeVault 733993a651 Move everything to sway/old/
7 years ago
Drew DeVault 0c8491f7d0 Initial (awful) pass on xdg shell support
7 years ago
Drew DeVault 7eafcc75f6 Initialize outputs from backend and add to tree
7 years ago
David Hurst ee15068a8f Add scale to merge_output_config
7 years ago
lbonn e7df811f10 Security config: skip hidden files
7 years ago
Calvin Lee 419a1087ac Clean up output command
7 years ago
Calvin Lee 843ad38b3c Implement Tray Icons
8 years ago
johalun 7fef283044 FreeBSD fixes
8 years ago
Drew DeVault 51143a75af Implement no_focus
8 years ago
Tomáš Čech 974be01e83
explicitly ignore unused return value
8 years ago
Calvin Lee cee26500a8 Prevent sway from duplicating on a failed fork
8 years ago
Calvin Lee 2445d27960 Impliment i3-style marks
8 years ago
Jaanus Torp 8306b886e9 Allow also 444 for security file mode
8 years ago
Drew DeVault 9aed9d9359 UnGNUify the codebase
8 years ago
Drew DeVault 74d4f1bec9 Further indentation corrections
8 years ago
Drew DeVault 126ce571da Read configs from /etc/sway/security.d/*
8 years ago
Drew DeVault b10721b89e Add initial support code for new IPC security
8 years ago
Drew DeVault 7c636da8a3 Fix format error
8 years ago
Drew DeVault 36e48fcf8d Update default swaybar command
8 years ago
Drew DeVault 1172566d4e Change how security config is loaded
8 years ago
Drew DeVault 10c8b73075 Handle calloc failures
8 years ago
Drew DeVault d75a747a3d Handle config-related allocation failures
8 years ago
Drew DeVault 4c6c65e70c Handle malloc failures from read_line
8 years ago
Drew DeVault c8dc4925d1 Add IPC security policy command handlers
8 years ago
Drew DeVault e9e1a6a409 Add IPC policy to config
8 years ago
Drew DeVault f23880b1fd Add support for command policies in config file
8 years ago
Drew DeVault 44cc0ef125 Add config related code and initial headers
8 years ago
D.B 3d1b472b83 swap unnecessary function for strndup
8 years ago
D.B 58eb7ac19f change bar colors from char[10] to *char
8 years ago
D.B 39ee0ec552 use urgent_ws color in swaybar if binding_mode is undefined
8 years ago
Michał Winiarski e8d8abfbb5 Add left_handed support for input devices
8 years ago
Mykyta Holubakha 2a24772c4b config: set pango_markup default to false
8 years ago
Ryan Dwyer e4cb4d1b5c Fix swaybar when running on named outputs.
8 years ago
Drew DeVault 416417a54c Reorganize includes
8 years ago
James Murphy 8af49eb696 Avoid dereferencing null configuration
8 years ago
D.B ce98569fbc Handle output disabling during runtime
8 years ago
minus b246799548 fixed uninitialized bar.wrap_scroll
8 years ago
Drew DeVault 11e7ca044c Update hidpi support to latest wlc API
8 years ago
Drew DeVault 6ea02f3064 Initial pass on HiDPI support
8 years ago
minus 50b09937b2 clean up apply_input_config
8 years ago
Drew DeVault 6d971af5c3 Turn swaybg into a shell surface
8 years ago
Zandr Martin 9ecb43ea3b
couple small fixes
9 years ago
Zandr Martin 2298143d09
cleanup + add timeouts for pid_workspace list
9 years ago
Zandr Martin 66caee645c Merge branch 'master' into assign-command
9 years ago
thuck 3710cd6963 Fix segfault when using include with *
9 years ago
Zandr Martin 0f1859ed25 messy, unfinished version
9 years ago
Denis Doria b692a6d31a Initial implementation for floating_maximum_size
9 years ago
Denis Doria 009eaccd42 Clean up not used variables
9 years ago
Denis Doria 0ad7857f90 Included option floating_minimum_size
9 years ago
Denis Doria f1d5b89d3e Initial work for floating view with sane values
9 years ago
Mykyta Holubakha e73dde3b10 Support floating_scroll sideways
9 years ago
Mykyta Holubakha 0c495eecde Remove FSB_GAPS_INNER and FSB_GAPS_OUTER
9 years ago
Mykyta Holubakha 0423c41a0f Implemented configurable floating scroll behavior
9 years ago
Daniel Lockyer b41097c085 sway/config.c: fix double free issue as we need to store path in list
9 years ago
Jasen Borisov de007c9b58 Add input cmd for setting pointer accel profile.
9 years ago
Daniel Lockyer 682efbb7dd sway/config.c: Initialise struct value
9 years ago
Daniel Lockyer e1fa51a152 sway/config.c: Move the wordfree call before the if statement so it is always called
9 years ago
Daniel Lockyer 06986e58b8 sway/config.c: Change to the useful free_cmd_results helper method
9 years ago
Daniel Lockyer 01c2b5f2d6 sway/config.c: move free call to after sway_log
9 years ago
Daniel Lockyer b8722ecd5f sway/config.c: Leading on from cdf017c, we need to free path
9 years ago
Daniel Lockyer e077ebdc72 sway/config.c: res->input is a malloc'ed section which wasn't freed
9 years ago
Daniel Lockyer cdf017ceea sway/config.c: wordexp has a corresponding wordfree which was never used
9 years ago
Daniel Lockyer c225bcacee sway/config.c: config_home is the result of a malloc but was never freed
9 years ago
Mykyta Holubakha 0f1cfdec61 Renamed to pango_markup
9 years ago
Mykyta Holubakha 53b53dd8c2 Added plaintext markup configuration
9 years ago
Mikkel Oscar Lyderik 7be476c115 Add cmds new_window and new_float
9 years ago
Drew DeVault a12850444d New feature: adjust gaps with floating_mod+scroll
9 years ago
Mikkel Oscar Lyderik 5a13cb0ed1 Implement borders
9 years ago
Mikkel Oscar Lyderik 3b05f92f76 Add border <none|normal|toggle|pixel> config
9 years ago
Mikkel Oscar Lyderik 86ea79ea6d Implement parsing of hide_edge_borders
9 years ago
Mikkel Oscar Lyderik da567317ab Make pango: prefix optional for font config
9 years ago
Mikkel Oscar Lyderik e2774aee3c Add default border colors
9 years ago
Mikkel Oscar Lyderik cdc73fd95e Don't try to read config if not a file.
9 years ago
Mikkel Oscar Lyderik 44ea92ea60 Add config path to error msg
9 years ago
Mikkel Oscar Lyderik 71a5350b68 Implement include command
9 years ago
Mikkel Oscar Lyderik 938ff29b7b Gracefully exit when config is not found
9 years ago
Mikkel Oscar Lyderik 2935e24cf5 Implement 'smart_gaps' feature from i3-gaps
9 years ago
Mikkel Oscar Lyderik 67bbcceba1 Free config before exiting sway.
9 years ago
Mikkel Oscar Lyderik e15a8a0376 Improve how swaybars are spawned
9 years ago
Mikkel Oscar Lyderik bad4e22f3b Make sway spawn only one bar per bar config
9 years ago
crondog 0ee5547406 font: Allow adding font to the config. In prep for border titles
9 years ago
Yacine Hmito c487cf71a5 Fix issue #455
9 years ago