Stream in some stuff from the default sway conf
- Use the default exit Sway command instead of my hacked one - Add scratchpad controls - Add the execs to make dbus environment work
This commit is contained in:
parent
333cc2ea6b
commit
9bc75de3ff
1 changed files with 10 additions and 1 deletions
|
@ -163,7 +163,11 @@ bindsym $mod+Shift+0 move container to workspace $ws10
|
|||
# reload the configuration file
|
||||
bindsym $mod+Shift+c reload
|
||||
# exit sway (logs you out of your X session)
|
||||
bindsym $mod+Shift+e exec "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your X session.' -B 'Yes, exit' 'sway-msg exit'"
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||
|
||||
# Cycle windows in and out of scratchpad
|
||||
bindsym $mod+Shift+minus move scratchpad
|
||||
bindsym $mod+minus scratchpad show
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
|
@ -211,3 +215,8 @@ input * {
|
|||
accel_profile "flat"
|
||||
pointer_accel 0.0
|
||||
}
|
||||
|
||||
# Execute dbus environment stuff
|
||||
# This makes the user keychain work among other things
|
||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
|
||||
exec hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP
|
||||
|
|
Loading…
Add table
Reference in a new issue