575 Commits (876687000d4de503cdb01fcd8fa14f1b05dd9a1e)

Author SHA1 Message Date
Dominique Martinet 869be4378d commands: add 'reload' command
7 years ago
Tony Crisci 5505d84ac2 criteria cleanup
7 years ago
Tony Crisci 1156523ccf run all commands with focused container context
7 years ago
Tony Crisci 6a1d71b8b8 basic command criteria
7 years ago
Tony Crisci c353e01c85 add kill command
7 years ago
Tony Crisci cc3c713889 seat config handler context
7 years ago
Tony Crisci 9e0595f26b input config handler context
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 f5b33cb4b6 fix typos in comments/messages; add shutting down message
7 years ago
Dominique Martinet afca73b6fc apply_input_config: restore previous `current_input_config`
7 years ago
Tony Crisci ba69f06695 binding config
7 years ago
Tony Crisci 88bcd43ebf seat fallback config
7 years ago
Tony Crisci f16aa3c0ad rename config apply cmds
7 years ago
Tony Crisci 9fa70ce426 Merge branch 'wlroots' into feature/input
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 163edc5a90 sway input device
7 years ago
Tony Crisci 462a451328 input config
7 years ago
emersion c25ad5e7c4
Merge branch 'wlroots' into output-config
7 years ago
emersion aaae59026f
Add output config
7 years ago
emersion 9aeda82477
Add include command
7 years ago
emersion 90f7f1a0e6
Add minimal config subsystem
7 years ago
emersion 514c819ff9
Add exec and exec_always commands
7 years ago
Drew DeVault b379b40071 Invoke command handlers once parsed
7 years ago
Drew DeVault d7d21bb0f8 Add initial command subsystem (untested)
7 years ago
Drew DeVault 733993a651 Move everything to sway/old/
7 years ago
Drew DeVault 7c448b4081 Fire up the wlroots backend and run the event loop
7 years ago
lbonn b2d4caf6c3 commands: fail when criteria match nothing
7 years ago
Mykyta Holubakha 7d8a84b587
Do not add empty policies
8 years ago
nyorain 60fa626116 Add the 'clipboard' command to set the clipboard
8 years ago
Calvin Lee 843ad38b3c Implement Tray Icons
8 years ago
johalun 7fef283044 FreeBSD fixes
8 years ago
Drew DeVault 02812a2e4d Support specifying fewer than 5 colors
8 years ago
Drew DeVault 51143a75af Implement no_focus
8 years ago
Jerzi Kaminsky cf5e764c7f Disambiguate get_*_policy() and get_*_policy_mask()
8 years ago
Calvin Lee 069d37f987 Improve criteria handling
8 years ago
Calvin Lee 2445d27960 Impliment i3-style marks
8 years ago
Zandr Martin b507462d1c
Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliases
8 years ago
Drew DeVault 9aed9d9359 UnGNUify the codebase
8 years ago
Zandr Martin 18450dd16a
deprecate new_window and new_float commands
8 years ago
Drew DeVault eabfb6c559 Add * policies and fix bug
8 years ago
Drew DeVault 7784f1a905 Handle allocation failures in security code
8 years ago
Drew DeVault 8cef81d6f2 Handle some more memory allocation failures
8 years ago
Drew DeVault 248df18c24 Handle allocation failure in commands
8 years ago
Drew DeVault e7a764fdf4 Disallow everything by default
8 years ago
Drew DeVault d353da248b Add ipc connection feature policy controls
8 years ago
Drew DeVault c8dc4925d1 Add IPC security policy command handlers
8 years ago
Drew DeVault 39cf9a82f7 Enforce command policies
8 years ago
Drew DeVault f23880b1fd Add support for command policies in config file
8 years ago
Drew DeVault 76cab04b4d Implement permit and reject commands
8 years ago
D.B 58eb7ac19f change bar colors from char[10] to *char
8 years ago
D.B ad4d21d60b add bar colours for focused_(workspace|statusline|separator)
8 years ago
Michał Winiarski e8d8abfbb5 Add left_handed support for input devices
8 years ago
D.B 746345e3b8 reorder cmd_handler arrays for bsearch
8 years ago
D.B d3f5ac8cbb add force_focus_wrapping option
8 years ago
Zandr Martin 511eed90cd
squash commits, move enum into resize.c
8 years ago
Zandr Martin 79ffea328c
Merge branch 'master' of git://github.com/SirCmpwn/sway into commands-refactor
8 years ago
Zandr Martin b374c35758
refactor commands.c
8 years ago
Drew DeVault 416417a54c Reorganize includes
8 years ago
Guillaume Brogi 6173c84117 Rerender after every split command
8 years ago
D.B 61781bbef0 Fix container move when workspace is focused
9 years ago
D.B 132017d242 Fix 'workspace back_and_forth' and workspace_auto_back_and_forth clash
9 years ago
Drew DeVault 2d907ef1f6 Merge pull request #811 from acrisci/feature/focus-container
9 years ago
Zandr Martin b18c169036
cache floating container size when fullscreening
9 years ago
Tony Crisci b39249508f Refactor functions to update container borders
9 years ago
D.B 9977b01928 Update container geometry on layout switch
9 years ago
Zandr Martin 98aa59fdda
implement solid color rendering for swaybg
9 years ago
Drew DeVault 11e7ca044c Update hidpi support to latest wlc API
9 years ago
Drew DeVault 6ea02f3064 Initial pass on HiDPI support
9 years ago
Drew DeVault ee67c5bee3 Merge pull request #791 from acrisci/feature/focus-child
9 years ago
D.B 33c1df38bd Close all focused container's child views on kill
9 years ago
Tony Crisci 88b7cbe314 Implement `focus child` command
9 years ago
Tony Crisci 0d461ad988 Put ipc command result json in an array
9 years ago
Mykyta Holubakha 976e48d79f Initial work on window events
9 years ago
David Eklov d9eb49f3b1 Add missing entry to list of accepted arguments for the move command
9 years ago
David Eklov d202ca2fd7 Do not crash when handling the command 'move position'
9 years ago
Drew DeVault 3bb880bf20 Implement configurable wrapping on bar ws scroll
9 years ago
D.B ad7605675e refactor swayc_tabbed_stacked_parent into _ancestor and _parent and use where needed
9 years ago
D.B ee67cd0ba1 Fix tabbed/stacked corner case #742
9 years ago
Zandr Martin d5e4fff345
resize command updates (#713)
9 years ago
Zandr Martin aced6daa19
match i3 syntax for `resize set`
9 years ago
Drew DeVault 71f710cf0f Minor fix to warning messages
9 years ago
Zandr Martin 889618d3ee
implement resize command for absolute dimensions
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
Zandr Martin b00feb25ea
trigger bg change on config reload
9 years ago
Zandr Martin 0f1859ed25 messy, unfinished version
9 years ago
Denis Doria 3c3e98b1a3 Merge branch 'master' into variables_corner_cases
9 years ago
Zandr Martin 3746542462 add documentation for client commands
9 years ago
Denis Doria 29eb3bf746 Put w to uppercase just to keep consistency between warnings
9 years ago
Denis Doria bf2298e0a5 Includes $ for variables without it
9 years ago
thuck f55b5a4982 Fix identation issue
9 years ago
thuck e4f80877be Fix output command when varible not set
9 years ago
thuck 1ab3e1023e Including error message when variable do not start with $
9 years ago
Denis Doria b692a6d31a Initial implementation for floating_maximum_size
9 years ago
Denis Doria 0ad7857f90 Included option floating_minimum_size
9 years ago
Drew DeVault 3b1c125e18 Remove bar position left:right from docs
9 years ago
Zandr Martin d291a29f30 enforce workspace output assignents
9 years ago
Zandr Martin 7df38ce9da remove alphabetic sorting from sort_workspaces
9 years ago
Mykyta Holubakha 16dc31f33b Concatenate output cmd args, fixes #654
9 years ago
Mykyta Holubakha e73dde3b10 Support floating_scroll sideways
9 years ago
Mikkel Oscar Lyderik c80ad015ff Prevent changing layout when focusing float window
9 years ago
Mykyta Holubakha 500ee0a731 Allow to set relative path for wallpapers in config
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
Raman Varabets a9123c38b2 fix a typo (horiziontal -> horizontal)
9 years ago
Eric Engestrom e53ba08626 sway: fix potential buffer overflow
9 years ago
Jasen Borisov de007c9b58 Add input cmd for setting pointer accel profile.
9 years ago
Daniel Lockyer 5a7099eee0 sway/commands.c: add some free calls to release allocated memory
9 years ago
Drew DeVault 3be3867474 Fix oversight in ebdce71
9 years ago
Drew DeVault ebdce719b4 Fix -Wunused-result problems
9 years ago
Mikkel Oscar Lyderik 1fb9489032 Fix bindcode by offsetting xkb keycode by 8
9 years ago
Mikkel Oscar Lyderik 6c7ed7e7cb Add title to nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik 3e1f78ab26 Add support for nested tabbed/stacked containers
9 years ago
Mikkel Oscar Lyderik e226b20bd8 Reapply prev layout when exiting tabbed/stacked
9 years ago
Mikkel Oscar Lyderik d26658fb35 Correctly determine default layout
9 years ago
Mikkel Oscar Lyderik 8d700fe008 Fix problems with floating windows
9 years ago
Mikkel Oscar Lyderik ec7ff769c7 Tabbed and stacked layout
9 years ago
Mykyta Holubakha 09d69f606a Renamed pango_markup config options
9 years ago
Mykyta Holubakha 0f1cfdec61 Renamed to pango_markup
9 years ago
Mykyta Holubakha 53b53dd8c2 Added plaintext markup configuration
9 years ago
Kevin Hamacher b6e2b6add9 Add border color commands
9 years ago
Eric Engestrom 3e8081514d Fix spelling mistakes
9 years ago
Mikkel Oscar Lyderik 7be476c115 Add cmds new_window and new_float
9 years ago
Mikkel Oscar Lyderik 63474aa04d Make pango: optional for bar font
9 years ago
Drew DeVault 4bf10d7771 Merge pull request #551 from mikkeloscar/window-borders
9 years ago
Mikkel Oscar Lyderik 948c594132 Allow surrounding spaces in mode name
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
Drew DeVault eacf3d0396 Loosen restrictions on commands, update docs
9 years ago
Mikkel Oscar Lyderik b5f34cc27d Load correct config on reload
9 years ago
Mikkel Oscar Lyderik 71a5350b68 Implement include command
9 years ago
Drew DeVault ca400e84f5 Merge pull request #525 from mikkeloscar/fix-clang-warning
9 years ago
Mikkel Oscar Lyderik c1f91c4f5e Use correct type for keycode
9 years ago
Mikkel Oscar Lyderik 2935e24cf5 Implement 'smart_gaps' feature from i3-gaps
9 years ago
Mikkel Oscar Lyderik 8c7bdfc004 Allow legal non-x11 keycodes
9 years ago
Mikkel Oscar Lyderik 9a04f9d8d6 Add config option workspace_layout
9 years ago
Mikkel Oscar Lyderik 99f26c61a5 Don't strip quotes from exec args
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
Mikkel Oscar Lyderik 5e253fdd9a Correctly exit sway on errors.
9 years ago
Mikkel Oscar Lyderik 739ba902e0 Prevent crash when showing scratchpad on new ws.
9 years ago
Mikkel Oscar Lyderik be6455b295 Squash trailing whitespace
9 years ago
Mikkel Oscar Lyderik bacd40d6db Fix clang warnings
9 years ago
crondog 7916eb70b9 commands: move position mouse
9 years ago
crondog 0ee5547406 font: Allow adding font to the config. In prep for border titles
9 years ago
Mikkel Oscar Lyderik 32ae26e519 Add quotes to multiword arguments.
9 years ago
Drew DeVault a416715372 Revert "s/numlen/log10/g"
9 years ago
Drew DeVault 038bb8cc7c s/numlen/log10/g
9 years ago
Quentin Glidic 449617f104 commands: Fix memory allocation in assign
9 years ago
Quentin Glidic 43483d8fee commands: Fix usage of arrow in assign
9 years ago
Mikkel Oscar Lyderik ac740271a5 Strip stray whitespace
9 years ago
Cole Mickens 28081b7689 libinput
9 years ago
crondog 81caf89ff8 cmd_assign
9 years ago
Mikkel Oscar Lyderik 0ba3f08f52 Strip quotes from workspace name v2
9 years ago
Mikkel Oscar Lyderik fc8e5703a5 Strip quotes of each argv when handling command
9 years ago
Mikkel Oscar Lyderik 222f0d44fc Strip quotes from workspace name.
9 years ago
Mikkel Oscar Lyderik f8b260d4a1 Add support for bincode command
9 years ago
Mikkel Oscar Lyderik cb8ac7fd4a Unescape string after doing var replacement
9 years ago
Mikkel Oscar Lyderik 55f63935ab Implement bindsym --release
9 years ago
Drew DeVault 8f5de70c93 Merge pull request #434 from mikkeloscar/detect-modifier
9 years ago
Mikkel Oscar Lyderik 843e2ad2c1 Only send modifier event once for active modifiers
9 years ago
Mikkel Oscar Lyderik 95e0f44c73 Move modifier name table to common/util.c
9 years ago
Mikkel Oscar Lyderik c20c63b677 Send IPC modifier event on bar_modifier up/down
9 years ago
crondog b755fd073e Return focus to fullscreen view
9 years ago
Mikkel Oscar Lyderik aa2f754c64 swaybar: Implement binding_mode_indicator
9 years ago
crondog 397b58e88f split toggle
9 years ago
crondog 596c4d9428 Dont try and fullscreen a workspace with no views
9 years ago
Mikkel Oscar Lyderik 16b8c2e915 Handle SIGTERM sent to sway
9 years ago
Drew DeVault 8a22ac3966 Initialize id, part two
9 years ago
Drew DeVault 7c06ef35de Initialize ID
9 years ago
Drew DeVault 91c102a897 Merge pull request #393 from robotanarchy/musl-libc-compatibility
9 years ago
robotanarchy c3e9ee5e43 replace non-standard qsort_r with qsort
9 years ago
Mikkel Oscar Lyderik c803b79764 Trigger event on bar mode|hidden_state commands
9 years ago
Mikkel Oscar Lyderik a96a5e0013 Handle bar commands outside config file
9 years ago
Drew DeVault 7647762bab Fix default workspace name generation
9 years ago
Drew DeVault b9f14cee41 Merge pull request #359 from mikkeloscar/i3bar-command
9 years ago
Mikkel Oscar Lyderik 9d7f1afdfb Add bar option: swaybar_command <command>
9 years ago
Mikkel Oscar Lyderik ede27eabc5 Reload swaybar/swaybg on config reload.
9 years ago
progandy 8f1ac1ef2c sway: enable workspace selection by number
9 years ago
Drew DeVault 60c204a09b Invoke swaybar when an output matches a bar config
9 years ago
Mikkel Oscar Lyderik 2fd7dd64ec Implement bar option: separator_symbol
9 years ago
Drew DeVault efff8e5ba5 Merge pull request #335 from mikkeloscar/bar-font
9 years ago
Mikkel Oscar Lyderik 9316851715 Implement bar option: font <font>
9 years ago
Mikkel Oscar Lyderik ded8919c69 Implement bar option: binding_mode_indicator <yes|no>
9 years ago
Mikkel Oscar Lyderik f59f5d27aa Implement bar option: output <output>
9 years ago
Mikkel Oscar Lyderik 6834a33290 Add bar height option (Airblader/i3)
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
Mikkel Oscar Lyderik 71a25d5da7 Remove a couple of unwanted spaces
9 years ago
Drew DeVault 7b0ea051c6 Merge pull request #325 from gpyh/bar_cmd_modifier
9 years ago
Yacine Hmito 0ead9324dc Added bar_cmd_modifier
9 years ago
Drew DeVault 9db15e29b1 Merge pull request #323 from gpyh/bar_cmd_status_command
9 years ago
Yacine Hmito 5786fa7e35 Added bar_cmd_status_command
9 years ago
Mikkel Oscar Lyderik 0513322c03 Move default bar config to bar creation.
9 years ago
Yacine Hmito 87126a9fc2 Added bar_cmd_bindsym
9 years ago