From b4b6058abd6b7d32f2f60fee5dd8c794218beab8 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 9 Jun 2023 09:43:26 -0500 Subject: [PATCH] Swayin' --- host/desktop/sway/config | 4 ++++ os/linux/sway/config | 9 ++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/host/desktop/sway/config b/host/desktop/sway/config index ba0b8d0..f2df311 100644 --- a/host/desktop/sway/config +++ b/host/desktop/sway/config @@ -1,6 +1,8 @@ default_border pixel 1 exec swayidle -w timeout 600 'notify-send "Idling in 30 seconds..."' timeout 630 'swaylock -f' timeout 660 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on" & maybe-good-morning' before-sleep 'swaylock -f' +gaps inner 10 + output "Samsung Electric Company SyncMaster H1AK500000" position 0,0 output "GIGA-BYTE TECHNOLOGY CO., LTD. AORUS FO48U 23070B000307" mode 3840x2160@120Hz position 1440,0 @@ -11,4 +13,6 @@ output "Dell Inc. DELL U2720Q CWTM623" position 0,0 output "Dell Inc. DELL U2720Q D3TM623" transform 90 scale 1.5 output "Dell Inc. DELL U2720Q D3TM623" position 5280,0 +bindsym $mod+control+equal gaps inner current set 0 + exec firefox diff --git a/os/linux/sway/config b/os/linux/sway/config index 5754b7f..04f5cd2 100644 --- a/os/linux/sway/config +++ b/os/linux/sway/config @@ -5,11 +5,10 @@ # + Super+Shift+b should balance the size of all selected nodes. set $mod Mod4 -set $default_gap 10 xwayland enable focus_wrapping no -gaps inner $default_gap +gaps inner 0 smart_borders on default_border pixel 3 focus_follows_mouse no @@ -123,7 +122,7 @@ bindsym $mod+control+alt+l gaps horizontal current plus 5 bindsym $mod+control+alt+j gaps vertical current minus 5 bindsym $mod+control+alt+k gaps vertical current plus 5 # TODO: this should also reset the horizontal and vertical gaps? -bindsym $mod+control+equal gaps inner current set $default_gap +bindsym $mod+control+equal gaps inner current set 0 bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% @@ -176,10 +175,6 @@ client.focused #74c7ec #74c7ec #74c7ec #74c7ec #74c7ec client.focused_inactive #100814 #100814 #9b9ebf #100814 #100814 client.unfocused #100814 #100814 #9b9ebf #100814 #100814 -bar { - swaybar_command waybar -} - # exec /usr/share/sway/scripts/inactive-windows-transparency.py --opacity 0.95 exec mako