diff --git a/sway/config.d/10-variables.conf b/sway/config.d/10-variables.conf index c4dac11..4ffdd91 100644 --- a/sway/config.d/10-variables.conf +++ b/sway/config.d/10-variables.conf @@ -15,6 +15,9 @@ set $lockscreen swaylock # other set $wobs /tmp/wob.sock +# style +set $border 3 + # colors set $bg0 #32302f set $bg1 #252423 diff --git a/sway/config.d/40-theme.conf b/sway/config.d/40-theme.conf index e9a0d05..3c77559 100644 --- a/sway/config.d/40-theme.conf +++ b/sway/config.d/40-theme.conf @@ -1,5 +1,8 @@ -default_floating_border normal 1 -default_border normal 1 +font pango:JetBrainsMono Nerd Font Bold 10 + +default_floating_border normal $border +default_border normal $border +titlebar_border_thickness $border # class border bground text indicator child_border 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.urgent $red $red $bg0 $red $red client.placeholder $bg1 $bg1 $fg $bg1 $bg1 - -font pango:JetBrains Mono Nerd Font 14 diff --git a/sway/config.d/50-keybind.conf b/sway/config.d/50-keybind.conf index 0f70b62..00bf05d 100644 --- a/sway/config.d/50-keybind.conf +++ b/sway/config.d/50-keybind.conf @@ -71,7 +71,7 @@ bindsym $mod+e layout toggle split bindsym $mod+f fullscreen # 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+a focus parent diff --git a/sway/config.d/60-window-rule.conf b/sway/config.d/60-window-rule.conf index a66693f..374c4b7 100644 --- a/sway/config.d/60-window-rule.conf +++ b/sway/config.d/60-window-rule.conf @@ -1,5 +1,6 @@ # additional theming -for_window [app_id="1password"] border pixel 1 +for_window [floating] border pixel $border +for_window [tiling] border normal $border # workspace assignment assign [app_id="google-chrome"] workspace 2 @@ -15,5 +16,3 @@ assign [class="Rocket.Chat"] workspace 8 # rules for_window [class="net-runelite.*"] floating enable no_focus [class="net-runelite.*"] - -for_window [app_id="org.jellyfin.JellyfinDesktop"] inhibit_idle fullscreen diff --git a/sway/config.d/80-autostart.conf b/sway/config.d/80-autostart.conf index b85627c..e1cf8dc 100644 --- a/sway/config.d/80-autostart.conf +++ b/sway/config.d/80-autostart.conf @@ -1,7 +1,10 @@ # deamon exec swayidle -w 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 # traditional "start when os starts" programs