From 7ac3b5366d56ff621b850f195f0bcd50132d15cb Mon Sep 17 00:00:00 2001 From: Alex Denes Date: Tue, 2 Jul 2024 09:17:01 +0000 Subject: [PATCH] Formatting changes and change some keybinds around, remove scratchpad --- config | 35 +++++++++++------------------------ 1 file changed, 11 insertions(+), 24 deletions(-) diff --git a/config b/config index 5f1d3c0..7aeddc0 100644 --- a/config +++ b/config @@ -1,14 +1,16 @@ # Common keys and reusable things -set $mod Mod4 -set $left h -set $down j -set $up k -set $right l +set { + $mod Mod4 + $left h + $down j + $up k + $right l -set $term foot -set $lock 'swaylock -f -c 000000' -set $menu bemenu-run -p spawn --list 30 -W 0.7 --no-exec --scrollbar autohide -c --tb '#CC838C' --tf '#000000' --nb '#000000' --nf '#CC838C' --hb '#CC838C' --hf '#000000' --ab '#101010' --af '#CC838C' --scb '#000000' --scf '#CC838C' | xargs swaymsg exec -- + $term foot + $lock 'swaylock -f -c 000000' + $menu bemenu-run -p spawn --list 30 -W 0.7 --no-exec --scrollbar autohide -c --tb '#CC838C' --tf '#000000' --nb '#000000' --nf '#CC838C' --hb '#CC838C' --hf '#000000' --ab '#101010' --af '#CC838C' --scb '#000000' --scf '#CC838C' | xargs swaymsg exec -- +} floating_modifier $mod normal @@ -22,7 +24,6 @@ bindsym { $mod+Space exec $menu $mod+Ctrl+Shift+l exec $lock $mod+Shift+q reload - #$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' # # Window focus and movement: @@ -60,13 +61,8 @@ bindsym { # Layout stuff: # - #$mod+b splith - #$mod+v splitv - # Switch the current container between different layout styles - $mod+s layout stacking - $mod+w layout tabbed - $mod+e layout toggle split + $mod+t layout tabbed # Make the current focus fullscreen $mod+f fullscreen @@ -74,18 +70,9 @@ bindsym { # Toggle the current focus between tiling and floating mode $mod+Shift+space floating toggle - # Swap focus between the tiling area and the floating area - #$mod+Shift+space focus mode_toggle - # Move focus to the parent container $mod+a focus parent - # - # Scratchpad: - # - $mod+Shift+minus move scratchpad - $mod+minus scratchpad show - # # Modes #