From d65f55380e425e08b8b705fecd71f4aee66066cb Mon Sep 17 00:00:00 2001 From: Niklas Date: Thu, 8 Oct 2020 02:10:22 +0200 Subject: [PATCH] added scratchpad for spotify and a terminal --- .config/i3/config | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.config/i3/config b/.config/i3/config index 0a558f5..a94c651 100755 --- a/.config/i3/config +++ b/.config/i3/config @@ -23,6 +23,10 @@ for_window [class="^.*"] border pixel 2 for_window [instance="floatme"] floating enable + +for_window [instance="scratchpad.*"] move scratchpad +for_window [class="Spotify"] move scratchpad + gaps inner 4 smart_gaps on smart_borders on @@ -91,6 +95,12 @@ bindsym $mod+Shift+space floating toggle # change focus between tiling / floating windows bindsym $mod+space focus mode_toggle +# toggle scratchpad +bindsym $mod+F1 [instance="scratchpad_f1"] scratchpad show +bindsym $mod+F2 [class="Spotify"] scratchpad show +bindsym $mod+F3 [instance="scratchpad_f3"] scratchpad show +bindsym $mod+F4 [instance="scratchpad_f4"] scratchpad show + # switch to workspace bindsym $mod+1 workspace $ws1 bindsym $mod+2 workspace $ws2 @@ -178,4 +188,4 @@ exec_always --no-startup-id $HOME/.config/polybar/launch.sh #exec --no-startup-id pactl set-sink-mute 0 1 exec --no-startup-id xss-lock -- i3lock -i ~/.config/i3/lockscreen exec --no-startup-id dunst - +exec --no-startup-id alacritty --class=scratchpad_f1