Various changes.

Disabled wayland-run-on-new-display program. (It seems to memory leak,
along with some other issues.)

Added trash workspace for Origin windows, as Origin tends to open a
bunch of ugly windows that clutter the screen.

Added 5px gaps and some comment spelling fixes.
This commit is contained in:
Sheldon Lee 2022-07-04 18:07:19 +08:00
parent 25d8d3ce9e
commit 8e0c608475

View File

@ -162,6 +162,8 @@ exec swayidle -w \
bindsym $mod+x workspace number 6:x bindsym $mod+x workspace number 6:x
bindsym $mod+c workspace number 7:c bindsym $mod+c workspace number 7:c
bindsym $mod+v workspace number 8:v bindsym $mod+v workspace number 8:v
# Trash workspace
bindsym $mod+Mod1+a workspace trash
# Move focused container to workspace # Move focused container to workspace
bindsym $mod+Shift+a move container to workspace number 1:a bindsym $mod+Shift+a move container to workspace number 1:a
bindsym $mod+Shift+r move container to workspace number 2:r bindsym $mod+Shift+r move container to workspace number 2:r
@ -171,7 +173,7 @@ exec swayidle -w \
bindsym $mod+Shift+x move container to workspace number 6:x bindsym $mod+Shift+x move container to workspace number 6:x
bindsym $mod+Shift+c move container to workspace number 7:c bindsym $mod+Shift+c move container to workspace number 7:c
bindsym $mod+Shift+v move container to workspace number 8:v bindsym $mod+Shift+v move container to workspace number 8:v
# Note: workspaces cran have any name you want, not just numbers. # Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default. # We just use 1-10 as the default.
# bind workspaces to monitor # bind workspaces to monitor
@ -299,6 +301,7 @@ bindsym $mod+Control+h gaps horizontal current plus 200
bindsym $mod+Control+l gaps horizontal current minus 200 bindsym $mod+Control+l gaps horizontal current minus 200
bindsym $mod+shift+f gaps horizontal current toggle 400 bindsym $mod+shift+f gaps horizontal current toggle 400
gaps inner 5
smart_gaps inverse_outer smart_gaps inverse_outer
default_border pixel 3 default_border pixel 3
@ -306,7 +309,7 @@ default_border pixel 3
# #
# Startup programs: # Startup programs:
# #
exec wayland-run-on-new-display set-correct-monitor 390+1080 #exec wayland-run-on-new-display set-correct-monitor 390+1080
exec gentoo-pipewire-launcher exec gentoo-pipewire-launcher
exec dunst exec dunst
@ -330,5 +333,7 @@ for_window [class="starcitizen.exe"] inhibit_idle focus
for_window [title="Firefox — Sharing Indicator"] floating enable, move position 50ppt 0px; for_window [title="Firefox — Sharing Indicator"] floating enable, move position 50ppt 0px;
for_window [class="genshinimact.exe"] floating enable; for_window [class="genshinimact.exe"] floating enable;
for_window [class=".*.exe"] floating enable; for_window [class=".*.exe"] floating enable;
# Move windows to trash workspace
for_window [title="Origin"] floating enable, move container to workspace trash;
include /etc/sway/config.d/* include /etc/sway/config.d/*