From 954b6ca08eac7c3da5db8c3370c107074c5010f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Sat, 24 Sep 2022 21:48:27 +0300 Subject: Changed/cleaned up some scratchpad binds --- dotfiles/.config/sway/config | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) (limited to 'dotfiles') diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config index a96f627..b9f98bd 100644 --- a/dotfiles/.config/sway/config +++ b/dotfiles/.config/sway/config @@ -100,10 +100,6 @@ no_focus [title="mpvfloat"] # Dropdown-like windows -# Telegram Desktop -for_window [app_id="telegramdesktop"] floating enable, sticky enable -# for_window [class="TelegramDesktop"] move scratchpad - # Quake-like Terminal dropdown for_window [title="^ddterminal$"] floating enable, sticky enable #for_window [title="^ddterminal$"] border none @@ -200,8 +196,6 @@ bindsym --to-code { $mod+Shift+apostrophe exec "menupass -l" $mod+Ctrl+apostrophe exec "menupass -f" $mod+Ctrl+Shift+apostrophe exec "menupass -s" - $mod+backslash exec "menuwin" - $mod+Shift+backslash exec "menuwin -s" # Screenshot and recording Print exec screensht "full screen" @@ -212,10 +206,17 @@ bindsym --to-code { $mod+Shift+m exec $term -T "ncpamixer" 'ncpamixer' $mod+Ctrl+m exec rofi -show audio -modi "audio:rofiaudio" + # scratchpad shortcuts + $mod+bracketleft scratchpad show + $mod+Shift+bracketleft move scratchpad + # Dropdown/scratchpad applications - $mod+Shift+t exec ddtelegram $mod+Shift+p exec ddquakemite + # Switch/swap windows + $mod+bracketright exec "menuwin" + $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 @@ -267,13 +268,6 @@ bindsym --to-code { # toggle sticky $mod+Shift+s sticky toggle - # move the currently focused window to the scratchpad - $mod+Shift+minus move scratchpad - - # Show the next scratchpad window or hide the focused scratchpad window. - # If there are multiple scratchpad windows, this command cycles through them. - $mod+minus scratchpad show - #navigate workspaces next / previous $mod+Tab workspace next $mod+Shift+Tab workspace prev -- cgit v1.2.3