general updates
[dotfiles.git] / i3 / .i3 / config
index cc13d91dd8c35ac0a9053681fe4bb4c28dd41d5e..cbb40c8967cc8bbc1ca77b02a2c8fba1e4979bcd 100644 (file)
@@ -1,6 +1,7 @@
 # colours
 set $bg-color             #268bd2
 set $inactive-bg-color    #2f343f
+#set $inactive-bg-color             #268bd2
 set $text-color           #2f343f
 set $inactive-text-color  #839495
 set $urgent-bg-color      #dc322f
@@ -56,9 +57,6 @@ bindsym $mod+Shift+Up move up
 bindsym $mod+Shift+Right move right
 
 # move workspace to other monitor
-bindsym $mod+Control+j move workspace to output down
-bindsym $mod+Control+k move workspace to output up
-bindsym $mod+Control+h move workspace to output left 
 bindsym $mod+Control+l move workspace to output right
 
 # split in horizontal orientation
@@ -204,11 +202,23 @@ 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
 
 # float dialogs
 for_window [window_type=dialog] floating enable
+#for_window [title="^zoom$"] floating enable
+
+# centre splash windows
+for_window [window_type=splash] move position center
+
+# don't focus popups
+no_focus [window_type="splash"]
+no_focus [window_role="pop-up"]
+no_focus [window_role="^zoom$"]
 
 # switch to actionable windows
 focus_on_window_activation focus
@@ -241,6 +251,6 @@ exec_always --no-startup-id picom -b --config /home/andrew/.picom.conf
 exec_always --no-startup-id xbindkeys --poll-rc
 
 # start GUI apps
-exec --no-startup-id i3-msg 'workspace $ws2; exec chromium'
+exec --no-startup-id i3-msg 'workspace $ws2; exec google-chrome-stable'
 exec --no-startup-id i3-msg 'workspace $ws1; exec urxvt'
 exec --no-startup-id tilda