summaryrefslogtreecommitdiff
path: root/home/.config/sway/additional.d/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/sway/additional.d/desktop')
-rw-r--r--home/.config/sway/additional.d/desktop10
1 files changed, 10 insertions, 0 deletions
diff --git a/home/.config/sway/additional.d/desktop b/home/.config/sway/additional.d/desktop
new file mode 100644
index 0000000..a7cf60c
--- /dev/null
+++ b/home/.config/sway/additional.d/desktop
@@ -0,0 +1,10 @@
+# Backlight brightness
+bindsym --locked --to-code $mod+BracketLeft exec ddcutil -d 1 setvcp 10 + 5
+bindsym --locked --to-code $mod+Apostrophe exec ddcutil -d 1 setvcp 10 - 5
+bindsym --locked --to-code $mod+Shift+BracketLeft exec ddcutil -d 1 setvcp 10 100
+bindsym --locked --to-code $mod+Shift+Apostrophe exec ddcutil -d 1 setvcp 10 50
+
+input type:pointer {
+ accel_profile "flat"
+ pointer_accel 0.15
+}