i3 updates
authorAndrew Lorimer <andrew@lorimer.id.au>
Fri, 7 Jan 2022 04:24:05 +0000 (15:24 +1100)
committerAndrew Lorimer <andrew@lorimer.id.au>
Fri, 7 Jan 2022 04:24:05 +0000 (15:24 +1100)
i3/.i3/config
i3/.i3blocks.conf
index c064019f82dfa717105f3ff881fc45ab98838633..db1c7af07c978ed45dc42dc4b7e8c925066e0839 100644 (file)
@@ -69,7 +69,7 @@ bindsym $mod+v split v
 bindsym $mod+f fullscreen toggle
 
 # change container layout (stacked, tabbed, toggle split)
-#bindsym $mod+s layout stacking
+bindsym $mod+q layout stacking
 bindsym $mod+w layout tabbed
 bindsym $mod+e layout toggle split
 
@@ -200,18 +200,20 @@ mode "move" {
 bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 1%+
 bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master 1%-
 bindsym XF86AudioMute exec --no-startup-id amixer sset Master toggle
-bindsym XF86AudioPlay exec playerctl play-pause
-bindsym XF86AudioPause exec playerctl play-pause
-bindsym $mod+p exec playerctl play-pause
-bindsym $mod+bracketleft exec playerctl previous
-bindsym $mod+bracketright exec playerctl next
-bindsym XF86AudioNext exec playerctl next
-bindsym XF86AudioPrev exec playerctl previous
+bindsym XF86AudioPlay exec playerctl --player=spotify play-pause
+bindsym XF86AudioPause exec playerctl --player=spotify play-pause
+bindsym $mod+p exec playerctl --player=spotify play-pause
+bindsym $mod+bracketleft exec playerctl --player=spotify previous
+bindsym $mod+bracketright exec playerctl --player=spotify next
+bindsym XF86AudioNext exec playerctl --player=spotify next
+bindsym XF86AudioPrev exec playerctl --player=spotify previous
 bindsym $mod+o  exec /home/andrew/scripts/pactl-switch.sh
 
 # float dialogs
 for_window [window_type=dialog] floating enable
-#for_window [title="^zoom$"] floating enable
+for_window [title="^zoom$"] floating enable
+for_window [title="^zoom$"] move position center
+no_focus [title="^zoom$"]
 
 # centre splash windows
 for_window [window_type=splash] move position center
@@ -239,6 +241,7 @@ bar {
 
 # borders / gaps
 for_window[class="^.*"] border pixel 4
+for_window [title="^zoom$"] border pixel 0
 gaps inner 15
 gaps outer 0
 
index 884abd712cac349a910b9ea489aceaff4d224afe..7004c22a14b6fcb9dd7dfc7d5eaccdc2e740cacc 100644 (file)
@@ -31,7 +31,7 @@ color=#93a1a1
 # music
 [mediaplayer]
 label=
-command=/home/andrew/scripts/i3blocks-music.pl
+command=/home/andrew/scripts/i3blocks-music.pl --player=spotify
 interval=1
 
 # volume