From 0221492f62bcc1b766c2a4d5dbe26f6ff2ed8bc2 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sun, 14 Apr 2024 06:38:49 +0200 Subject: squashed init --- home/.config/sway/additional.d/desktop | 10 ++++++++++ home/.config/sway/additional.d/laptop | 5 +++++ home/.config/sway/additional.d/lock | 2 ++ 3 files changed, 17 insertions(+) create mode 100644 home/.config/sway/additional.d/desktop create mode 100644 home/.config/sway/additional.d/laptop create mode 100644 home/.config/sway/additional.d/lock (limited to 'home/.config/sway/additional.d') 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 -- cgit v1.2.3-70-g09d2