diff options
| author | Leonardo Bishop <me@leonardobishop.com> | 2023-04-21 19:15:55 +0100 |
|---|---|---|
| committer | Leonardo Bishop <me@leonardobishop.com> | 2023-04-21 19:15:55 +0100 |
| commit | 7dd4ecbae50e37a9a86aa76068d6f5fd6a97996d (patch) | |
| tree | 1daab734c92f15ce41832c80e78c55c44cdbde54 /sway/config | |
| parent | 2e67201f4100ecd95e051618c1969348e207408f (diff) | |
Whatever I changed on my steam deck
Diffstat (limited to 'sway/config')
| -rw-r--r-- | sway/config | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sway/config b/sway/config index 153260c..da1f0ff 100644 --- a/sway/config +++ b/sway/config @@ -51,11 +51,20 @@ workspace 3 output $monitor2 # discord workspace 4 output $monitor2 # spotify workspace 5 output $monitor1 # thunderbird +############# +# Windows # +############# + +for_window [app_id="termfloat"] floating enable +for_window [app_id="termfloat"] resize set height 500 +for_window [app_id="termfloat"] resize set width 900 + ############## # Keybinds # ############## bindsym $mod+Return exec $term +bindsym $mod+Shift+Return exec $term --class="termfloat" bindsym $mod+d exec $menu bindsym $mod+Shift+c reload 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' @@ -139,8 +148,8 @@ bindsym $mod+Shift+minus move scratchpad bindsym $mod+minus scratchpad show # Screenshot -bindsym Print exec /usr/share/sway/scripts/grimshot copy area -bindsym $mod+Shift+equal exec /usr/share/sway/scripts/grimshot copy area +bindsym Print exec /usr/share/sway/scripts/grimshot --notify copy area +bindsym $mod+Shift+equal exec /usr/share/sway/scripts/grimshot --notify copy area bindsym $mod+bracketleft exec pactl set-sink-volume @DEFAULT_SINK@ -5% bindsym $mod+bracketright exec pactl set-sink-volume @DEFAULT_SINK@ +5% @@ -172,6 +181,8 @@ exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DE exec swayidle -w \ before-sleep "swaylock" +exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 + # Chromium hotkey fix for_window [app_id="^chrome-.*-.*$"] shortcuts_inhibitor disable |
