Browse Source

Moved all references to home from ~ or /home/micah to for compatibility and portability

Also changed compton shadowing and deleted old rtorrent tmux layout
profile
merge-requests/1/head
Micah Halter 3 years ago
parent
commit
16e13503bf
  1. 4
      Makefile
  2. 30
      bash/.bash_aliases
  3. 4
      bash/.bashrc
  4. 9
      compton/.config/compton.conf
  5. 42
      i3-work/.config/i3/config
  6. 8
      i3-work/.config/i3/scripts/music
  7. 2
      i3-work/.config/i3/scripts/runner
  8. 72
      i3/.config/i3/config
  9. 6
      i3/.config/i3/scripts/dirty
  10. 8
      i3/.config/i3/scripts/music
  11. 2
      i3/.config/i3/scripts/runner
  12. 8
      khal/.config/khal/academicconfig
  13. 12
      khal/.config/khal/config
  14. 14
      khal/.config/khal/fullconfig
  15. 1
      khard/.config/khard/khard.conf
  16. 4
      msmtp/.msmtprc
  17. 4
      mutt/.config/mutt/gatechrc
  18. 4
      mutt/.config/mutt/gmailrc
  19. 2
      mutt/.config/mutt/mailcap
  20. 10
      mutt/.config/mutt/muttrc
  21. 2
      neofetch/.config/neofetch/config
  22. 8
      neovim/.config/nvim/init.vim
  23. 6
      offlineimap/.offlineimaprc
  24. 2
      offlineimap/.offlineimapsync.sh
  25. 4
      polybar-work/.config/polybar/scripts/mail
  26. 4
      polybar-work/.config/polybar/scripts/music
  27. 4
      polybar/.config/polybar/scripts/mail
  28. 4
      polybar/.config/polybar/scripts/music
  29. 2
      ranger-work/.config/ranger/commands.py
  30. 14
      ranger-work/.config/ranger/rc.conf
  31. 106
      ranger-work/.config/ranger/shortcuts.conf
  32. 2
      ranger/.config/ranger/bookmarks
  33. 2
      ranger/.config/ranger/commands.py
  34. 20
      ranger/.config/ranger/rc.conf
  35. 128
      ranger/.config/ranger/shortcuts.conf
  36. 26
      scripts-work/.config/Scripts/configs
  37. 20
      scripts-work/.config/Scripts/folders
  38. 2
      scripts-work/.config/Scripts/screen.sh
  39. 32
      scripts/.config/Scripts/configs
  40. 24
      scripts/.config/Scripts/folders
  41. 4
      scripts/.config/Scripts/lock/lock.sh
  42. 4
      scripts/.config/Scripts/screen.sh
  43. 4
      tmux/.tmux.conf
  44. 2
      tmux/.tmuxinator/default.yml
  45. 2
      tmux/.tmuxinator/music.yml
  46. 5
      tmux/.tmuxinator/rtorrent.yml
  47. 2
      tmux/.tmuxinator/scratchpad.yml
  48. 4
      vdirsyncer/.config/vdirsyncer/config
  49. 26
      zsh-work/.zsh_aliases
  50. 46
      zsh-work/.zsh_shortcuts
  51. 22
      zsh-work/.zshrc
  52. 26
      zsh/.zsh_aliases
  53. 56
      zsh/.zsh_shortcuts
  54. 18
      zsh/.zshrc

4
Makefile

@ -314,5 +314,5 @@ stow-post:
# neovim vim-plug initialization
sudo -u $(USER) nvim +'PlugInstall --sync' +qa
# set wallpaper and run pywal
sudo -u $(USER) cp default-wall.jpg ~/.config/wall
sudo -u $(USER) wal -g -c -i ~/.config/wall -o ~/.config/Scripts/wal-set
sudo -u $(USER) cp default-wall.jpg $(HOME)/.config/wall
sudo -u $(USER) wal -g -c -i $(HOME)/.config/wall -o $(HOME)/.config/Scripts/wal-set

30
bash/.bash_aliases

@ -1,5 +1,5 @@
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
test -r $HOME/.dircolors && eval "$(dircolors -b $HOME/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto'
@ -21,11 +21,11 @@ alias cp='rsync'
alias cpr='rsync -r'
alias speedtest='speedtest-cli'
alias alsamixer='alsamixer -c 1'
alias gdrive='google-drive-ocamlfuse ~/Google\ Drive/'
alias ugdrive='sudo umount ~/Google\ Drive/'
alias todo='vi ~/.todo'
alias dataBackup='/home/micah/backupScript/backup.sh'
alias dataBackupUmount='/home/micah/backupScript/backup.sh && sleep 5 && sudo umount /dev/sdd1'
alias gdrive='google-drive-ocamlfuse $HOME/Google\ Drive/'
alias ugdrive='sudo umount $HOME/Google\ Drive/'
alias todo='vi $HOME/.todo'
alias dataBackup='$HOME/backupScript/backup.sh'
alias dataBackupUmount='$HOME/backupScript/backup.sh && sleep 5 && sudo umount /dev/sdd1'
alias makescript="fc -rnl | head -1 >"
alias histg='history | grep'
alias cmount='mount | column -t'
@ -34,16 +34,16 @@ alias tree2="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'"
alias meminfo='free -m -l -t'
alias ps?='ps aux | grep'
alias ipinfo="curl ifconfig.me && curl ifconfig.me/host"
alias bashrc="vi ~/.bashrc"
alias bashalias="vi ~/.bash_aliases"
alias katawa="/home/micah/data/Videos/Anime/Visual\ Novels/Katawa\ Shoujo-linux/Katawa\ Shoujo.sh"
alias bashrc="vi $HOME/.bashrc"
alias bashalias="vi $HOME/.bash_aliases"
alias katawa="$HOME/data/Videos/Anime/Visual\ Novels/Katawa\ Shoujo-linux/Katawa\ Shoujo.sh"
alias python="python3"
alias mysql="mysql -u root -p"
alias aptclean="sudo apt-get autoremove ; sudo apt-get autoclean; sudo apt-get install -f ; sudo apt-get clean"
alias aptupgrade="sudo apt-get update ; sudo apt-get -y upgrade ; sudo apt-get -y dist-upgrade ; sudo apt-get -y autoremove ; sudo apt-get -y autoclean; sudo apt-get -y install -f ; sudo apt-get -y clean"
alias setCurrentProject='pwd > ~/.current_project'
alias currentProject='cd `cat ~/.current_project`'
alias setCurrentProject='pwd > $HOME/.current_project'
alias currentProject='cd `cat $HOME/.current_project`'
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
@ -84,28 +84,28 @@ extract() {
#C compiling shortcuts for clang and gcc
clang() {
if [[ $1 =~ \.c$ ]]; then
clang-3.5 -g $1 -o ${1%%.*};
clang-3.5 -g $1 -o ${1%%.*};
else
echo "$1 is not a c file"
fi
}
clanglm() {
if [[ $1 =~ \.c$ ]]; then
clang-3.5 -g $1 -o ${1%%.*} -lm;
clang-3.5 -g $1 -o ${1%%.*} -lm;
else
echo "$1 is not a c file"
fi
}
gccc() {
if [[ $1 =~ \.c$ ]]; then
gcc -std=c99 -Wall -pedantic -Wextra -Werror -O2 -g $1 -o ${1%%.*};
gcc -std=c99 -Wall -pedantic -Wextra -Werror -O2 -g $1 -o ${1%%.*};
else
echo "$1 is not a c file"
fi
}
gcclm() {
if [[ $1 =~ \.c$ ]]; then
gcc -std=c99 -g $1 -o ${1%%.*} -lm;
gcc -std=c99 -g $1 -o ${1%%.*} -lm;
else
echo "$1 is not a c file"
fi

4
bash/.bashrc

@ -1,9 +1,9 @@
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
export QSYS_ROOTDIR="/home/micah/intelFPGA_lite/17.1/quartus/sopc_builder/bin"
export QSYS_ROOTDIR="$HOME/intelFPGA_lite/17.1/quartus/sopc_builder/bin"
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
[ -f $HOME/.fzf.bash ] && source $HOME/.fzf.bash
export FZF_DEFAULT_OPS="--extended"
export FZF_DEFAULT_COMMAND="fd --type f"
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"

9
compton/.config/compton.conf

@ -6,5 +6,10 @@ fade-out-step = 0.15; # Opacity change between steps while fading out.
no-fading-openclose = false; # Fade windows in/out when opening/closing.
# Shadow
shadow = true
no-dock-shadow = true
shadow = true;
no-dock-shadow = true;
clear-shadow = true;
shadow-radius = 0;
shadow-offset-x = 5;
shadow-offset-y = 5;
shadow-opacity = 0.3;

42
i3-work/.config/i3/config

@ -3,10 +3,10 @@ set $mod Mod1
floating_modifier $mod
# set variables
set $browser '/home/micah/qutebrowser/bin/qutebrowser'
set $browser '$HOME/qutebrowser/bin/qutebrowser'
set $term 'urxvt'
set $cliprog --no-startup-id zsh /home/micah/.config/i3/scripts/cliprog
set $runner --no-startup-id urxvt -e /home/micah/.config/i3/scripts/runner
set $cliprog --no-startup-id zsh $HOME/.config/i3/scripts/cliprog
set $runner --no-startup-id urxvt -e $HOME/.config/i3/scripts/runner
set $i3exit "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
set $defaultgaps 25
set $dmenu-font Terminus-14
@ -113,14 +113,14 @@ for_window [instance="tasks"] move scratchpad
exec --no-startup-id compton
# alternating layout script
#exec --no-startup-id ~/.config/i3/scripts/alternating_layouts.py
#exec --no-startup-id $HOME/.config/i3/scripts/alternating_layouts.py
# set up caps lock - press = escape, hold = ctrl
exec_always --no-startup-id setxkbmap -option ctrl:nocaps
exec_always --no-startup-id xcape -e 'Control_L=Escape'
# set wallpaper and colors
exec_always --no-startup-id feh --bg-scale ~/.config/wall
exec_always --no-startup-id feh --bg-scale $HOME/.config/wall
exec_always --no-startup-id wal -R
# application placements
@ -128,10 +128,10 @@ assign [class="Firefox"] $workspace1
assign [class="qutebrowser"] $workspace1
# status bar
exec_always --no-startup-id ~/.config/polybar/launch.sh
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
# start dual monitor
exec --no-startup-id ~/.config/Scripts/screen.sh d
exec --no-startup-id $HOME/.config/Scripts/screen.sh d
# browser
exec --no-startup-id $browser
@ -199,7 +199,7 @@ bindsym $mod+a focus parent
#bindsym $mod+Shift+Control+a
bindsym $mod+s split toggle
bindsym $mod+Shift+s exec --no-startup-id python2 ~/.config/i3/scripts/workspaceswap.py
bindsym $mod+Shift+s exec --no-startup-id python2 $HOME/.config/i3/scripts/workspaceswap.py
#bindsym $mod+Control+s
#bindsym $mod+Shift+Control+s
@ -209,7 +209,7 @@ bindsym $mod+d focus child
#bindsym $mod+Shift+Control+d
bindsym $mod+f fullscreen toggle
bindsym $mod+Shift+f exec --no-startup-id python2 ~/.config/i3/scripts/focus.py
bindsym $mod+Shift+f exec --no-startup-id python2 $HOME/.config/i3/scripts/focus.py
#bindsym $mod+Control+f
#bindsym $mod+Shift+Control+f
@ -258,7 +258,7 @@ bindsym $mod+Shift+v exec --no-startup-id $runner "rtv --no-flash"
#bindsym $mod+Control+v
#bindsym $mod+Shift+Control+v
bindsym $mod+b exec --no-startup-id ~/.config/Scripts/dmenuexpand ~/.bookmarks $browser "-i -nb $dmenu-bg-color -nf $dmenu-text-color -sb $dmenu-text-color -sf $dmenu-bg-color" "$dmenu-font"
bindsym $mod+b exec --no-startup-id $HOME/.config/Scripts/dmenuexpand $HOME/.bookmarks $browser "-i -nb $dmenu-bg-color -nf $dmenu-text-color -sb $dmenu-text-color -sf $dmenu-bg-color" "$dmenu-font"
#bindsym $mod+Shift+b
#bindsym $mod+Control+b
#bindsym $mod+Shift+Control+b
@ -387,19 +387,19 @@ bindsym $mod+Shift+space floating toggle
# FUNCTION KEYBINDINGS #
########################
bindsym $mod+F1 exec --no-startup-id ~/.config/Scripts/screen.sh l
bindsym $mod+F1 exec --no-startup-id $HOME/.config/Scripts/screen.sh l
#bindsym $mod+Shift+F1
bindsym $mod+F2 exec --no-startup-id ~/.config/Scripts/screen.sh r
bindsym $mod+F2 exec --no-startup-id $HOME/.config/Scripts/screen.sh r
#bindsym $mod+Shift+F2
bindsym $mod+F3 exec --no-startup-id ~/.config/Scripts/screen.sh d
bindsym $mod+F3 exec --no-startup-id $HOME/.config/Scripts/screen.sh d
#bindsym $mod+Shift+F3
#bindsym $mod+F4
#bindsym $mod+Shift+F4
bindsym $mod+F5 exec --no-startup-id ~/.config/i3/scripts/powersaver
bindsym $mod+F5 exec --no-startup-id $HOME/.config/i3/scripts/powersaver
#bindsym $mod+Shift+F5
#bindsym $mod+F6
@ -423,17 +423,17 @@ bindsym $mod+F5 exec --no-startup-id ~/.config/i3/scripts/powersaver
#bindsym $mod+F12
#bindsym $mod+Shift+F12
bindsym Print exec --no-startup-id ~/.config/i3/scripts/i3-scrot -d
bindsym Shift+Print exec --no-startup-id ~/.config/i3/scripts/i3-scrot -w
bindsym --release Control+Print exec --no-startup-id ~/.config/i3/scripts/i3-scrot -s
bindsym Print exec --no-startup-id $HOME/.config/i3/scripts/i3-scrot -d
bindsym Shift+Print exec --no-startup-id $HOME/.config/i3/scripts/i3-scrot -w
bindsym --release Control+Print exec --no-startup-id $HOME/.config/i3/scripts/i3-scrot -s
bindsym $mod+Scroll_Lock exec --no-startup-id ~/.config/i3/scripts/lock/lock.sh
bindsym $mod+Scroll_Lock exec --no-startup-id $HOME/.config/i3/scripts/lock/lock.sh
#bindsym $mod+Shift+Scroll_Lock
bindsym $mod+Pause exec --no-startup-id ~/.config/polybar/launch.sh
bindsym $mod+Pause exec --no-startup-id $HOME/.config/polybar/launch.sh
#bindsym $mod+Shift+Pause
bindsym $mod+Insert exec --no-startup-id bash /home/micah/.config/Scripts/screencast
bindsym $mod+Insert exec --no-startup-id bash $HOME/.config/Scripts/screencast
#bindsym $mod+Shift+Insert
bindsym $mod+Delete exec --no-startup-id killall ffmpeg & killall screenkey
@ -463,4 +463,4 @@ bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute $
#bindsym XF86MonBrightnessUp
#bindsym XF86MonBrightnessDown
bindsym XF86ScreenSaver exec --no-startup-id ~/.config/i3/scripts/lock/lock.sh
bindsym XF86ScreenSaver exec --no-startup-id $HOME/.config/i3/scripts/lock/lock.sh

8
i3-work/.config/i3/scripts/music

@ -1,7 +1,7 @@
#!/bin/bash
i3-msg "workspace 3"
i3-msg "append_layout ~/.config/i3/layouts/music.json"
i3-msg 'exec --no-startup-id urxvt -name mpsyt -e /home/micah/.config/i3/scripts/runner "mpsyt"'
i3-msg 'exec --no-startup-id urxvt -name cava -e /home/micah/.config/i3/scripts/runner "cava"'
i3-msg 'exec --no-startup-id urxvt -name gpymusic -e /home/micah/.config/i3/scripts/runner "gpymusic"'
i3-msg "append_layout $HOME/.config/i3/layouts/music.json"
i3-msg 'exec --no-startup-id urxvt -name mpsyt -e $HOME/.config/i3/scripts/runner "mpsyt"'
i3-msg 'exec --no-startup-id urxvt -name cava -e $HOME/.config/i3/scripts/runner "cava"'
i3-msg 'exec --no-startup-id urxvt -name gpymusic -e $HOME/.config/i3/scripts/runner "gpymusic"'

2
i3-work/.config/i3/scripts/runner

@ -1,5 +1,5 @@
#!/usr/bin/zsh
. ~/.zshrc
. $HOME/.zshrc
eval $1

72
i3/.config/i3/config

@ -5,8 +5,8 @@ floating_modifier $mod
# set variables
set $browser 'qutebrowser'
set $term 'urxvt'
set $cliprog --no-startup-id zsh /home/micah/.config/i3/scripts/cliprog
set $runner --no-startup-id urxvt -e /home/micah/.config/i3/scripts/runner
set $cliprog --no-startup-id zsh $HOME/.config/i3/scripts/cliprog
set $runner --no-startup-id urxvt -e $HOME/.config/i3/scripts/runner
set $i3exit "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
set $smallwidth 900
set $smallheight 640
@ -139,7 +139,7 @@ for_window [title="video1 - mpv"] border none
exec --no-startup-id compton
# alternating layout script
#exec --no-startup-id ~/.config/i3/scripts/alternating_layouts.py
#exec --no-startup-id $HOME/.config/i3/scripts/alternating_layouts.py
# set up caps lock - press = escape, hold = ctrl
exec_always --no-startup-id setxkbmap -option ctrl:nocaps
@ -149,8 +149,8 @@ exec_always --no-startup-id xcape -e 'Control_L=Escape'
exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0
# set wallpaper and colors
exec_always --no-startup-id feh --bg-scale ~/.config/wall
exec_always --no-startup-id wal -R -o /home/micah/.config/Scripts/wal-set
exec_always --no-startup-id feh --bg-scale $HOME/.config/wall
exec_always --no-startup-id wal -R -o $HOME/.config/Scripts/wal-set
# application placements
assign [class="Google-chrome"] $workspace1
@ -161,10 +161,10 @@ assign [class="Skype"] $workspace4
for_window [title="^pdfpc - present"] border none floating enable
# status bar
exec_always --no-startup-id ~/.config/polybar/launch.sh
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
# start dual monitor
exec --no-startup-id ~/.config/Scripts/screen.sh -r HDMI-2 -p HDMI-3
exec --no-startup-id $HOME/.config/Scripts/screen.sh -r HDMI-2 -p HDMI-3
# browser
exec --no-startup-id $browser
@ -202,7 +202,7 @@ bindsym $mod+Shift+t exec --no-startup-id $cliprog tasks "htop"
#bindsym $mod+Shift+Control+t
#bindsym $mod+y
bindsym $mod+Shift+y exec --no-startup-id $term -name mpsyt -e /home/micah/.config/i3/scripts/runner "mpsyt"
bindsym $mod+Shift+y exec --no-startup-id $term -name mpsyt -e $HOME/.config/i3/scripts/runner "mpsyt"
#bindsym $mod+Control+y
#bindsym $mod+Shift+Control+y
@ -217,7 +217,7 @@ bindsym $mod+u exec --no-startup-id $cliprog dropdown "tmuxinator
#bindsym $mod+Shift+Control+i
#bindsym $mod+o
bindsym $mod+Shift+o exec --no-startup-id /home/micah/.config/Scripts/vim-anywhere.sh
bindsym $mod+Shift+o exec --no-startup-id $HOME/.config/Scripts/vim-anywhere.sh
#bindsym $mod+Control+o
#bindsym $mod+Shift+Control+o
@ -232,12 +232,12 @@ bindsym $mod+Shift+a exec --no-startup-id $cliprog ncpamixer "ncpamixer"
#bindsym $mod+Shift+Control+a
bindsym $mod+s split toggle
bindsym $mod+Shift+s exec --no-startup-id python2 ~/.config/i3/scripts/workspaceswap.py
bindsym $mod+Shift+s exec --no-startup-id python2 $HOME/.config/i3/scripts/workspaceswap.py
#bindsym $mod+Control+s
#bindsym $mod+Shift+Control+s
bindsym $mod+d focus child
bindsym $mod+Shift+d exec --no-startup-id zsh /home/micah/.config/i3/scripts/dirty
bindsym $mod+Shift+d exec --no-startup-id zsh $HOME/.config/i3/scripts/dirty
#bindsym $mod+Control+d
#bindsym $mod+Shift+Control+d
@ -247,9 +247,9 @@ bindsym $mod+Shift+f exec --no-startup-id firefox
#bindsym $mod+Shift+Control+f
#bindsym $mod+g
bindsym $mod+Shift+g exec --no-startup-id zsh /home/micah/.config/i3/scripts/music
bindsym $mod+Shift+g exec --no-startup-id zsh $HOME/.config/i3/scripts/music
#bindsym $mod+Control+g
bindsym $mod+Shift+Control+g exec --no-startup-id killall gpymusic & killall mpsyt & killall cava & echo '' > /home/micah/.nowplaying
bindsym $mod+Shift+Control+g exec --no-startup-id killall gpymusic & killall mpsyt & killall cava & echo '' > $HOME/.nowplaying
bindsym $mod+h focus left
bindsym $mod+Shift+h move left
@ -291,7 +291,7 @@ bindsym $mod+Shift+v exec --no-startup-id $runner "rtv --no-flash"
#bindsym $mod+Control+v
#bindsym $mod+Shift+Control+v
bindsym $mod+b exec --no-startup-id ~/.config/Scripts/dmenuexpand ~/.bookmarks $browser "-i -nb $dmenu-bg-color -nf $dmenu-text-color -sb $dmenu-text-color -sf $dmenu-bg-color" "$dmenu-font"
bindsym $mod+b exec --no-startup-id $HOME/.config/Scripts/dmenuexpand $HOME/.bookmarks $browser "-i -nb $dmenu-bg-color -nf $dmenu-text-color -sb $dmenu-text-color -sf $dmenu-bg-color" "$dmenu-font"
#bindsym $mod+Shift+b
#bindsym $mod+Control+b
#bindsym $mod+Shift+Control+b
@ -302,7 +302,7 @@ bindsym $mod+Shift+n exec --no-startup-id $runner "newsboat"
#bindsym $mod+Shift+Control+n
bindsym $mod+m exec --no-startup-id $cliprog email "neomutt"
bindsym $mod+Shift+m exec --no-startup-id $term -name gpymusic -e /home/micah/.config/i3/scripts/runner "gpymusic"
bindsym $mod+Shift+m exec --no-startup-id $term -name gpymusic -e $HOME/.config/i3/scripts/runner "gpymusic"
#bindsym $mod+Control+m
bindsym $mod+Shift+Control+m exec --no-startup-id amixer -D pulse sset Master toggle
@ -388,7 +388,7 @@ bindsym $mod+Shift+backslash exec --no-startup-id networkmanager_dmen
#bindsym $mod+Shift+Control+backslash
#bindsym $mod+semicolon
bindsym $mod+Shift+semicolon exec --no-startup-id $term -name cava -e /home/micah/.config/i3/scripts/runner "cava"
bindsym $mod+Shift+semicolon exec --no-startup-id $term -name cava -e $HOME/.config/i3/scripts/runner "cava"
#bindsym $mod+Shift+Control+semicolon
#bindsym $mod+apostrophe
@ -413,26 +413,26 @@ bindsym $mod+Shift+Return exec --no-startup-id j4-dmenu-desktop --
bindsym $mod+space focus mode_toggle
bindsym $mod+Shift+space floating toggle
bindsym $mod+Shift+Control+space exec --no-startup-id echo "cycle pause" > ~/.config/mpv/control
bindsym $mod+Shift+Control+space exec --no-startup-id echo "cycle pause" > $HOME/.config/mpv/control
########################
# FUNCTION KEYBINDINGS #
########################
bindsym $mod+F1 exec --no-startup-id ~/.config/Scripts/screen.sh HDMI-3
bindsym $mod+F1 exec --no-startup-id $HOME/.config/Scripts/screen.sh HDMI-3
#bindsym $mod+Shift+F1
bindsym $mod+F2 exec --no-startup-id ~/.config/Scripts/screen.sh HDMI-2
bindsym $mod+F2 exec --no-startup-id $HOME/.config/Scripts/screen.sh HDMI-2
#bindsym $mod+Shift+F2
bindsym $mod+F3 exec --no-startup-id ~/.config/Scripts/screen.sh -r HDMI-2 HDMI-3
bindsym $mod+Shift+F3 exec --no-startup-id ~/.config/Scripts/screen.sh -r HDMI-2 -p HDMI-3
bindsym $mod+F3 exec --no-startup-id $HOME/.config/Scripts/screen.sh -r HDMI-2 HDMI-3
bindsym $mod+Shift+F3 exec --no-startup-id $HOME/.config/Scripts/screen.sh -r HDMI-2 -p HDMI-3
bindsym $mod+F4 exec --no-startup-id ~/.config/Scripts/screen.sh LVDS-1
bindsym $mod+F4 exec --no-startup-id $HOME/.config/Scripts/screen.sh LVDS-1
#bindsym $mod+Shift+F4
bindsym $mod+F5 exec --no-startup-id ~/.config/i3/scripts/powersaver
bindsym $mod+F5 exec --no-startup-id $HOME/.config/i3/scripts/powersaver
#bindsym $mod+Shift+F5
#bindsym $mod+F6
@ -453,21 +453,21 @@ bindsym $mod+F5 exec --no-startup-id ~/.config/i3/scripts/powersaver
#bindsym $mod+F11
#bindsym $mod+Shift+F11
bindsym $mod+F12 exec --no-startup-id ~/.config/i3/scripts/toggletrackpad
bindsym $mod+F12 exec --no-startup-id $HOME/.config/i3/scripts/toggletrackpad
#bindsym $mod+Shift+F12
bindsym Print exec --no-startup-id ~/.config/i3/scripts/i3-scrot -d
bindsym Shift+Print exec --no-startup-id ~/.config/i3/scripts/i3-scrot -w
bindsym --release Control+Print exec --no-startup-id ~/.config/i3/scripts/i3-scrot -s
bindsym Shift+Control+Print exec --no-startup-id ~/.config/i3/scripts/camtoggle
bindsym Print exec --no-startup-id $HOME/.config/i3/scripts/i3-scrot -d
bindsym Shift+Print exec --no-startup-id $HOME/.config/i3/scripts/i3-scrot -w
bindsym --release Control+Print exec --no-startup-id $HOME/.config/i3/scripts/i3-scrot -s
bindsym Shift+Control+Print exec --no-startup-id $HOME/.config/i3/scripts/camtoggle
bindsym $mod+Scroll_Lock exec --no-startup-id ~/.config/Scripts/lock/lock.sh
bindsym $mod+Scroll_Lock exec --no-startup-id $HOME/.config/Scripts/lock/lock.sh
#bindsym $mod+Shift+Scroll_Lock
bindsym $mod+Pause exec --no-startup-id ~/.config/polybar/launch.sh
bindsym $mod+Pause exec --no-startup-id $HOME/.config/polybar/launch.sh
#bindsym $mod+Shift+Pause
bindsym $mod+Insert exec --no-startup-id bash /home/micah/.config/Scripts/screencast
bindsym $mod+Insert exec --no-startup-id bash $HOME/.config/Scripts/screencast
#bindsym $mod+Shift+Insert
bindsym $mod+Delete exec --no-startup-id killall ffmpeg & killall screenkey
@ -490,13 +490,13 @@ bindsym XF86AudioRaiseVolume exec --no-startup-id amixer -D pulse sse
bindsym XF86AudioMute exec --no-startup-id amixer -D pulse sset Master toggle
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute $(pacmd list-sources|awk '/\* index:/{ print $3 }') toggle
bindsym XF86AudioPause exec --no-startup-id echo "cycle pause" > ~/.config/mpv/control
bindsym XF86AudioNext exec --no-startup-id echo "playlist-next" > ~/.config/mpv/control
bindsym XF86AudioPrev exec --no-startup-id echo "playlist-prev" > ~/.config/mpv/control
bindsym XF86AudioPause exec --no-startup-id echo "cycle pause" > $HOME/.config/mpv/control
bindsym XF86AudioNext exec --no-startup-id echo "playlist-next" > $HOME/.config/mpv/control
bindsym XF86AudioPrev exec --no-startup-id echo "playlist-prev" > $HOME/.config/mpv/control
bindsym XF86MonBrightnessUp exec --no-startup-id light -A 10
bindsym XF86MonBrightnessDown exec --no-startup-id light -U 10
bindsym XF86ScreenSaver exec --no-startup-id ~/.config/Scripts/lock/lock.sh
bindsym XF86ScreenSaver exec --no-startup-id $HOME/.config/Scripts/lock/lock.sh
bindsym XF86Launch1 exec --no-startup-id ~/.config/polybar/launch.sh
bindsym XF86Launch1 exec --no-startup-id $HOME/.config/polybar/launch.sh

6
i3/.config/i3/scripts/dirty

@ -1,7 +1,7 @@
#!/bin/bash
i3-msg "workspace 2"
i3-msg "append_layout ~/.config/i3/layouts/dirty.json"
i3-msg 'exec --no-startup-id urxvt -name asciiquarium -e /home/micah/.config/i3/scripts/runner "asciiquarium"'
i3-msg 'exec --no-startup-id urxvt -name cmatrix -e /home/micah/.config/i3/scripts/runner "cmatrix"'
i3-msg "append_layout $HOME/.config/i3/layouts/dirty.json"
i3-msg 'exec --no-startup-id urxvt -name asciiquarium -e $HOME/.config/i3/scripts/runner "asciiquarium"'
i3-msg 'exec --no-startup-id urxvt -name cmatrix -e $HOME/.config/i3/scripts/runner "cmatrix"'
i3-msg 'exec --no-startup-id urxvt -name urxvt'

8
i3/.config/i3/scripts/music

@ -1,7 +1,7 @@
#!/bin/bash
i3-msg "workspace 3"
i3-msg "append_layout ~/.config/i3/layouts/music.json"
i3-msg 'exec --no-startup-id urxvt -name mpsyt -e /home/micah/.config/i3/scripts/runner "mpsyt"'
i3-msg 'exec --no-startup-id urxvt -name cava -e /home/micah/.config/i3/scripts/runner "cava"'
i3-msg 'exec --no-startup-id urxvt -name gpymusic -e /home/micah/.config/i3/scripts/runner "gpymusic"'
i3-msg "append_layout $HOME/.config/i3/layouts/music.json"
i3-msg 'exec --no-startup-id urxvt -name mpsyt -e $HOME/.config/i3/scripts/runner "mpsyt"'
i3-msg 'exec --no-startup-id urxvt -name cava -e $HOME/.config/i3/scripts/runner "cava"'
i3-msg 'exec --no-startup-id urxvt -name gpymusic -e $HOME/.config/i3/scripts/runner "gpymusic"'

2
i3/.config/i3/scripts/runner

@ -1,5 +1,5 @@
#!/usr/bin/zsh
. ~/.zshrc
. $HOME/.zshrc
eval $1

8
khal/.config/khal/academicconfig

@ -5,21 +5,21 @@ highlight_event_days = True
[calendars]
[[GT Schedule]]
path = ~/.Calendar/Gcal/kqa17ut755b56qk9c887nenh2c@group.calendar.google.com
path = $HOME/.Calendar/Gcal/kqa17ut755b56qk9c887nenh2c@group.calendar.google.com
color = brown
[[Tribe]]
path = ~/.Calendar/Gcal/euo2u43omi9i1emci84sdgcq78@group.calendar.google.com
path = $HOME/.Calendar/Gcal/euo2u43omi9i1emci84sdgcq78@group.calendar.google.com
color = dark blue
readonly = True
[[Georgia Tech Academic Calendar]]
path = ~/.Calendar/Gcal/k183h47bi8p0494t36spls4bn2q74kk6@import.calendar.google.com
path = $HOME/.Calendar/Gcal/k183h47bi8p0494t36spls4bn2q74kk6@import.calendar.google.com
color = yellow
readonly = True
[[Holidays]]
path = ~/.Calendar/Gcal/cln2stbjc4hmgrrcd5i62ua0ctp6utbg5pr2sor1dhimsp31e8n6errfctm6abj3dtmg@virtual
path = $HOME/.Calendar/Gcal/cln2stbjc4hmgrrcd5i62ua0ctp6utbg5pr2sor1dhimsp31e8n6errfctm6abj3dtmg@virtual
color = dark magenta
readonly = True

12
khal/.config/khal/config

@ -5,30 +5,30 @@ highlight_event_days = True
[calendars]
[[GT Schedule]]
path = ~/.Calendar/Gcal/kqa17ut755b56qk9c887nenh2c@group.calendar.google.com
path = $HOME/.Calendar/Gcal/kqa17ut755b56qk9c887nenh2c@group.calendar.google.com
color = brown
[[Chloe]]
path = ~/.Calendar/Gcal/chloe.fang97@gmail.com
path = $HOME/.Calendar/Gcal/chloe.fang97@gmail.com
color = dark green
readonly = True
[[Tribe]]
path = ~/.Calendar/Gcal/euo2u43omi9i1emci84sdgcq78@group.calendar.google.com
path = $HOME/.Calendar/Gcal/euo2u43omi9i1emci84sdgcq78@group.calendar.google.com
color = dark blue
readonly = True
[[Micah]]
path = ~/.Calendar/Gcal/mhalter3378@gmail.com
path = $HOME/.Calendar/Gcal/mhalter3378@gmail.com
color = light blue
[[Family]]
path = ~/.Calendar/Gcal/family13611266242384238142@group.calendar.google.com
path = $HOME/.Calendar/Gcal/family13611266242384238142@group.calendar.google.com
color = dark cyan
readonly = True
[[Holidays]]
path = ~/.Calendar/Gcal/cln2stbjc4hmgrrcd5i62ua0ctp6utbg5pr2sor1dhimsp31e8n6errfctm6abj3dtmg@virtual
path = $HOME/.Calendar/Gcal/cln2stbjc4hmgrrcd5i62ua0ctp6utbg5pr2sor1dhimsp31e8n6errfctm6abj3dtmg@virtual
color = dark magenta
readonly = True

14
khal/.config/khal/fullconfig

@ -5,35 +5,35 @@ highlight_event_days = True
[calendars]
[[GT Schedule]]
path = ~/.Calendar/Gcal/kqa17ut755b56qk9c887nenh2c@group.calendar.google.com
path = $HOME/.Calendar/Gcal/kqa17ut755b56qk9c887nenh2c@group.calendar.google.com
color = brown
[[Chloe]]
path = ~/.Calendar/Gcal/chloe.fang97@gmail.com
path = $HOME/.Calendar/Gcal/chloe.fang97@gmail.com
color = dark green
readonly = True
[[Tribe]]
path = ~/.Calendar/Gcal/euo2u43omi9i1emci84sdgcq78@group.calendar.google.com
path = $HOME/.Calendar/Gcal/euo2u43omi9i1emci84sdgcq78@group.calendar.google.com
color = dark blue
readonly = True
[[Micah]]
path = ~/.Calendar/Gcal/mhalter3378@gmail.com
path = $HOME/.Calendar/Gcal/mhalter3378@gmail.com
color = light blue
[[Family]]
path = ~/.Calendar/Gcal/family13611266242384238142@group.calendar.google.com
path = $HOME/.Calendar/Gcal/family13611266242384238142@group.calendar.google.com
color = dark cyan
readonly = True
[[Holidays]]
path = ~/.Calendar/Gcal/cln2stbjc4hmgrrcd5i62ua0ctp6utbg5pr2sor1dhimsp31e8n6errfctm6abj3dtmg@virtual
path = $HOME/.Calendar/Gcal/cln2stbjc4hmgrrcd5i62ua0ctp6utbg5pr2sor1dhimsp31e8n6errfctm6abj3dtmg@virtual
color = dark magenta
readonly = True
[[Georgia Tech Academic Calendar]]
path = ~/.Calendar/Gcal/k183h47bi8p0494t36spls4bn2q74kk6@import.calendar.google.com
path = $HOME/.Calendar/Gcal/k183h47bi8p0494t36spls4bn2q74kk6@import.calendar.google.com
color = light gray
readonly = True

1
khard/.config/khard/khard.conf

@ -38,4 +38,3 @@ preferred_version = 3.0
search_in_source_files = yes
# skip unparsable vcard files: yes / no
skip_unparsable = no

4
msmtp/.msmtprc

@ -10,7 +10,7 @@ tls_trust_file /etc/ssl/certs/ca-certificates.crt
account gmail
from micah@mehalter.com
user mhalter3378@gmail.com
passwordeval "gpg2 --passphrase-file /home/micah/.gnupg/passphrase --quiet --for-your-eyes-only --no-tty --decrypt ~/.mail-gmailunsecure-passwd.gpg"
passwordeval "gpg2 --passphrase-file $HOME/.gnupg/passphrase --quiet --for-your-eyes-only --no-tty --decrypt $HOME/.mail-gmailunsecure-passwd.gpg"
host smtp.gmail.com
port 587
@ -18,6 +18,6 @@ port 587
account gatech
from mehalter@gatech.edu
user mhalter3@gatech.edu
passwordeval "gpg2 --passphrase-file /home/micah/.gnupg/passphrase --quiet --for-your-eyes-only --no-tty --decrypt ~/.mail-gatech-passwd.gpg"
passwordeval "gpg2 --passphrase-file $HOME/.gnupg/passphrase --quiet --for-your-eyes-only --no-tty --decrypt $HOME/.mail-gatech-passwd.gpg"
host outlook.office365.com
port 587

4
mutt/.config/mutt/gatechrc

@ -4,14 +4,14 @@ set realname = "Micah Halter"
set from = "mehalter@gatech.edu"
set mbox_type = Maildir
set sendmail = "/usr/bin/msmtp -a gatech"
set folder = "~/.Mail/Gatech"
set folder = "$HOME/.Mail/Gatech"
set spoolfile = "+INBOX"
set record = "+Sent Items"
set postponed = "+Drafts"
macro index S '<sync-mailbox><enter-command>source ~/.config/mutt/gmailrc<enter><change-folder>!<enter>'
macro index S '<sync-mailbox><enter-command>source $HOME/.config/mutt/gmailrc<enter><change-folder>!<enter>'
macro index i "<shell-escape>offlineimap -q -a gatech -f INBOX<enter>" "sync current inbox"
macro index I "<shell-escape>offlineimap -q -a gatech<enter>" "sync current inbox"

4
mutt/.config/mutt/gmailrc

@ -4,14 +4,14 @@ set realname = "Micah Halter"
set from = "micah@mehalter.com"
set mbox_type = Maildir
set sendmail = "/usr/bin/msmtp -a gmail"
set folder = "~/.Mail/Gmail"
set folder = "$HOME/.Mail/Gmail"
set spoolfile = "+INBOX"
set record = /dev/null
set mbox = "+[Gmail].other"
set postponed = "+[Gmail].Drafts"
macro index S '<sync-mailbox><enter-command>source ~/.config/mutt/gatechrc<enter><change-folder>!<enter>'
macro index S '<sync-mailbox><enter-command>source $HOME/.config/mutt/gatechrc<enter><change-folder>!<enter>'
macro index i "<shell-escape>offlineimap -q -a gmail -f INBOX<enter>" "sync current inbox"
macro index I "<shell-escape>offlineimap -q -a gmail<enter>" "sync current inbox"

2
mutt/.config/mutt/mailcap

@ -2,4 +2,4 @@ text/html; w3m -I %{charset} -T text/html; copiousoutput;
text/html; mv %s %s.html && qutebrowser %s.html > /dev/null; needsterminal;
image/*; ~/.config/mutt/muttimage.sh %s ; copiousoutput
image/*; $HOME/.config/mutt/muttimage.sh %s ; copiousoutput

10
mutt/.config/mutt/muttrc

@ -1,14 +1,14 @@
source ~/.config/mutt/gmailrc
source ~/.config/mutt/muttcol
source ~/.config/mutt/aliases
source $HOME/.config/mutt/gmailrc
source $HOME/.config/mutt/muttcol
source $HOME/.config/mutt/aliases
set editor = vim
set timeout = "5"
set mail_check = "10"
set mailcap_path = ~/.config/mutt/mailcap
set mailcap_path = $HOME/.config/mutt/mailcap
set date_format="%m/%d %I:%M"
set index_format="%?M?+& ?%2M %2C %Z %d %-15.15F %s (%-4.4c)"
set signature = ~/.config/mutt/signature
set signature = $HOME/.config/mutt/signature
# Threads
set sort = 'threads'

2
neofetch/.config/neofetch/config

@ -614,7 +614,7 @@ image_loop="off"
# Thumbnail directory
#
# Default: '~/.cache/thumbnails/neofetch'
# Default: '$HOME/.cache/thumbnails/neofetch'
# Values: 'dir'
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"

8
neovim/.config/nvim/init.vim

@ -2,7 +2,7 @@
" => Plug
""""""""""""""""""""""""""""
call plug#begin('~/.config/nvim/plugged-remote')
call plug#begin('$HOME/.config/nvim/plugged-remote')
Plug 'https://github.com/dhruvasagar/vim-table-mode'
Plug 'https://github.com/dylanaraps/wal.vim'
Plug 'https://github.com/edkolev/tmuxline.vim'
@ -10,7 +10,7 @@ Plug 'https://github.com/fatih/vim-go', { 'do': ':GoUpdateBinaries' }
Plug 'https://github.com/glts/vim-textobj-comment'
Plug 'https://github.com/honza/vim-snippets'
Plug 'https://github.com/itchyny/lightline.vim'
Plug 'https://github.com/junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'https://github.com/junegunn/fzf', { 'dir': '$HOME/.fzf', 'do': './install --all' }
Plug 'https://github.com/junegunn/fzf.vim'
Plug 'https://github.com/junegunn/goyo.vim'
Plug 'https://github.com/kana/vim-textobj-indent'
@ -63,7 +63,7 @@ augroup startup
augroup END
" persistent undo
try
set undodir=~/.undodir
set undodir=$HOME/.undodir
set undofile
catch
endtry
@ -399,7 +399,7 @@ augroup END
" Auto build configs on edit of certain files
augroup shortcuts
autocmd BufWritePost ~/dotfiles/scripts/.config/Scripts/configs,~/dotfiles/scripts/.config/Scripts/folders !bash ~/.config/Scripts/shortcuts.sh
autocmd BufWritePost $HOME/dotfiles/scripts/.config/Scripts/configs,$HOME/dotfiles/scripts/.config/Scripts/folders !bash $HOME/.config/Scripts/shortcuts.sh
augroup END
" Markdown Settings

6
offlineimap/.offlineimaprc

@ -3,7 +3,7 @@ accounts = gmail, gatech
starttls = yes
ssl = yes
autorefresh = 1
pythonfile = ~/.offlineimap.py
pythonfile = $HOME/.offlineimap.py
[Account gmail]
@ -20,7 +20,7 @@ sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Repository gmail-local]
type = Maildir
localfolders = ~/.Mail/Gmail
localfolders = $HOME/.Mail/Gmail
[Account gatech]
@ -38,4 +38,4 @@ sslcacertfile = /etc/ssl/certs/ca-certificates.crt
[Repository gatech-local]
type = Maildir
localfolders = ~/.Mail/Gatech
localfolders = $HOME/.Mail/Gatech

2
offlineimap/.offlineimapsync.sh

@ -1,6 +1,6 @@
#!/bin/bash
imapserver=$(cat ~/.offlineimaprc | grep remotehost | awk '{print $3}')
imapserver=$(cat $HOME/.offlineimaprc | grep remotehost | awk '{print $3}')
imapactive=$(ps -ef | grep '/usr/bin/[o]fflineimap' | wc -l)
netactive=$(ping -c3 $imapserver > /dev/null 2>&1 && echo up || echo down)

4
polybar-work/.config/polybar/scripts/mail

@ -1,7 +1,7 @@
#!/bin/bash
if [[ -d ~/.Mail ]]; then
out=$(find ~/.Mail/Gatech/INBOX/new ~/.Mail/Gmail/INBOX/new -type f|wc -l)
if [[ -d $HOME/.Mail ]]; then
out=$(find $HOME/.Mail/Gatech/INBOX/new $HOME/.Mail/Gmail/INBOX/new -type f|wc -l)
if [ "$out" != "0" ]; then
echo $out

4
polybar-work/.config/polybar/scripts/music

@ -1,7 +1,7 @@
#!/bin/bash
if [[ -f ~/.nowplaying ]]; then
full=`cat ~/.nowplaying`
if [[ -f $HOME/.nowplaying ]]; then
full=`cat $HOME/.nowplaying`
if [ "$full" != "" ]; then
title=`echo "$full"|cut -d '-' -f 1|cut -d ' ' -f 2-|xargs -0`
artist=`echo "$full"|cut -d '-' -f 2|xargs -0`

4
polybar/.config/polybar/scripts/mail

@ -1,7 +1,7 @@
#!/bin/bash
if [[ -d ~/.Mail ]]; then
out=$(find ~/.Mail/Gatech/INBOX/new ~/.Mail/Gmail/INBOX/new -type f|wc -l)
if [[ -d $HOME/.Mail ]]; then
out=$(find $HOME/.Mail/Gatech/INBOX/new $HOME/.Mail/Gmail/INBOX/new -type f|wc -l)
if [ "$out" != "0" ]; then
echo $out

4
polybar/.config/polybar/scripts/music

@ -1,7 +1,7 @@
#!/bin/bash
if [[ -f ~/.nowplaying ]]; then
full=`cat ~/.nowplaying`
if [[ -f $HOME/.nowplaying ]]; then
full=`cat $HOME/.nowplaying`
if [ "$full" != "" ]; then
title=`echo "$full"|cut -d '-' -f 1|cut -d ' ' -f 2-|xargs -0`
artist=`echo "$full"|cut -d '-' -f 2|xargs -0`

2
ranger-work/.config/ranger/commands.py

@ -99,7 +99,7 @@ class pingo(Command):
def execute(self):
import subprocess
import os.path
command="cat ~/.pins|fzf -n 1|awk '{print $1 \":\" $2}'"
command="cat $HOME/.pins|fzf -n 1|awk '{print $1 \":\" $2}'"
fzf = self.fm.execute_command(command, stdout=subprocess.PIPE)
stdout, stderr = fzf.communicate()
if fzf.returncode == 0:

14
ranger-work/.config/ranger/rc.conf

@ -4,7 +4,7 @@ set column_ratios 1,3,4
set hidden_filter ^\.|\.(?:pyc|vrb|pyo|bak|swp|aux|log|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)$|^lost\+found$|^__(py)?cache__$
set show_hidden false
set confirm_on_delete multiple
set preview_script ~/.config/ranger/scope.sh
set preview_script $HOME/.config/ranger/scope.sh
set use_preview_script true
set automatically_count_files true
set open_all_images true
@ -438,7 +438,7 @@ copytmap <ESC> q Q w <C-c>
# General
map vi console shell vim%space
map mkd console mkdir%space
map x shell ~/.config/Scripts/extract %f
map x shell $HOME/.config/Scripts/extract %f
map Z shell tar -cvzf %f.tar.gz %s
map <C-f> fzf_select
@ -448,12 +448,12 @@ map pg pingo
# Document
map MP shell pandoc %f --latex-engine=xelatex -o %f.pdf
map ML shell rubber -m xelatex %f
map Txa console shell cp ~/data/Documents/LaTeX/templates/article.tex%space
map Txb console shell cp ~/data/Documents/LaTeX/templates/beamer.tex%space
map Txa console shell cp $HOME/data/Documents/LaTeX/templates/article.tex%space
map Txb console shell cp $HOME/data/Documents/LaTeX/templates/beamer.tex%space
# Image
map bg shell \cp -f %f ~/.config/wall && \cp -f %f /usr/share/wallpaper/wall && feh --bg-scale %f
map bw shell wal -g -c -i %f -o /home/micah/.config/Scripts/wal-set && \cp -f %f ~/.config/wall && \cp -f %f /usr/share/wallpaper/wall
map bg shell \cp -f %f $HOME/.config/wall && \cp -f %f /usr/share/wallpaper/wall && feh --bg-scale %f
map bw shell wal -g -c -i %f -o $HOME/.config/Scripts/wal-set && \cp -f %f $HOME/.config/wall && \cp -f %f /usr/share/wallpaper/wall
map C shell convert -rotate 90 %s %s
map F shell convert -flop %s %s
@ -463,4 +463,4 @@ map yta console shell youtube-dl -xic%space
map arc console shell aria2c%space
# External Shortcuts
source ~/.config/ranger/shortcuts.conf
source $HOME/.config/ranger/shortcuts.conf

106
ranger-work/.config/ranger/shortcuts.conf

@ -3,18 +3,18 @@ map gb cd -
map tb tab_new -
map mb shell mv %s -
map Yb shell cp -r %s -
map gcf cd ~/.config
map tcf tab_new ~/.config
map mcf shell mv %s ~/.config
map Ycf shell cp -r %s ~/.config
map gd cd ~/Documents
map td tab_new ~/Documents
map md shell mv %s ~/Documents
map Yd shell cp -r %s ~/Documents
map gD cd ~/Downloads
map tD tab_new ~/Downloads
map mD shell mv %s ~/Downloads
map YD shell cp -r %s ~/Downloads
map gcf cd $HOME/.config
map tcf tab_new $HOME/.config
map mcf shell mv %s $HOME/.config
map Ycf shell cp -r %s $HOME/.config
map gd cd $HOME/Documents
map td tab_new $HOME/Documents
map md shell mv %s $HOME/Documents
map Yd shell cp -r %s $HOME/Documents
map gD cd $HOME/Downloads
map tD tab_new $HOME/Downloads
map mD shell mv %s $HOME/Downloads
map YD shell cp -r %s $HOME/Downloads
map ge cd /etc
map te tab_new /etc
map me shell mv %s /etc
@ -23,56 +23,56 @@ map gh cd ~
map th tab_new ~
map mh shell mv %s ~
map Yh shell cp -r %s ~
map gm cd ~/Music
map tm tab_new ~/Music
map mm shell mv %s ~/Music
map Ym shell cp -r %s ~/Music
map gm cd $HOME/Music
map tm tab_new $HOME/Music
map mm shell mv %s $HOME/Music
map Ym shell cp -r %s $HOME/Music
map go cd /opt
map to tab_new /opt
map mo shell mv %s /opt
map Yo shell cp -r %s /opt
map gp cd ~/Pictures
map tp tab_new ~/Pictures
map mp shell mv %s ~/Pictures
map Yp shell cp -r %s ~/Pictures
map gp cd $HOME/Pictures
map tp tab_new $HOME/Pictures
map mp shell mv %s $HOME/Pictures
map Yp shell cp -r %s $HOME/Pictures
map gr cd /
map tr tab_new /
map mr shell mv %s /
map Yr shell cp -r %s /
map gs cd ~/Documents/School-Work
map ts tab_new ~/Documents/School-Work
map ms shell mv %s ~/Documents/School-Work
map Ys shell cp -r %s ~/Documents/School-Work
map gS cd ~/.config/Scripts
map tS tab_new ~/.config/Scripts
map mS shell mv %s ~/.config/Scripts
map YS shell cp -r %s ~/.config/Scripts
map gs cd $HOME/Documents/School-Work
map ts tab_new $HOME/Documents/School-Work
map ms shell mv %s $HOME/Documents/School-Work
map Ys shell cp -r %s $HOME/Documents/School-Work
map gS cd $HOME/.config/Scripts
map tS tab_new $HOME/.config/Scripts
map mS shell mv %s $HOME/.config/Scripts
map YS shell cp -r %s $HOME/.config/Scripts
map gu cd /usr
map tu tab_new /usr
map mu shell mv %s /usr
map Yu shell cp -r %s /usr
map gv cd ~/Videos
map tv tab_new ~/Videos
map mv shell mv %s ~/Videos
map Yv shell cp -r %s ~/Videos
map gwp cd ~/Pictures/wallpapers
map twp tab_new ~/Pictures/wallpapers
map mwp shell mv %s ~/Pictures/wallpapers
map Ywp shell cp -r %s ~/Pictures/wallpapers
map g.f cd ~/dotfiles
map t.f tab_new ~/dotfiles
map m.f shell mv %s ~/dotfiles
map Y.f shell cp -r %s ~/dotfiles
map cfa shell nvim ~/.zsh_aliases
map cfb shell nvim ~/.bashrc
map cfcf shell nvim ~/.config/Scripts/configs
map cff shell nvim ~/.config/Scripts/folders
map cfi shell nvim ~/.config/i3/config
map cfp shell nvim ~/.config/polybar/config
map cfq shell nvim ~/.config/qutebrowser/config.py
map cfr shell nvim ~/.config/ranger/rc.conf
map cft shell nvim ~/.tmux.conf
map cfv shell nvim ~/.config/nvim/init.vim
map cfx shell nvim ~/.Xdefaults
map cfw shell nvim ~/.bookmarks
map cfz shell nvim ~/.zshrc
map gv cd $HOME/Videos
map tv tab_new $HOME/Videos
map mv shell mv %s $HOME/Videos
map Yv shell cp -r %s $HOME/Videos
map gwp cd $HOME/Pictures/wallpapers
map twp tab_new $HOME/Pictures/wallpapers
map mwp shell mv %s $HOME/Pictures/wallpapers
map Ywp shell cp -r %s $HOME/Pictures/wallpapers
map g.f cd $HOME/dotfiles
map t.f tab_new $HOME/dotfiles
map m.f shell mv %s $HOME/dotfiles
map Y.f shell cp -r %s $HOME/dotfiles
map cfa shell nvim $HOME/.zsh_aliases
map cfb shell nvim $HOME/.bashrc
map cfcf shell nvim $HOME/.config/Scripts/configs
map cff shell nvim $HOME/.config/Scripts/folders
map cfi shell nvim $HOME/.config/i3/config
map cfp shell nvim $HOME/.config/polybar/config
map cfq shell nvim $HOME/.config/qutebrowser/config.py
map cfr shell nvim $HOME/.config/ranger/rc.conf
map cft shell nvim $HOME/.tmux.conf
map cfv shell nvim $HOME/.config/nvim/init.vim
map cfx shell nvim $HOME/.Xdefaults
map cfw shell nvim $HOME/.bookmarks
map cfz shell nvim $HOME/.zshrc

2
ranger/.config/ranger/bookmarks

@ -1 +1 @@
':/home/micah/Pictures/wallpapers
':/home/micah/Documents/GTRI/sonar/sasdb

2
ranger/.config/ranger/commands.py

@ -99,7 +99,7 @@ class pingo(Command):
def execute(self):
import subprocess
import os.path
command="cat ~/.pins|fzf -n 1|awk '{print $1 \":\" $2}'"
command="cat $HOME/.pins|fzf -n 1|awk '{print $1 \":\" $2}'"
fzf = self.fm.execute_command(command, stdout=subprocess.PIPE)
stdout, stderr = fzf.communicate()
if fzf.returncode == 0:

20
ranger/.config/ranger/rc.conf

@ -4,7 +4,7 @@ set column_ratios 1,3,4
set hidden_filter ^\.|\.(?:pyc|vrb|pyo|bak|swp|aux|log|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl)$|^lost\+found$|^__(py)?cache__$
set show_hidden false
set confirm_on_delete multiple
set preview_script ~/.config/ranger/scope.sh
set preview_script $HOME/.config/ranger/scope.sh
set use_preview_script true
set automatically_count_files true
set open_all_images true
@ -438,7 +438,7 @@ copytmap <ESC> q Q w <C-c>
# General
map vi console shell vim%space
map mkd console mkdir%space
map x shell ~/.config/Scripts/extract %f
map x shell $HOME/.config/Scripts/extract %f
map Z shell tar -cvzf %f.tar.gz %s
map <C-f> fzf_select
@ -450,15 +450,15 @@ map ML shell rubber -m xelatex %f
map MP shell pandoc %f --latex-engine=xelatex -o %f.pdf
map MB shell pandoc %f --latex-engine=xelatex -t beamer -o %f.pdf
map MR shell echo "require(rmarkdown); render(%f)" | R --vanilla
map Txa console shell cp ~/Documents/LaTeX/templates/article.tex%space
map Txb console shell cp ~/Documents/LaTeX/templates/beamer.tex%space
map Mda console shell cp ~/Documents/Markdown/templates/article.md%space
map Mdb console shell cp ~/Documents/Markdown/templates/beamer.md%space
map Rmda console shell cp ~/Documents/Markdown/templates/article.rmd%space
map Txa console shell cp $HOME/Documents/LaTeX/templates/article.tex%space
map Txb console shell cp $HOME/Documents/LaTeX/templates/beamer.tex%space
map Mda console shell cp $HOME/Documents/Markdown/templates/article.md%space
map Mdb console shell cp $HOME/Documents/Markdown/templates/beamer.md%space
map Rmda console shell cp $HOME/Documents/Markdown/templates/article.rmd%space
# Image
map bg shell \cp -f %f ~/.config/wall && \cp -f %f /usr/share/wallpaper/wall && feh --bg-scale %f
map bw shell wal -g -c -i %f -o /home/micah/.config/Scripts/wal-set && \cp -f %f ~/.config/wall && \cp -f %f /usr/share/wallpaper/wall
map bg shell \cp -f %f $HOME/.config/wall && \cp -f %f /usr/share/wallpaper/wall && feh --bg-scale %f
map bw shell wal -g -c -i %f -o $HOME/.config/Scripts/wal-set && \cp -f %f $HOME/.config/wall && \cp -f %f /usr/share/wallpaper/wall
map C shell convert -rotate 90 %s %s
map F shell convert -flop %s %s
@ -468,4 +468,4 @@ map yta console shell youtube-dl -xic%space
map arc console shell aria2c%space
# External Shortcuts
source ~/.config/ranger/shortcuts.conf
source $HOME/.config/ranger/shortcuts.conf

128
ranger/.config/ranger/shortcuts.conf

@ -3,22 +3,22 @@ map gb cd -
map tb tab_new -
map mb shell mv %s -
map Yb shell cp -r %s -
map gcf cd ~/.config
map tcf tab_new ~/.config
map mcf shell mv %s ~/.config
map Ycf shell cp -r %s ~/.config
map gcv cd ~/Documents/mehalter.gitlab.io/public/resume
map tcv tab_new ~/Documents/mehalter.gitlab.io/public/resume
map mcv shell mv %s ~/Documents/mehalter.gitlab.io/public/resume
map Ycv shell cp -r %s ~/Documents/mehalter.gitlab.io/public/resume
map gd cd ~/Documents
map td tab_new ~/Documents
map md shell mv %s ~/Documents
map Yd shell cp -r %s ~/Documents
map gD cd ~/Downloads
map tD tab_new ~/Downloads
map mD shell mv %s ~/Downloads
map YD shell cp -r %s ~/Downloads
map gcf cd $HOME/.config
map tcf tab_new $HOME/.config
map mcf shell mv %s $HOME/.config
map Ycf shell cp -r %s $HOME/.config
map gcv cd $HOME/Documents/mehalter.gitlab.io/public/resume
map tcv tab_new $HOME/Documents/mehalter.gitlab.io/public/resume
map mcv shell mv %s $HOME/Documents/mehalter.gitlab.io/public/resume
map Ycv shell cp -r %s $HOME/Documents/mehalter.gitlab.io/public/resume
map gd cd $HOME/Documents
map td tab_new $HOME/Documents
map md shell mv %s $HOME/Documents
map Yd shell cp -r %s $HOME/Documents
map gD cd $HOME/Downloads
map tD tab_new $HOME/Downloads
map mD shell mv %s $HOME/Downloads
map YD shell cp -r %s $HOME/Downloads
map ge cd /etc
map te tab_new /etc
map me shell mv %s /etc
@ -27,63 +27,63 @@ map gh cd ~
map th tab_new ~
map mh shell mv %s ~
map Yh shell cp -r %s ~
map gm cd ~/Music
map tm tab_new ~/Music
map mm shell mv %s ~/Music
map Ym shell cp -r %s ~/Music
map gm cd $HOME/Music
map tm tab_new $HOME/Music
map mm shell mv %s $HOME/Music
map Ym shell cp -r %s $HOME/Music
map go cd /opt
map to tab_new /opt
map mo shell mv %s /opt
map Yo shell cp -r %s /opt
map gp cd ~/Pictures
map tp tab_new ~/Pictures
map mp shell mv %s ~/Pictures
map Yp shell cp -r %s ~/Pictures
map gp cd $HOME/Pictures
map tp tab_new $HOME/Pictures
map mp shell mv %s $HOME/Pictures
map Yp shell cp -r %s $HOME/Pictures
map gr cd /
map tr tab_new /
map mr shell mv %s /
map Yr shell cp -r %s /
map gs cd ~/Documents/School-Work
map ts tab_new ~/Documents/School-Work
map ms shell mv %s ~/Documents/School-Work
map Ys shell cp -r %s ~/Documents/School-Work
map gS cd ~/.config/Scripts
map tS tab_new ~/.config/Scripts
map mS shell mv %s ~/.config/Scripts
map YS shell cp -r %s ~/.config/Scripts
map gs cd $HOME/Documents/School-Work
map ts tab_new $HOME/Documents/School-Work
map ms shell mv %s $HOME/Documents/School-Work
map Ys shell cp -r %s $HOME/Documents/School-Work
map gS cd $HOME/.config/Scripts
map tS tab_new $HOME/.config/Scripts
map mS shell mv %s $HOME/.config/Scripts
map YS shell cp -r %s $HOME/.config/Scripts
map gu cd /usr
map tu tab_new /usr
map mu shell mv %s /usr
map Yu shell cp -r %s /usr
map gv cd ~/Videos
map tv tab_new ~/Videos
map mv shell mv %s ~/Videos
map Yv shell cp -r %s ~/Videos
map gws cd ~/Documents/mehalter.gitlab.io/public
map tws tab_new ~/Documents/mehalter.gitlab.io/public
map mws shell mv %s ~/Documents/mehalter.gitlab.io/public
map Yws shell cp -r %s ~/Documents/mehalter.gitlab.io/public
map gwp cd ~/Pictures/wallpapers
map twp tab_new ~/Pictures/wallpapers
map mwp shell mv %s ~/Pictures/wallpapers
map Ywp shell cp -r %s ~/Pictures/wallpapers
map g.f cd ~/dotfiles
map t.f tab_new ~/dotfiles
map m.f shell mv %s ~/dotfiles
map Y.f shell cp -r %s ~/dotfiles
map cfa shell nvim ~/.zsh_aliases
map cfb shell nvim ~/.bashrc
map cfcf shell nvim ~/.config/Scripts/configs
map cfcv shell nvim ~/Documents/mehalter.gitlab.io/public/resume/resume.tex
map cfd shell nvim ~/.Xresources
map cff shell nvim ~/.config/Scripts/folders
map cfi shell nvim ~/.config/i3/config
map cfm shell nvim ~/.config/mutt/muttrc
map cfp shell nvim ~/.config/polybar/config
map cfq shell nvim ~/.config/qutebrowser/config.py
map cfr shell nvim ~/.config/ranger/rc.conf
map cft shell nvim ~/.tmux.conf
map cfv shell nvim ~/.config/nvim/init.vim
map cfw shell nvim ~/.bookmarks
map cfx shell nvim ~/.Xdefaults
map cfz shell nvim ~/.zshrc
map gv cd $HOME/Videos
map tv tab_new $HOME/Videos
map mv shell mv %s $HOME/Videos
map Yv shell cp -r %s $HOME/Videos
map gws cd $HOME/Documents/mehalter.gitlab.io/public
map tws tab_new $HOME/Documents/mehalter.gitlab.io/public
map mws shell mv %s $HOME/Documents/mehalter.gitlab.io/public
map Yws shell cp -r %s $HOME/Documents/mehalter.gitlab.io/public
map gwp cd $HOME/Pictures/wallpapers
map twp tab_new $HOME/Pictures/wallpapers
map mwp shell mv %s $HOME/Pictures/wallpapers
map Ywp shell cp -r %s $HOME/Pictures/wallpapers
map g.f cd $HOME/dotfiles
map t.f tab_new $HOME/dotfiles
map m.f shell mv %s $HOME/dotfiles
map Y.f shell cp -r %s $HOME/dotfiles
map cfa shell nvim $HOME/.zsh_aliases
map cfb shell nvim $HOME/.bashrc
map cfcf shell nvim $HOME/.config/Scripts/configs
map cfcv shell nvim $HOME/Documents/mehalter.gitlab.io/public/resume/resume.tex
map cfd shell nvim $HOME/.Xresources
map cff shell nvim $HOME/.config/Scripts/folders
map cfi shell nvim $HOME/.config/i3/config
map cfm shell nvim $HOME/.config/mutt/muttrc
map cfp shell nvim $HOME/.config/polybar/config
map cfq shell nvim $HOME/.config/qutebrowser/config.py
map cfr shell nvim $HOME/.config/ranger/rc.conf
map cft shell nvim $HOME/.tmux.conf
map cfv shell nvim $HOME/.config/nvim/init.vim
map cfw shell nvim $HOME/.bookmarks
map cfx shell nvim $HOME/.Xdefaults
map cfz shell nvim $HOME/.zshrc

26
scripts-work/.config/Scripts/configs

@ -1,13 +1,13 @@
cfa ~/.zsh_aliases
cfb ~/.bashrc
cfcf ~/.config/Scripts/configs
cff ~/.config/Scripts/folders
cfi ~/.config/i3/config
cfp ~/.config/polybar/config
cfq ~/.config/qutebrowser/config.py
cfr ~/.config/ranger/rc.conf
cft ~/.tmux.conf
cfv ~/.config/nvim/init.vim
cfx ~/.Xdefaults
cfw ~/.bookmarks
cfz ~/.zshrc
cfa $HOME/.zsh_aliases
cfb $HOME/.bashrc
cfcf $HOME/.config/Scripts/configs
cff $HOME/.config/Scripts/folders
cfi $HOME/.config/i3/config
cfp $HOME/.config/polybar/config
cfq $HOME/.config/qutebrowser/config.py
cfr $HOME/.config/ranger/rc.conf
cft $HOME/.tmux.conf
cfv $HOME/.config/nvim/init.vim
cfx $HOME/.Xdefaults
cfw $HOME/.bookmarks
cfz $HOME/.zshrc

20
scripts-work/.config/Scripts/folders

@ -1,16 +1,16 @@
b -
cf ~/.config
d ~/Documents
D ~/Downloads
cf $HOME/.config
d $HOME/Documents
D $HOME/Downloads
e /etc
h ~
m ~/Music
m $HOME/Music
o /opt
p ~/Pictures
p $HOME/Pictures
r /
s ~/Documents/School-Work
S ~/.config/Scripts
s $HOME/Documents/School-Work
S $HOME/.config/Scripts
u /usr
v ~/Videos
wp ~/Pictures/wallpapers
.f ~/dotfiles
v $HOME/Videos
wp $HOME/Pictures/wallpapers
.f $HOME/dotfiles

2
scripts-work/.config/Scripts/screen.sh

@ -24,4 +24,4 @@ case $1 in
*) echo "Invalid parameter"
esac
~/.config/polybar/launch.sh
$HOME/.config/polybar/launch.sh

32
scripts/.config/Scripts/configs

@ -1,16 +1,16 @@
cfa ~/.zsh_aliases
cfb ~/.bashrc
cfcf ~/.config/Scripts/configs
cfcv ~/Documents/mehalter.gitlab.io/public/resume/resume.tex
cfd ~/.Xresources
cff ~/.config/Scripts/folders
cfi ~/.config/i3/config
cfm ~/.config/mutt/muttrc
cfp ~/.config/polybar/config
cfq ~/.config/qutebrowser/config.py
cfr ~/.config/ranger/rc.conf
cft ~/.tmux.conf
cfv ~/.config/nvim/init.vim
cfw ~/.bookmarks
cfx ~/.Xdefaults
cfz ~/.zshrc
cfa $HOME/.zsh_aliases
cfb $HOME/.bashrc
cfcf $HOME/.config/Scripts/configs
cfcv $HOME/Documents/mehalter.gitlab.io/public/resume/resume.tex
cfd $HOME/.Xresources
cff $HOME/.config/Scripts/folders
cfi $HOME/.config/i3/config
cfm $HOME/.config/mutt/muttrc
cfp $HOME/.config/polybar/config
cfq $HOME/.config/qutebrowser/config.py
cfr $HOME/.config/ranger/rc.conf
cft $HOME/.tmux.conf
cfv $HOME/.config/nvim/init.vim
cfw $HOME/.bookmarks
cfx $HOME/.Xdefaults
cfz $HOME/.zshrc

24
scripts/.config/Scripts/folders

@ -1,18 +1,18 @@
b -
cf ~/.config
cv ~/Documents/mehalter.gitlab.io/public/resume
d ~/Documents
D ~/Downloads
cf $HOME/.config
cv $HOME/Documents/mehalter.gitlab.io/public/resume
d $HOME/Documents
D $HOME/Downloads
e /etc
h ~
m ~/Music
m $HOME/Music
o /opt
p ~/Pictures
p $HOME/Pictures
r /
s ~/Documents/School-Work
S ~/.config/Scripts
s $HOME/Documents/School-Work
S $HOME/.config/Scripts
u /usr
v ~/Videos
ws ~/Documents/mehalter.gitlab.io/public
wp ~/Pictures/wallpapers
.f ~/dotfiles
v $HOME/Videos
ws $HOME/Documents/mehalter.gitlab.io/public
wp $HOME/Pictures/wallpapers
.f $HOME/dotfiles

4
scripts/.config/Scripts/lock/lock.sh

@ -2,8 +2,8 @@
lockwidth=256
lockheight=256
. ~/.cache/wal/colors.sh
convert ~/.config/Scripts/lock/lock.png -fuzz 50% -fill "$color4" -opaque "#30AF91" /tmp/lock.png
. $HOME/.cache/wal/colors.sh
convert $HOME/.config/Scripts/lock/lock.png -fuzz 50% -fill "$color4" -opaque "#30AF91" /tmp/lock.png
convert /tmp/lock.png -fuzz 10% -fill "$color0" -opaque "#FFFFFF" /tmp/lock.png
convert /tmp/lock.png -resize "$lockwidth"x"$lockheight" /tmp/lock.png

4
scripts/.config/Scripts/screen.sh

@ -81,8 +81,8 @@ fi
eval $cmd
~/.config/polybar/launch.sh
feh --bg-scale ~/.config/wall
$HOME/.config/polybar/launch.sh
feh --bg-scale $HOME/.config/wall
setxkbmap -option ctrl:nocaps
xcape -e 'Control_L=Escape'

4
tmux/.tmux.conf

@ -27,8 +27,8 @@ bind m set -g mouse\; display "Mouse Toggled"
set -g mouse on
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'"
# reload ~/.tmux.conf using PREFIX r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# reload $HOME/.tmux.conf using PREFIX r
bind r source-file $HOME/.tmux.conf \; display "Reloaded!"
# use PREFIX | to split window horizontally and PREFIX - to split vertically
bind | split-window -h -c "#{pane_current_path}"

2
tmux/.tmuxinator/default.yml

@ -1,5 +1,5 @@
name: default
root: ~/
root:
windows:
- default:

2
tmux/.tmuxinator/music.yml

@ -1,5 +1,5 @@
name: music
root: ~/
root:
windows:
- music:

5
tmux/.tmuxinator/rtorrent.yml

@ -1,5 +0,0 @@
name: rtorrent
root: ~/
windows:
- default: rtorrent

2
tmux/.tmuxinator/scratchpad.yml

@ -1,5 +1,5 @@
name: scratchpad
root: ~/
root:
windows:
- default:

4
vdirsyncer/.config/vdirsyncer/config

@ -16,7 +16,7 @@ fileext = ".ics"
type = "google_calendar"
token_file = "~/.config/vdirsyncer/calauth"
client_id = "134889099907-ijk4vhmahqi45dijtliga4elba8hi2e3.apps.googleusercontent.com"
client_secret.fetch = ["command", "/home/micah/.config/vdirsyncer/password.sh"]
client_secret.fetch = ["command", "~/.config/vdirsyncer/password.sh"]
[pair gaddr]
a = "gaddr_local"
@ -33,4 +33,4 @@ fileext = ".vcf"
type = "google_contacts"
token_file = "~/.config/vdirsyncer/addrauth"
client_id = "134889099907-ijk4vhmahqi45dijtliga4elba8hi2e3.apps.googleusercontent.com"
client_secret.fetch = ["command", "/home/micah/.config/vdirsyncer/password.sh"]
client_secret.fetch = ["command", "~/.config/vdirsyncer/password.sh"]

26
zsh-work/.zsh_aliases

@ -1,8 +1,8 @@
#!/usr/bin/zsh
USER=`whoami`
ZSHDIR=~/.oh-my-zsh
TMUXINATORDIR=~/.tmuxinator
ZSHDIR=$HOME/.oh-my-zsh
TMUXINATORDIR=$HOME/.tmuxinator
# default applications
alias -s c=nvim
@ -45,8 +45,8 @@ alias m='neomutt'
# calendar aliases
alias kl='khal'
alias ikl='ikhal'
alias kla='khal -c ~/.config/khal/academicconfig'
alias ikla='ikhal -c ~/.config/khal/academicconfig'
alias kla='khal -c $HOME/.config/khal/academicconfig'
alias ikla='ikhal -c $HOME/.config/khal/academicconfig'
# addressbook aliases
alias kd='khard'
@ -97,7 +97,7 @@ alias glv="git log --graph --pretty=format:'%h - %d %s (%cr) <%an>' | nvim -R -c
# various utilities
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
test -r $HOME/.dircolors && eval "$(dircolors -b $HOME/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
@ -113,14 +113,14 @@ alias ..='cd ..'
alias ...='cd ../..'
alias Rupdate='sudo Rscript -e '"'"'update.packages(checkBuilt=TRUE, ask=FALSE, repos="https://cran.rstudio.com")'"'"
alias speedtest='speedtest-cli'
alias todo='nvim ~/.todo'
alias todo='nvim $HOME/.todo'
alias makescript="fc -rnl | head -1 >"
alias histg='history | grep'
alias cmount='mount | column -t'
alias meminfo='free -m -l -t'
alias psg='ps aux | grep'
alias ipinfo="curl ifconfig.me && curl ifconfig.me/host"
alias alert='notify-send -i "$([ $? = 0 ] && echo terminal || echo error)" "$(cat ~/.zsh_history|tail -n1|cut -d'\'';'\'' -f2-|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias alert='notify-send -i "$([ $? = 0 ] && echo terminal || echo error)" "$(cat $HOME/.zsh_history|tail -n1|cut -d'\'';'\'' -f2-|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
mcd() { mkdir -p "$1"; cd "$1";}
cls() { cd "$1"; ls;}
crun() { make "$1"; ./$1;}
@ -136,7 +136,7 @@ txb() {
txtemp beamer $1
}
txm() {
cp ~/Documents/LaTeX/templates/mla.sty .;
cp $HOME/Documents/LaTeX/templates/mla.sty .;
txtemp mla $1;
}
txtemp() {
@ -145,7 +145,7 @@ txtemp() {
if [[ ! $file =~ \.tex$ ]]; then
file=$file.tex
fi
cp ~/Documents/LaTeX/templates/$1.tex $file;
cp $HOME/Documents/LaTeX/templates/$1.tex $file;
nvim $file;
fi
}
@ -166,7 +166,7 @@ mdtemp() {
if [[ ! $file =~ \.$3$ ]]; then