feat(sway): consistent border theming

This commit is contained in:
2026-02-02 12:13:45 +01:00
parent 0cbd1bf856
commit f9da29cc0d
5 changed files with 15 additions and 9 deletions

View File

@@ -15,6 +15,9 @@ set $lockscreen swaylock
# other # other
set $wobs /tmp/wob.sock set $wobs /tmp/wob.sock
# style
set $border 3
# colors # colors
set $bg0 #32302f set $bg0 #32302f
set $bg1 #252423 set $bg1 #252423

View File

@@ -1,5 +1,8 @@
default_floating_border normal 1 font pango:JetBrainsMono Nerd Font Bold 10
default_border normal 1
default_floating_border normal $border
default_border normal $border
titlebar_border_thickness $border
# class border bground text indicator child_border # class border bground text indicator child_border
client.focused $fg $bg0 $fg $fg $fg client.focused $fg $bg0 $fg $fg $fg
@@ -7,5 +10,3 @@ client.focused_inactive $bg1 $bg1 $gray $bg1 $bg1
client.unfocused $bg1 $bg1 $gray $bg1 $bg1 client.unfocused $bg1 $bg1 $gray $bg1 $bg1
client.urgent $red $red $bg0 $red $red client.urgent $red $red $bg0 $red $red
client.placeholder $bg1 $bg1 $fg $bg1 $bg1 client.placeholder $bg1 $bg1 $fg $bg1 $bg1
font pango:JetBrains Mono Nerd Font 14

View File

@@ -71,7 +71,7 @@ bindsym $mod+e layout toggle split
bindsym $mod+f fullscreen bindsym $mod+f fullscreen
# focus # focus
bindsym $mod+Shift+space floating toggle bindsym $mod+Shift+space floating toggle; [floating] border pixel $border; [tiling] border normal $border
bindsym $mod+space focus mode_toggle bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent bindsym $mod+a focus parent

View File

@@ -1,5 +1,6 @@
# additional theming # additional theming
for_window [app_id="1password"] border pixel 1 for_window [floating] border pixel $border
for_window [tiling] border normal $border
# workspace assignment # workspace assignment
assign [app_id="google-chrome"] workspace 2 assign [app_id="google-chrome"] workspace 2
@@ -15,5 +16,3 @@ assign [class="Rocket.Chat"] workspace 8
# rules # rules
for_window [class="net-runelite.*"] floating enable for_window [class="net-runelite.*"] floating enable
no_focus [class="net-runelite.*"] no_focus [class="net-runelite.*"]
for_window [app_id="org.jellyfin.JellyfinDesktop"] inhibit_idle fullscreen

View File

@@ -1,7 +1,10 @@
# deamon # deamon
exec swayidle -w exec swayidle -w
exec wlsunset -l 46.1 -L 14.5 exec wlsunset -l 46.1 -L 14.5
exec rm -f $wobs && mkfifo $wobs && tail -f $wobs | wob exec rm -f $wobs \
&& mkfifo $wobs \
&& tail -f $wobs \
| wob
exec protonmail-bridge -n exec protonmail-bridge -n
# traditional "start when os starts" programs # traditional "start when os starts" programs