From: Andrew Lorimer Date: Mon, 12 Apr 2021 08:37:25 +0000 (+1000) Subject: general updates X-Git-Url: https://git.lorimer.id.au/dotfiles.git/diff_plain/6b50dac76f231dbb1fcd9c19b0fb69c75b137a13?ds=inline general updates --- diff --git a/i3/.i3/config b/i3/.i3/config index cc13d91..cbb40c8 100644 --- a/i3/.i3/config +++ b/i3/.i3/config @@ -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 diff --git a/i3/.i3blocks.conf b/i3/.i3blocks.conf index f73a0af..884abd7 100644 --- a/i3/.i3blocks.conf +++ b/i3/.i3blocks.conf @@ -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 index 0000000..e1df637 --- /dev/null +++ b/i3/.screenlayout/dummy.sh @@ -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 diff --git a/i3/.wallpaper.jpg b/i3/.wallpaper.jpg index 32ddc22..f90ad4d 100644 Binary files a/i3/.wallpaper.jpg and b/i3/.wallpaper.jpg differ diff --git a/vim/.vimrc b/vim/.vimrc index dc71aa1..5857f93 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -7,6 +7,7 @@ set nu set expandtab set shiftwidth=2 set softtabstop=2 +set clipboard=unnamed " setup Vundle: set nocompatible " be iMproved, required diff --git a/zsh/.zshrc b/zsh/.zshrc index 4118400..04060df 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -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