From 44a0b3a81978761e04cf287801200c58af3fa86e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 30 Nov 2023 22:42:27 +0300 Subject: picinpic: fix and improve script * Simplify a bit * Take into current state (floating/not floating) * Add delay before resize, because for some reason some mpv windows don't get resized without it. Also update swayfx blur config. --- dotfiles/.config/sway/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dotfiles/.config') diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config index 9e417db..2dfbb86 100644 --- a/dotfiles/.config/sway/config +++ b/dotfiles/.config/sway/config @@ -46,7 +46,7 @@ shadows enable shadow_blur_radius 15 shadow_color #000000aa blur enable -blur_radius 5 +blur_radius 7 blur_passes 3 layer_effects "rofi" blur enable; shadows enable @@ -239,8 +239,8 @@ bindsym --to-code { $mod+Shift+bracketright exec menuwin -s # Sticky float to a bottom corner - $mod+Shift+b floating toggle; sticky toggle; exec picinpic - $mod+Ctrl+b floating toggle; sticky toggle; exec picinpic left + $mod+Shift+b exec picinpic + $mod+Ctrl+b exec picinpic left # change focus $mod+h focus left -- cgit v1.2.3