From e951cf30006ef75e8eabd68aabeec0e2fd18d963 Mon Sep 17 00:00:00 2001 From: Ewy~ Date: Tue, 31 Dec 2024 12:39:04 +0100 Subject: Several improvements: Enable sway smart borders Move media on bar so you're less likely to misclick Add some effects to the terminal --- .config/sway/config.d/layout | 1 + .config/sway/config.d/outputs | 2 +- .config/sway/config.d/quake | 10 ++++++++++ .config/sway/config.d/windows | 9 +++++---- 4 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 .config/sway/config.d/quake (limited to '.config/sway/config.d') diff --git a/.config/sway/config.d/layout b/.config/sway/config.d/layout index 6e9e2e4..f9a71e6 100644 --- a/.config/sway/config.d/layout +++ b/.config/sway/config.d/layout @@ -2,3 +2,4 @@ smart_gaps on gaps inner 5 title_align center default_border pixel +smart_borders on diff --git a/.config/sway/config.d/outputs b/.config/sway/config.d/outputs index 2cd8e29..fc4ca40 100644 --- a/.config/sway/config.d/outputs +++ b/.config/sway/config.d/outputs @@ -1,5 +1,5 @@ output * { - background "$(cat $HOME/.cache/wal/wal)" fit + background "$(cat $HOME/.cache/wal/wal)" fill } output DP-2 { diff --git a/.config/sway/config.d/quake b/.config/sway/config.d/quake new file mode 100644 index 0000000..48b7dd3 --- /dev/null +++ b/.config/sway/config.d/quake @@ -0,0 +1,10 @@ +exec --no-startup-id kitty --app-id quake + +for_window [app_id="quake"] { + floating enable, + border none, + move container to scratchpad, + sticky +} + +bindsym $mod+Shift+Return [app_id="quake"] scratchpad show, resize set width 400 height 400, move position cursor, border pixel diff --git a/.config/sway/config.d/windows b/.config/sway/config.d/windows index 3111c6e..bb3b787 100644 --- a/.config/sway/config.d/windows +++ b/.config/sway/config.d/windows @@ -1,10 +1,11 @@ -for_window [app_id="kitty"] border none -for_window [class="firefox"] border none for_window [title="Picture-in-Picture"] { sticky enabe floating enable position 2567,619 size 791x445 } -for_window [class="net-runelite-client-RuneLite"] border none -for_window [app_id="firefox"] border none +for_window [app_id="pavucontrol"] { + floating enable + move position 1900px 0px + resize set 800 400 +} -- cgit v1.3