From f148ab1559cbb4e0e46e05f8d151f74f64adb359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Wed, 11 Mar 2026 14:20:56 +0100 Subject: [PATCH 1/8] fix(sway): config typos --- sway/config.d/50-keybind.conf | 4 ++-- sway/config.d/80-autostart.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sway/config.d/50-keybind.conf b/sway/config.d/50-keybind.conf index d8c8871..1f4711e 100644 --- a/sway/config.d/50-keybind.conf +++ b/sway/config.d/50-keybind.conf @@ -10,7 +10,7 @@ bindsym $mod+u exec $lockscreen bindsym $mod+Shift+Ctrl+Alt+space exec 1password --quick-access bindsym Print exec flameshot gui -# programs' +# window bindsym $mod+Shift+q kill # move focus @@ -85,7 +85,7 @@ bindsym --locked XF86AudioLowerVolume exec pamixer -d 5 && pamixer --get-volume bindsym --locked XF86AudioRaiseVolume exec pamixer -i 5 && pamixer --get-volume > $wobs bindsym --locked F16 exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle -# xf86-brightnes +# xf86-brightness bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ # xf86-audio diff --git a/sway/config.d/80-autostart.conf b/sway/config.d/80-autostart.conf index e1cf8dc..38113d5 100644 --- a/sway/config.d/80-autostart.conf +++ b/sway/config.d/80-autostart.conf @@ -1,4 +1,4 @@ -# deamon +# daemon exec swayidle -w exec wlsunset -l 46.1 -L 14.5 exec rm -f $wobs \ From d4c4d21916f514d00b309b1289a7f7636ca3b1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Wed, 11 Mar 2026 14:21:57 +0100 Subject: [PATCH 2/8] chore: blame ignore f148ab1559cbb4e0e46e05f8d151f74f64adb359 --- .git-blame-ignore-revs | 2 ++ .gitignore | 8 ++++++++ 2 files changed, 10 insertions(+) create mode 100644 .git-blame-ignore-revs diff --git a/.git-blame-ignore-revs b/.git-blame-ignore-revs new file mode 100644 index 0000000..0e2b3f7 --- /dev/null +++ b/.git-blame-ignore-revs @@ -0,0 +1,2 @@ +# typos +f148ab1559cbb4e0e46e05f8d151f74f64adb359 diff --git a/.gitignore b/.gitignore index 8881dcd..bfabfe3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ # allowed misc files !.gitmodules !.gitignore +!.git-blame-ignore-revs !README.md # allow some stuff to be pushed @@ -60,6 +61,13 @@ swaylock/* swayidle/* !swayidle/config +# waybar +!waybar +waybar/* +!waybar/config.jsonc +!waybar/style.css +!waybar/cider.sh + # bin !bin bin/* From 5c877bca5a8b0907e1181258083f57990fb6dfef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Wed, 11 Mar 2026 14:32:39 +0100 Subject: [PATCH 3/8] chore(sway): always use pamixer instead of pactl --- sway/config.d/50-keybind.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sway/config.d/50-keybind.conf b/sway/config.d/50-keybind.conf index 1f4711e..3574de8 100644 --- a/sway/config.d/50-keybind.conf +++ b/sway/config.d/50-keybind.conf @@ -80,10 +80,10 @@ bindsym $mod+Shift+minus move scratchpad bindsym $mod+minus scratchpad show # xf86-volume -bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle +bindsym --locked XF86AudioMute exec pamixer -t && pamixer --get-volume > $wobs bindsym --locked XF86AudioLowerVolume exec pamixer -d 5 && pamixer --get-volume > $wobs bindsym --locked XF86AudioRaiseVolume exec pamixer -i 5 && pamixer --get-volume > $wobs -bindsym --locked F16 exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle +bindsym --locked F16 exec pamixer --default-source -t # xf86-brightness bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- From 1edb0ebdf31fb32b62ce5d43fcf8caa4b9ffe5c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Wed, 11 Mar 2026 14:35:01 +0100 Subject: [PATCH 4/8] feat(sway): add inhibit idle for fullscreen --- sway/config.d/60-window-rule.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sway/config.d/60-window-rule.conf b/sway/config.d/60-window-rule.conf index 8d5efd1..d400226 100644 --- a/sway/config.d/60-window-rule.conf +++ b/sway/config.d/60-window-rule.conf @@ -16,3 +16,7 @@ assign [class="Rocket.Chat"] workspace 8 # rules for_window [class="net-runelite.*"] floating enable no_focus [class="net-runelite.*"] + +# idle +for_window [app_id=".*"] inhibit_idle fullscreen +for_window [class=".*"] inhibit_idle fullscreen From 0ba3a0d56f006424e8caf110cced7f3a245bcbb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Wed, 11 Mar 2026 14:35:21 +0100 Subject: [PATCH 5/8] feat(swayidle): lock on loginctl lock-session --- swayidle/config | 1 + 1 file changed, 1 insertion(+) diff --git a/swayidle/config b/swayidle/config index 6864945..5f92319 100644 --- a/swayidle/config +++ b/swayidle/config @@ -1,3 +1,4 @@ +lock 'swaylock -f' timeout 300 'swaylock -f' timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' before-sleep 'swaylock -f' From 6ac6b70a3c4676e8d2c74a66dcac1f7559a09580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Wed, 11 Mar 2026 14:35:46 +0100 Subject: [PATCH 6/8] feat(swaylock): polish ux options --- swaylock/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/swaylock/config b/swaylock/config index 346a2ee..8803a5f 100644 --- a/swaylock/config +++ b/swaylock/config @@ -1,3 +1,6 @@ +ignore-empty-password +show-failed-attempts + image=~/.assets/lockscreen.png clock From 807778fbb76461ccea6298ee4c28eac3802fdf9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Wed, 11 Mar 2026 14:38:29 +0100 Subject: [PATCH 7/8] chore(sway): pkill wob on sway start --- sway/config.d/80-autostart.conf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sway/config.d/80-autostart.conf b/sway/config.d/80-autostart.conf index 38113d5..73cf2d8 100644 --- a/sway/config.d/80-autostart.conf +++ b/sway/config.d/80-autostart.conf @@ -1,10 +1,7 @@ # daemon exec swayidle -w exec wlsunset -l 46.1 -L 14.5 -exec rm -f $wobs \ - && mkfifo $wobs \ - && tail -f $wobs \ - | wob +exec pkill -x wob; rm -f $wobs && mkfifo $wobs && tail -f $wobs | wob exec protonmail-bridge -n # traditional "start when os starts" programs From 7c5b9043c9faa2416deea88c6adbb37773703e26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Wed, 11 Mar 2026 14:41:52 +0100 Subject: [PATCH 8/8] chore(sway): rename file with hostname change --- sway/host.d/{matej-tower.conf => tower.conf} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sway/host.d/{matej-tower.conf => tower.conf} (100%) diff --git a/sway/host.d/matej-tower.conf b/sway/host.d/tower.conf similarity index 100% rename from sway/host.d/matej-tower.conf rename to sway/host.d/tower.conf