summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorryukamish <[email protected]>2026-06-08 12:46:27 +0530
committerryukamish <[email protected]>2026-06-08 12:46:27 +0530
commit3eea02181b54cf6c60f2bc9977831015643d386b (patch)
treeebb1202fad38f0110e4d41f18ec9bf94a8598190 /.config
parent52a6a356d53d98f3b2f1757a77c43c08a741a1fa (diff)
add: keybinds for various quality of life features
Diffstat (limited to '.config')
-rw-r--r--.config/sway/config11
1 files changed, 5 insertions, 6 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 28d559a..a1a0713 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -104,7 +104,7 @@ bindsym $mod+Shift+b exec /usr/bin/firefox
bindsym $mod+Shift+c reload
# Power menu
-bindsym $mod+p exec /usr/local/bin/sway-power
+bindsym $mod+p exec ~/.local/bin/sway-power
# Recall last notifications
bindsym $mod+grave exec makoctl restore
@@ -202,11 +202,11 @@ bindsym $mod+r mode "resize"
# Switch to previous workspace
bindsym $mod+bracketleft workspace prev
-bindcode --whole-window 275 workspace prev
+bindcode --whole-window $mod+275 workspace prev
# Switch to next workspace
bindsym $mod+bracketright workspace next
-bindcode --whole-window 276 workspace next
+bindcode --whole-window $mod+276 workspace next
# Split view horizontally
bindsym $mod+equal slith
@@ -244,9 +244,8 @@ bindsym --locked XF86AudioStop exec playerctl stop
# Special keys to adjust brightness via brightnessctl
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 --locked $mod+XF86MonBrightnessDown exec ddcutil setvcp 10 - 5
+bindsym --locked $mod+XF86MonBrightnessUp exec ddcutil setvcp 10 + 5
# === Clipboard ===