Tony Crisci
a82c107c76
80col
7 years ago
Drew DeVault
b2d871cfe2
Partially implement move command
...
Works:
- move [container|window] to workspace <name>
- Note, this should be able to move C_CONTAINER but this is untested
- move [workspace] to output [left|right|up|down|<name>]
Not implemented yet:
- move [left|right|up|down]
- move scratchpad
- move position
7 years ago
Tony Crisci
e677c5b204
rename seat functions
7 years ago
Tony Crisci
b5d49cc4e8
remove default from kill switch
7 years ago
Tony Crisci
e7ecb001d7
reap container parent on destroy
7 years ago
Tony Crisci
7706d83160
basic split containers
7 years ago
Drew DeVault
9b38ef950f
Implement focus_follows_mouse
...
Also contains two other small changes:
- Clicking any button will focus the container clicked (not just left)
- Remove seamless_mouse (doesn't make sense on wlroots)
7 years ago
Drew DeVault
ae6d459000
Implement mouse warping
7 years ago
Drew DeVault
69eb021767
Add default_orientation command
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"
...
This reverts commit 472e81f35d
, reversing
changes made to 6b7841b11f
.
7 years ago
Drew DeVault
d0c7f66e95
Revert "Refactor tree"
7 years ago
Tony Crisci
2778edef97
arrange windows
7 years ago
Drew DeVault
8efee109ad
Implement modes
7 years ago
Drew DeVault
741424c4e7
Clean up imported bar commands
7 years ago
Drew DeVault
849c3515ab
Use statically allocated text buffer
7 years ago
Drew DeVault
8b5b72c576
Restart swaybar on config reload
7 years ago
Drew DeVault
5c9cdbcdd2
Add swaybg_command
7 years ago
Drew DeVault
bf7a4cd0eb
Add bar configuration commands
7 years ago
Tony Crisci
62d1b4cb96
fix container_get_in_direction name
7 years ago
Tony Crisci
eca029f218
more renaming things
7 years ago
Tony Crisci
b90099b4b7
rename container functions
7 years ago
Tony Crisci
874f009866
move tree includes to their own directory
7 years ago
Drew DeVault
68cfa7ef67
Render layer surfaces and respect exclusive zone
7 years ago
Tony Crisci
2154b7c7d6
add config handlers
7 years ago
Tony Crisci
7262bf655f
remove checks for command handlers
7 years ago
Tony Crisci
66d1e0b313
basic layout command
7 years ago
Tony Crisci
a3ae67af4e
basic focus in direction
7 years ago
Tony Crisci
52670c636c
basic focus (without direction)
7 years ago
Tony Crisci
a7d49da239
separate seat get focus and seat get focus inactive
7 years ago
Tony Crisci
5151502298
basic focus overhaul
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
869be4378d
commands: add 'reload' command
7 years ago
Tony Crisci
beb3805cf0
dont allow kill command in config
7 years ago
Tony Crisci
c3fc0d446f
cmd-kill: use sway_assert when no container
7 years ago
Tony Crisci
0e3eae4baa
view interface
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
28b8ea9f1e
cmd_input: cleanup around current_input_config
...
- Restore old one if we weren't part of a block (should be NULL anyway)
- Check current_input_config got properly allocated
- free temporary current_input_config when done using it
7 years ago
Drew DeVault
91313d3847
Merge pull request #1539 from acrisci/bindings
...
Bindings
7 years ago
Tony Crisci
b01a53abfb
Merge branch 'wlroots' into bindings
7 years ago
Tony Crisci
50e791cadb
binding release
7 years ago
emersion
ead3f1e676
Allow to configure outputs by their identifier
7 years ago
Tony Crisci
bd3ca70e3d
fix nitpicks
7 years ago
Tony Crisci
62b7ab3959
overwrite old bindings
7 years ago
emersion
21c61f1c09
Refactor output command, add output enable
7 years ago
Tony Crisci
ba69f06695
binding config
7 years ago
Tony Crisci
5c036a3eac
error on not enough input/seat args for cmd
7 years ago
Tony Crisci
a949d7de5a
Merge branch 'wlroots' into feature/input
7 years ago
Tony Crisci
483ede0146
improve xkb command logging
7 years ago
emersion
c815d6d1a9
Add support for fractional output scale
7 years ago
Tony Crisci
88bcd43ebf
seat fallback config
7 years ago
Tony Crisci
c41801b75e
set keyboard config at runtime
7 years ago
Tony Crisci
b8261ab24b
expect exactly one xkb arg
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
emersion
cba592b3d2
Use strtol instead of atoi in output command
7 years ago
emersion
9254c5a93f
Fail if unknown output subcommand
7 years ago
emersion
4d389f8b65
Replace refresh_rate and position by mode in output command
7 years ago
emersion
d293c42942
Update output container box in event handler
7 years ago
Tony Crisci
c173d30b92
seat configuration
7 years ago
Tony Crisci
538903bc5a
config cleanup
7 years ago
Tony Crisci
462a451328
input config
7 years ago
emersion
4a14aa9ad9
Remove output from layout
7 years ago
emersion
8764dc26c6
Add new_output_config, update root container size on output hotplug
7 years ago
emersion
c25ad5e7c4
Merge branch 'wlroots' into output-config
7 years ago
emersion
68ae989cee
Init, merge output config params, use wlr_output_layout
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
d7d21bb0f8
Add initial command subsystem (untested)
...
Need to spin up the IPC server to test this
7 years ago
Drew DeVault
733993a651
Move everything to sway/old/
7 years ago
Drew DeVault
1efd5f819f
Wire up output frame loop
7 years ago
Drew DeVault
6271abd644
Fix #1291
7 years ago
Drew DeVault
6d83a59b46
Merge pull request #1263 from nyorain/master
...
Implement get_clipboard ipc message
7 years ago
lbonn
6197fff0b4
Fix move to named workspaces
...
The command parsing did not handle workspaces with spaces in their name
(like it's done in `cmd_workspace`)
7 years ago
Calvin Lee
419a1087ac
Clean up output command
...
Plugs memory leaks during failure of the output command and in other
circumstances and fixes `bg` option.
Fixes #1381
7 years ago
Jonas Karlsson
05aeccfca0
Fix issue #1287
...
All variables without a $ prefix lost their last character due to off by one error
7 years ago
Scott Anderson
c29e5bbde8
Use WLC v2 pointer interface
7 years ago
Tobias Blass
566863ba5d
fix use-after-free bug
7 years ago
nyorain
02c75ebe37
Implement ipc get_clipboard
7 years ago
Mykyta Holubakha
4f905ecb96
permit.c: check for NULL pointer dereference
8 years ago
nyorain
60fa626116
Add the 'clipboard' command to set the clipboard
8 years ago
Calvin Lee
843ad38b3c
Implement Tray Icons
...
This commit implements the StatusNotifierItem protocol, and enables
swaybar to show tray icons. It also uses `xembedsniproxy` in order to
communicate with xembed applications.
The tray is completely optional, and can be disabled on compile time
with the `enable-tray` option. Or on runtime with the bar config option
`tray_output none`.
Overview of changes:
In swaybar very little is changed outside the tray subfolder except
that all events are now polled in `event_loop.c`, this creates no
functional difference.
Six bar configuration options were added, these are detailed in
sway-bar(5)
The tray subfolder is where all protocol implementation takes place and
is organised as follows:
tray/sni_watcher.c:
This file contains the StatusNotifierWatcher. It keeps track of
items and hosts and reports when they come or go.
tray/tray.c
This file contains the StatusNotifierHost. It keeps track of
sway's version of the items and represents the tray itself.
tray/sni.c
This file contains the StatusNotifierItem struct and all
communication with individual items.
tray/icon.c
This file implements the icon theme protocol. It allows for
finding icons by name, rather than by pixmap.
tray/dbus.c
This file allows for asynchronous DBus communication.
See #986 #343
8 years ago
johalun
7fef283044
FreeBSD fixes
...
Increase _POSIX_SOURCE value where needed.
Increase _XOPEN_SOURCE value where needed.
Conditionally link to libcap (only on Linux).
Possibly some trailing whitespace fixes (automatic).
8 years ago
Josip Janzic
400998d6d2
Add mouse button bindings
...
Adds support for bindings like:
bindsym button3 floating toggle
bindsym $mod+button3 floating toggle
8 years ago
Zandr Martin
f65a88e68d
prevent crash when `layout auto` is missing args
8 years ago
Drew DeVault
816ceddcbd
Set child border to background if not specified
8 years ago
Drew DeVault
02812a2e4d
Support specifying fewer than 5 colors
...
This doesn't work, I'm not sure why. The color structs definitely get
changed but if you specify fewer than 5, it renders with the defaults.
8 years ago
Drew DeVault
51143a75af
Implement no_focus
...
Ref #2
8 years ago
Vasilij Schneidermann
0f31323659
Use i3's dimensions for initial scratchpad views
...
See https://github.com/i3/i3/blob/master/src/scratchpad.c#L196-L197
8 years ago