diff --git a/i3/config b/i3/config index dfde944..2585add 100644 --- a/i3/config +++ b/i3/config @@ -13,7 +13,7 @@ bindsym Print exec "shutter -r" #screensaver bindsym $mod+shift+backslash exec "cat /tmp/noss&&(rm /tmp/noss;notify-send 'Screensaver Enabled' -t 200)||(touch /tmp/noss;notify-send 'Screensaver Disabled' -t 200)" -exec --no-startup-id xautolock -time 3 -locker '~/.i3/screensaver.sh' +exec --no-startup-id xautolock -time 10 -locker '~/.i3/screensaver.sh' set $bg #121212 set $fg #9f9f9f @@ -179,11 +179,11 @@ exec --no-startup-id i3-msg 'workspace 1; exec /usr/bin/uxterm' exec --no-startup-id /usr/bin/shutter --min_at_startup exec --no-startup-id /usr/bin/screen -dmS syncthing /home/stonewareslord/Applications/syncthing/syncthing exec --no-startup-id "sleep 25;/usr/bin/owncloud" -exec --no-startup-id /usr/bin/nm-applet exec --no-startup-id /usr/bin/gtk-redshift -l 36.3:-80.3 -t 6500:4000 exec --no-startup-id /usr/bin/parcellite exec --no-startup-id /usr/bin/numlockx -exec --no-startup-id /usr/bin/synapse -s +bindsym $mod+p exec dmenu_run -p Run -l 5 -i +#exec --no-startup-id /usr/bin/synapse -s exec --no-startup-id /usr/bin/zeal exec --no-startup-id xset -b # vim: ts=2:sw=2:et diff --git a/i3/i3status.conf b/i3/i3status.conf index 075e9bb..4324c56 100644 --- a/i3/i3status.conf +++ b/i3/i3status.conf @@ -11,16 +11,16 @@ general { interval = 1 } order += "disk /" -order += "wireless wlan0" -order += "ethernet p5p1" +order += "wireless wlo1" +order += "ethernet eno1" order += "volume master" order += "battery 1" order += "tztime local" -wireless wlan0 { +wireless wlo1 { format_up = "%essid : %ip @ %quality" format_down = "!W" } -ethernet p5p1 { +ethernet eno1 { # if you use %speed, i3status requires root privileges format_up = "%ip (%speed)" format_down = "!E" @@ -41,7 +41,7 @@ volume master { battery 1 { #format = "%status %remaining %emptytime" format = "%status %percentage" - path = "/sys/class/power_supply/BAT0/uevent" + path = "/sys/class/power_supply/BAT1/uevent" low_threshold = 20 } disk "/" { diff --git a/scripts/sync.sh b/scripts/sync.sh index 328561b..6983161 100755 --- a/scripts/sync.sh +++ b/scripts/sync.sh @@ -46,6 +46,10 @@ while getopts ":hbsdpcw" VALUE "$@"; do sudo pip install $(grep -vE "^\s*#" $ABSPATH/scripts/pip.txt | tr "\n" " ") fi if [ "$VALUE" = "c" ] ; then + if [ "$2" = "-f" ] ; then + # Reinstall antigen + rm -rf ~/.antigen + fi echo "Syncing config files" if which trash >/dev/null; then trash ~/.gitconfig ~/.vimperatorrc ~/.vimperator/colors/vimPgray.vimp ~/.bashrc ~/.pylintrc ~/.zshrc ~/.tmux.conf ~/.config/liquidpromptrc diff --git a/shells/zshrc b/shells/zshrc index 166b45a..bf74ac4 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -56,6 +56,7 @@ export EDITOR='vim' if [ "$(uname)" != "Darwin" ]; then alias ls='ls --color=always -F' fi +alias hc='herbstclient' alias steam='sudo kill -9 `pidof steam`;sudo unshare -n -- sh -c "ifconfig lo up;sudo -u stonewareslord steam" > /dev/null 2>&1 & disown' alias matlab='matlab -glnx86' alias srm='srm -dv' @@ -137,7 +138,7 @@ export FZF_COMPLETION_OPTS='--no-mouse -m -1 -x' function ctar(){ DST=$1 shift - tar -cf - $@|pv -s $(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0|bc)|gzip>$DST + tar -cf - $@|pv -s $(($(echo $(du -sb $@|awk '{print $1}'|tr '\n' '+')0)))|gzip>$DST } function pcat(){ pygmentize -f terminal "$1" | less -R