diff options
Diffstat (limited to 'home/.config/sway/additional.d')
-rw-r--r-- | home/.config/sway/additional.d/desktop | 10 | ||||
-rw-r--r-- | home/.config/sway/additional.d/laptop | 5 | ||||
-rw-r--r-- | home/.config/sway/additional.d/lock | 2 |
3 files changed, 17 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 +} diff --git a/home/.config/sway/additional.d/laptop b/home/.config/sway/additional.d/laptop new file mode 100644 index 0000000..e9de740 --- /dev/null +++ b/home/.config/sway/additional.d/laptop @@ -0,0 +1,5 @@ +# Backlight brightness +bindsym --locked --to-code $mod+BracketLeft exec brightnessctl s +5% +bindsym --locked --to-code $mod+Apostrophe exec brightnessctl s 5%- +bindsym --locked --to-code $mod+Shift+BracketLeft exec brightnessctl s 100% +bindsym --locked --to-code $mod+Shift+Apostrophe exec brightnessctl s 50% diff --git a/home/.config/sway/additional.d/lock b/home/.config/sway/additional.d/lock new file mode 100644 index 0000000..2a1821b --- /dev/null +++ b/home/.config/sway/additional.d/lock @@ -0,0 +1,2 @@ +# Lock +bindsym $mod+l exec swaylock --image ~/.selfconfigs/sway/lock.png |