summaryrefslogtreecommitdiffstats
path: root/.config/sway/config
diff options
context:
space:
mode:
authorAmin Bandali <bandali@kelar.org>2024-03-02 21:46:16 -0500
committerAmin Bandali <bandali@kelar.org>2024-03-02 21:46:16 -0500
commitffd0084f8612a11de7263b1dc627a3ed8f97d923 (patch)
treedc11bd46980d4be6bf5c53bbd9a4832a77a6058e /.config/sway/config
parent90861c908a7ffc2ab2e35fcf488250b324125ed9 (diff)
downloadconfigs-ffd0084f8612a11de7263b1dc627a3ed8f97d923.tar.gz
configs-ffd0084f8612a11de7263b1dc627a3ed8f97d923.tar.xz
configs-ffd0084f8612a11de7263b1dc627a3ed8f97d923.zip
Various updates from nostalgia
Diffstat (limited to '.config/sway/config')
-rw-r--r--.config/sway/config20
1 files changed, 16 insertions, 4 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 165509e..9cf7b36 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -17,8 +17,8 @@ set $term foot
set $menu dmenu_path | wmenu -f '$font' | xargs swaymsg exec --
exec swayidle -w \
- timeout 300 'swaylock -f -c 000000' \
- timeout 310 'swaymsg "output * power off"' \
+ timeout 600 'swaylock -f -c 000000' \
+ timeout 610 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' \
before-sleep 'swaylock -f -c 000000'
@@ -61,7 +61,7 @@ bindsym XF86MonBrightnessUp exec light -A 5
bindsym XF86MonBrightnessDown exec light -U 5
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5%
-bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK -5%
+bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5%
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
bindsym $mod+XF86AudioRaiseVolume exec pactl set-source-volume @DEFAULT_SOURCE@ +5%
bindsym $mod+XF86AudioLowerVolume exec pactl set-source-volume @DEFAULT_SOURCE@ -5%
@@ -154,10 +154,15 @@ bar {
}
}
+seat seat0 hide_cursor 5000
+
+default_border pixel 4
+hide_edge_borders smart
+
for_window [window_role="pop-up"] floating enable
for_window [app_id="mpv"] floating enable
-for_window [app_id="mumble"] floating enable
+for_window [app_id="mumble"] floating enable, inhibit_idle
for_window [app_id="nm-connection-editor"] floating enable
for_window [app_id="virt-manager"] floating enable
for_window [class="Vncviewer"] floating enable
@@ -165,6 +170,13 @@ for_window [class="TigerVNC Viewer"] floating enable
for_window [app_id="thunar"] floating enable
for_window [app_id="pavucontrol"] floating enable
+for_window [app_id="firefox" title="^Picture-in-Picture$"] \
+ floating enable, move position 68 ppt 67 ppt, sticky enable
+for_window [app_id="firefox" title="Choose User Profile"] \
+ floating enable
+for_window [app_id="firefox" title="Sharing Indicator"] \
+ floating enable, kill
+
include ~/.config/sway/`hostname`
exec dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK