From 9715f33cfd7446099ec9e26e075b6a6b1904d0a3 Mon Sep 17 00:00:00 2001 From: "c0co.channel" Date: Thu, 18 Sep 2025 01:17:17 +0100 Subject: Add keybinds for grimshot, swaylock to sway config --- dom0/files/misc-config/sway-config | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'dom0/files') 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: -- cgit v1.2.3