general updates
authorAndrew Lorimer <andrew@lorimer.id.au>
Mon, 12 Apr 2021 08:37:25 +0000 (18:37 +1000)
committerAndrew Lorimer <andrew@lorimer.id.au>
Mon, 12 Apr 2021 08:37:25 +0000 (18:37 +1000)
i3/.i3/config
i3/.i3blocks.conf
i3/.screenlayout/dummy.sh [new file with mode: 0755]
i3/.wallpaper.jpg
vim/.vimrc
zsh/.zshrc
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
index f73a0af0711d26553a398866506f7a98467796a4..884abd712cac349a910b9ea489aceaff4d224afe 100644 (file)
@@ -52,6 +52,10 @@ interval=1
 interval=1
 command=/home/andrew/scripts/i3blocks-bandwidth.pl bond0
 
+[bandwidth]
+interval=1
+command=/home/andrew/scripts/i3blocks-bandwidth.pl ibp2s0
+
 # load
 [load_average]
 interval=1
diff --git a/i3/.screenlayout/dummy.sh b/i3/.screenlayout/dummy.sh
new file mode 100755 (executable)
index 0000000..e1df637
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+xrandr --output DVI-D-0 --mode 1920x1080 --pos 3640x317 --rotate normal --output HDMI-0 --primary --mode 2560x1440 --pos 0x181 --rotate normal --output DP-0 --off --output DP-1 --off --output HDMI-1 --mode 1920x1080 --pos 2560x0 --rotate right
index 32ddc22734911be574d53c7ef8c53f311592ca9e..f90ad4d590bf5a3b3180108a54b24d7e08c5460f 100644 (file)
Binary files a/i3/.wallpaper.jpg and b/i3/.wallpaper.jpg differ
index dc71aa15c7f54ba7503aa08e60423d9c5156ae9a..5857f939c1905b2a038c82e7f38ca8d0d6c20856 100644 (file)
@@ -7,6 +7,7 @@ set nu
 set expandtab
 set shiftwidth=2
 set softtabstop=2
+set clipboard=unnamed
 
 " setup Vundle:
 set nocompatible              " be iMproved, required
index 4118400a8dde860cb055554babce820a8e5f0a81..04060df11f75c4a688342f364b78b990afb9c71c 100755 (executable)
@@ -31,6 +31,9 @@ WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
 # Behaviour
 # ---
 
+# Don't record commands prepended with a space in history
+setopt histignorespace
+
 #Allow bash-style comments
 setopt interactivecomments
 
@@ -64,3 +67,5 @@ alias jcomp="convert -strip -interlace Plane -gaussian-blur 0.05 -quality 85%"
 
 # alias for git-repo
 alias repo="~/scripts/git-repo/repo"
+
+alias chromium=/usr/bin/google-chrome-stable