diff options
| author | Alec Goncharow <alec@goncharow.dev> | 2025-05-24 12:32:01 -0400 |
|---|---|---|
| committer | Alec Goncharow <alec@goncharow.dev> | 2025-05-28 16:27:41 -0400 |
| commit | 42300557bf72c5a267cf89b5902cf58eb1ba6b82 (patch) | |
| tree | d67736fb7be49853362796109140fe14bbaf64af /.config/sway | |
| parent | 9047ba4e1b99410a0454d28b2ca62c12440b9476 (diff) | |
beep boop
Diffstat (limited to '.config/sway')
| -rw-r--r-- | .config/sway/config | 38 |
1 files changed, 27 insertions, 11 deletions
diff --git a/.config/sway/config b/.config/sway/config index df19b04..e1f952c 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -37,11 +37,25 @@ bindsym $mod+Shift+q exec --no-startup-id ~/bin/safequit # start dmenu (a program launcher) bindsym $mod+d exec --no-startup-id fuzzel +# QWERTY +set $left h +set $down j +set $up k +set $right l +set $exit e + +# COLEMAK +# set $left n +# set $down e +# set $up u +# set $right i +# set $exit k # change focus -bindsym $mod+n focus left -bindsym $mod+e focus down -bindsym $mod+u focus up -bindsym $mod+i focus right +bindsym $mod+$left focus left +bindsym $mod+$down focus down +bindsym $mod+$up focus up +bindsym $mod+$right focus right + # alternatively, you can use the cursor keys: #bindsym $mod+Left focus left @@ -50,10 +64,10 @@ bindsym $mod+i focus right #bindsym $mod+Right focus right # move focused window -bindsym $mod+Shift+n move left -bindsym $mod+Shift+e move down -bindsym $mod+Shift+u move up -bindsym $mod+Shift+i move right +bindsym $mod+Shift+$left move left +bindsym $mod+Shift+$down move down +bindsym $mod+Shift+$up move up +bindsym $mod+Shift+$right move right # alternatively, you can use the cursor keys: #bindsym $mod+Shift+Left move left @@ -145,7 +159,9 @@ bindsym $mod+Shift+0 move container to workspace $ws10; workspace $ws10 # reload the configuration file bindsym $mod+Shift+c reload -bindsym $mod+Shift+k exec "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway?' -B 'Yes, exit sway' 'swaymsg exit'" +bindsym $mod+Shift+$exit exec "swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway?' -B 'Yes, exit sway' 'swaymsg exit'" + + # resize window (you can also use the mouse for that) mode "resize" { @@ -243,11 +259,11 @@ client.focused_inactive "#23242a" "#2b2b2b" "#888888" "#000000" "#2b2b2b" client.unfocused "#2c2c2c" "#2b2b2b" "#888888" "#000000" "#2c2c2c" # A lock command used in several places -# set $lock_script ~/bin/pretty-lock +set $lock_script ~/bin/pretty-lock # A sleep command used in several places. # We leave a bit of time for locking to happen before putting the system to sleep -# set $sleep $lock_script && sleep 3 && systemctl suspend +set $sleep $lock_script && sleep 3 && systemctl suspend # Triggers a short notification set $notify dunstify --timeout 1500 |
