diff options
| author | c0co.channel <c0co.channel@braincrime.com> | 2025-09-18 01:17:17 +0100 |
|---|---|---|
| committer | c0co.channel <c0co.channel@braincrime.com> | 2025-09-18 01:17:17 +0100 |
| commit | 9715f33cfd7446099ec9e26e075b6a6b1904d0a3 (patch) | |
| tree | 2622dc2fc0964d9c6cfa4ab5d6936d7914ee3440 /dom0 | |
| parent | 276f80db1f6e268102497aeda969dab6b98e2ebb (diff) | |
Add keybinds for grimshot, swaylock to sway config
Diffstat (limited to 'dom0')
| -rw-r--r-- | dom0/files/misc-config/sway-config | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/dom0/files/misc-config/sway-config b/dom0/files/misc-config/sway-config index 60e6eed..4f0b60c 100644 --- a/dom0/files/misc-config/sway-config +++ b/dom0/files/misc-config/sway-config @@ -9,10 +9,10 @@ # Logo key. Use Mod1 for Alt. set $mod Mod4 # Home row direction keys, like vim -set $left h -set $down j -set $up k -set $right l +#set $left h +#set $down j +#set $up k +#set $right l # Your preferred terminal emulator set $term foot # Your preferred application launcher @@ -91,10 +91,10 @@ exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY # Moving around: # # Move your focus around - bindsym $mod+$left focus left - bindsym $mod+$down focus down - bindsym $mod+$up focus up - bindsym $mod+$right focus right + #bindsym $mod+$left focus left + #bindsym $mod+$down focus down + #bindsym $mod+$up focus up + #bindsym $mod+$right focus right # Or use $mod+[up|down|left|right] bindsym $mod+Left focus left bindsym $mod+Down focus down @@ -102,10 +102,10 @@ exec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY bindsym $mod+Right focus right # Move the focused window with the same, but add Shift - bindsym $mod+Shift+$left move left - bindsym $mod+Shift+$down move down - bindsym $mod+Shift+$up move up - bindsym $mod+Shift+$right 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 # Ditto, with arrow keys bindsym $mod+Shift+Left move left bindsym $mod+Shift+Down move down @@ -183,10 +183,10 @@ mode "resize" { # right will grow the containers width # up will shrink the containers height # down will grow the containers height - bindsym $left resize shrink width 10px - bindsym $down resize grow height 10px - bindsym $up resize shrink height 10px - bindsym $right resize grow width 10px + #bindsym $left resize shrink width 10px + #bindsym $down resize grow height 10px + #bindsym $up resize shrink height 10px + #bindsym $right resize grow width 10px # Ditto, with arrow keys bindsym Left resize shrink width 10px @@ -211,7 +211,9 @@ bindsym $mod+r mode "resize" bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ # Special key to take a screenshot with grim - bindsym Print exec grim + bindsym $mod+p exec grimshot copy area + # swaylock + bindsym $mod+l exec swaylock # # Status Bar: |
