merge: sway improvements

This commit is contained in:
2026-03-11 14:43:00 +01:00
8 changed files with 24 additions and 9 deletions

2
.git-blame-ignore-revs Normal file
View File

@@ -0,0 +1,2 @@
# typos
f148ab1559cbb4e0e46e05f8d151f74f64adb359

8
.gitignore vendored
View File

@@ -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/*

View File

@@ -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
@@ -80,12 +80,12 @@ 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-brightnes
# xf86-brightness
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
# xf86-audio

View File

@@ -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

View File

@@ -1,10 +1,7 @@
# deamon
# 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

View File

@@ -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'

View File

@@ -1,3 +1,6 @@
ignore-empty-password
show-failed-attempts
image=~/.assets/lockscreen.png
clock