Update sway config

This commit is contained in:
Sheldon Lee 2023-06-05 01:29:47 +01:00
parent bbc17174ee
commit 9e5180ceec

View File

@ -294,10 +294,10 @@ bindsym $mod+g mode "gaming"
font pango:$font font pango:$font
titlebar_padding 3 titlebar_padding 3
bar { bar {
position top position bottom
#gaps 20 900 #gaps 20 900
#mode hide mode hide
output $mon1 output $mon1
# When the status_command prints a new line to stdout, swaybar updates. # When the status_command prints a new line to stdout, swaybar updates.
@ -338,12 +338,13 @@ smart_gaps inverse_outer
gaps inner 2 gaps inner 2
default_border pixel 3 default_border pixel 3
smart_borders on
# #
# Startup programs: # Startup programs:
# #
exec wayland-run-on-new-display set-correct-monitor 1920+0 exec wayland-run-on-new-display set-correct-monitor 1920+0
exec gentoo-pipewire-launcher &> $HOME/.config/pipewire/pipewire.log exec gentoo-pipewire-launcher restart &> $HOME/.config/pipewire/pipewire.log
exec dunst exec dunst
exec wlsunset -l 55.0 -L -1.6 exec wlsunset -l 55.0 -L -1.6
@ -372,7 +373,7 @@ for_window [class="^.*"] inhibit_idle fullscreen
for_window [class="WebCord"] inhibit_idle focus for_window [class="WebCord"] inhibit_idle focus
for_window [app_id="org.jellyfin.jellyfinmediaplayer"] inhibit_idle focus for_window [app_id="org.jellyfin.jellyfinmediaplayer"] inhibit_idle focus
# Floating windows # Floating windows
for_window [title="^Firefox — Sharing Indicator$"] floating enable, move position 50ppt 0px; for_window [title="^Firefox — Sharing Indicator$"] floating enable, move position 50ppt 0px, move container to workspace trash;
for_window [class="^Steam$"] floating enable for_window [class="^Steam$"] floating enable
for_window [class="^steamwebhelper$"] floating enable for_window [class="^steamwebhelper$"] floating enable
for_window [class="^Steam$" title="^Steam$"] floating disable for_window [class="^Steam$" title="^Steam$"] floating disable