Parcourir la Source

~/.config/sway: Run kanshi on restart and add shortcut for it

Lu Stadler 5 ans auparavant
Parent
commit
0765d8f43b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      .config/sway/config

+ 2 - 0
.config/sway/config

@ -35,6 +35,7 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
35 35
#output LVDS-1 dpms off
36 36
37 37
exec kanshi
38
exec_always kanshi
38 39
39 40
### Idle configuration
40 41
#
@ -93,6 +94,7 @@ input type:touchpad events disabled
93 94
94 95
    # Reload the configuration file
95 96
    bindsym $mod+q reload
97
    bindsym $mod+Shift+p exec kanshi
96 98
97 99
    # Exit sway (logs you out of your Wayland session)
98 100
    bindsym $mod+Shift+q 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'