New backup 2024-12-18 12:00:03

This commit is contained in:
Penelope Gwen 2024-12-18 12:00:03 -08:00
parent 81c83b3ff9
commit ac30c80d62
2 changed files with 40 additions and 81 deletions

View file

@ -7,3 +7,9 @@ dynamic_padding = true
[font]
size = 10
[cursor]
blink_interval = 1000
[cursor.style]
shape = "Block"
blinking = "On"

View file

@ -1,89 +1,42 @@
include $HOME/.config/sway/config.d/window_rules.d/*
include $HOME/.config/sway/config.d/window_rules.d/*
for_window [shell="xwayland"] title_format "[X] %title"
set {
$popup floating enable; shadows enable; border pixel 1; sticky enable
$game inhibit_idle focus; floating enable; border none; fullscreen enable; shadows disable
$scratch move scratchpad, floating enable, scratchpad hide
# Discord/Armcord opens in scratchpad
# for_window [app_id="armcord"] move scratchpad, floating enable, scratchpad hide
# for_window [class="ArmCord"] move scratchpad, floating enable, scratchpad hide
# for_window [class="Discord"] move scratchpad, floating enable, scratchpad hide
# for_window [title="Discord"] move scratchpad, floating enable, scratchpad hide
}
# Floating PiP
# for_window [title="^Picture-in-Picture$"] floating enable, sticky enable
for_window {
# Thunderbird assigned to workspace 9
# assign [title="Mozilla Thunderbird$"] workspace "9:"
#popup - float, sticky
[app_id="libreoffice-startcenter" title="$Save^"] $popup
[title="^zoom$" class="zoom"] $popup
[title="^ContentDialogOverlayWindow$"] $popup
[window_role="pop-up"] $popup
[window_role="bubble"] $popup
[window_role="dialog"] $popup
[window_type="dialog"] $popup
[title="^(?:Copying|Deleting|Moving|Progress).*Dolphin$"] $popup
[title="^(File|Folder)\s*Already Exists\s*—\s*" app_id="dolphin|org.kde.ark|pcmanfm|pcmanfm-qt"] $popup
[title="Confirm to replace files" app_id="dolphin|org.kde.ark|pcmanfm|pcmanfm-qt"] $popup
[title="^alacritty_sticky_notes$"] $popup
[app_id="com.github.hluk.copyq"] $popup
[title="^Picture-in-Picture$"] $popup
[app_id="org.keepassxc.KeePassXC" title="^(?=.*(^Unlock Database|Browser Access Request$)).*$"] $popup
# Sonixd assigned to workspace 10
# assign [title="^Sonixd$"] workspace "10:"
#game - inhibit idle focus, no border, fullscreen, floating
[instance="origin.exe"] $game
[instance="gamescope"] $game
[class="gamescope"] $game
[class="dolphin-emu" title="Dolphin (.*) \| (.*) \| (.*) \| (.*)"] $game
[class="sm64ex"] $game
[class="steam_app.*"] $game
[instance="steam_app.*"] $game
# Floating Copyq
# for_window [app_id="com.github.hluk.copyq"] floating enable, sticky enable
#scratch
[app_id="armcord"] $scratch
[app_id="org.keepassxc.KeePassXC" title="^(?!.*(Unlock Database|Browser Access Request)).*$"] $scratch
# Floating KeePass
# for_window [app_id="org.keepassxc.KeePassXC"] floating enable, sticky enable
# Dolphin popups
# for_window [title="(?i)(?:copying|deleting|moving|question|save file)"] floating enable, border pixel 2
# for_window [window_role="pop-up"] floating enable
# for_window [window_role="bubble"] floating enable
# for_window [window_role="dialog"] floating enable
# for_window [window_type="dialog"] floating enable
# for_window [title="^(?:Copying|Deleting|Moving|Progress).*Dolphin$"] floating enable
# Ryujinx popup
# for_window [title="^ContentDialogOverlayWindow$"] floating enable
# Alacritty Sticky Notes
# for_window [title="^alacritty_sticky_notes$"] floating enable
# Zoom popups
# for_window [title="^zoom$" class="zoom"] floating enable
# Libreoffice popups
# for_window [app_id="libreoffice-startcenter" title="$Save^"] floating enable
set {
$popup floating enable; shadows enable; border pixel 1; sticky enable
$game inhibit_idle focus; floating enable; border none; fullscreen enable; shadows disable
$float floating enable, sticky enable
$scratch move scratchpad, floating enable, scratchpad hide
}
for_window {
#popups - float
[app_id="libreoffice-startcenter" title="$Save^"] $popup
[title="^zoom$" class="zoom"] $popup
[title="^ContentDialogOverlayWindow$"] $popup
[window_role="pop-up"] $popup
[window_role="bubble"] $popup
[window_role="dialog"] $popup
[window_type="dialog"] $popup
[title="^(?:Copying|Deleting|Moving|Progress).*Dolphin$"] $popup
[title="^(File|Folder)\s*Already Exists\s*—\s*" app_id="dolphin|org.kde.ark|pcmanfm|pcmanfm-qt"] $popup
[title="Confirm to replace files" app_id="dolphin|org.kde.ark|pcmanfm|pcmanfm-qt"] $popup
[app_id="org.keepassxc.KeePassXC" title="^(?=.*(^Unlock Database|Browser Access Request$)).*$"] $float
#game - inhibit idle focus, no border, fullscreen, floating
[instance="origin.exe"] $game
[instance="gamescope"] $game
[class="gamescope"] $game
[class="dolphin-emu" title="Dolphin (.*) \| (.*) \| (.*) \| (.*)"] $game
[class="sm64ex"] $game
[class="steam_app.*"] $game
[instance="steam_app.*"] $game
#float - float, sticky
[title="^alacritty_sticky_notes$"] $float
[app_id="com.github.hluk.copyq"] $float
[title="^Picture-in-Picture$"] $float
#scratch
[app_id="armcord"] $scratch
[app_id="org.keepassxc.KeePassXC" title="^(?!.*(Unlock Database|Browser Access Request)).*$"] $scratch
}
}