diff options
| author | jason | 2020-04-15 15:44:03 -0600 |
|---|---|---|
| committer | jason | 2020-04-15 15:44:03 -0600 |
| commit | 9074e75d4a770d4a0a87141e80cecaecfb3a7215 (patch) | |
| tree | aa796e0ca3646d48ba1737e2db72a55c9c583032 | |
| parent | 4ca8fd322960a8c64f3f43b839d88efdaf138d13 (diff) | |
| download | dotfiles-9074e75d4a770d4a0a87141e80cecaecfb3a7215.tar.gz dotfiles-9074e75d4a770d4a0a87141e80cecaecfb3a7215.zip | |
updates
| -rw-r--r-- | emacs/.authinfo.gpg | bin | 783 -> 783 bytes | |||
| -rw-r--r-- | git/.gitconfig | 24 | ||||
| -rw-r--r-- | i3/.config/i3/config | 25 | ||||
| -rw-r--r-- | zsh/.zshrc | 12 |
4 files changed, 37 insertions, 24 deletions
diff --git a/emacs/.authinfo.gpg b/emacs/.authinfo.gpg index 8ec7167..4d85884 100644 --- a/emacs/.authinfo.gpg +++ b/emacs/.authinfo.gpg | |||
| Binary files differ | |||
diff --git a/git/.gitconfig b/git/.gitconfig index 6aab6de..522f7c7 100644 --- a/git/.gitconfig +++ b/git/.gitconfig | |||
| @@ -1,16 +1,24 @@ | |||
| 1 | [github] | 1 | [github] |
| 2 | user = com4 | 2 | user = com4 |
| 3 | oauth-token = | 3 | oauth-token = |
| 4 | |||
| 4 | [user] | 5 | [user] |
| 5 | name = jason | 6 | name = jason |
| 6 | email = jason@zzq.org | 7 | email = jason@zzq.org |
| 8 | |||
| 7 | [alias] | 9 | [alias] |
| 8 | permission-reset = "!git diff -p | grep -E \"^(diff|old mode|new mode)\" | sed -e \"s/^old/NEW/;s/^new/old/;s/^NEW/new/\" | git apply" | 10 | # ! indicates use the shell instead of alias a git sub-command |
| 11 | permission-reset = "!git diff -p | grep -E \"^(diff|old mode|new mode)\" | sed -e \"s/^old/NEW/;s/^new/old/;s/^NEW/new/\" | git apply" | ||
| 12 | clean-tree = "!git clean -fd -e'!__pycache__' -e'!*.py[cod]'" | ||
| 13 | clean-tree-dry = "clean-tree -n" | ||
| 14 | |||
| 9 | [rerere] | 15 | [rerere] |
| 10 | enabled = 1 | 16 | enabled = 1 |
| 11 | autoupdate = 1 | 17 | autoupdate = 1 |
| 18 | |||
| 12 | [magit] | 19 | [magit] |
| 13 | hideCampaign = true | 20 | hideCampaign = true |
| 21 | |||
| 14 | [pager] | 22 | [pager] |
| 15 | branch = false | 23 | branch = false |
| 16 | blame = false | 24 | blame = false |
diff --git a/i3/.config/i3/config b/i3/.config/i3/config index a047be8..e4e7ea6 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config | |||
| @@ -30,7 +30,7 @@ font pango:monospace 8 | |||
| 30 | floating_modifier $mod | 30 | floating_modifier $mod |
| 31 | 31 | ||
| 32 | # start a terminal | 32 | # start a terminal |
| 33 | bindsym $mod+Return exec urxvt | 33 | bindsym $mod+Return exec alacritty |
| 34 | 34 | ||
| 35 | # kill focused window | 35 | # kill focused window |
| 36 | bindsym $mod+Shift+q kill | 36 | bindsym $mod+Shift+q kill |
| @@ -125,7 +125,7 @@ bindsym $mod+Shift+c reload | |||
| 125 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | 125 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) |
| 126 | bindsym $mod+Shift+r restart | 126 | bindsym $mod+Shift+r restart |
| 127 | # exit i3 (logs you out of your X session) | 127 | # exit i3 (logs you out of your X session) |
| 128 | bindsym $mod+Shift+e exec "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'" | 128 | bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Do you really want to exit i3?' -b 'Yes, exit i3' 'i3-msg exit'" |
| 129 | 129 | ||
| 130 | # resize window (you can also use the mouse for that) | 130 | # resize window (you can also use the mouse for that) |
| 131 | mode "resize" { | 131 | mode "resize" { |
| @@ -153,16 +153,25 @@ mode "resize" { | |||
| 153 | 153 | ||
| 154 | bindsym $mod+r mode "resize" | 154 | bindsym $mod+r mode "resize" |
| 155 | 155 | ||
| 156 | bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2% | ||
| 157 | bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2% | ||
| 158 | bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle #&& pactl list sinks | grep '^[[:space:]]Volume:' | head -n $(( $( pactl list short sinks | sed -e 's,^\([0-9][0-9]*\)[^0-9].*,\1,' | head -n 1 ) + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,' > $SWAYSOCK.wob | ||
| 159 | |||
| 156 | # Start i3bar to display a workspace bar (plus the system information i3status | 160 | # Start i3bar to display a workspace bar (plus the system information i3status |
| 157 | # finds out, if available) | 161 | # finds out, if available) |
| 158 | bar { | 162 | bar { |
| 159 | status_command i3status | 163 | status_command i3status |
| 160 | tray_output primary | 164 | tray_output primary |
| 165 | # status_command i3status-rs ~/.i3status-rs.toml | ||
| 161 | } | 166 | } |
| 167 | #exec_always --no-startup-id $HOME/bin/polybar-launch.sh | ||
| 162 | 168 | ||
| 163 | # Fix JB IntelliJ windows to float | 169 | # Intellij splash screen float |
| 170 | for_window [class="jetbrains-idea" title="win0"] floating enable; | ||
| 171 | # Fix dialog windows so they don't get left behind | ||
| 164 | for_window [class="^jetbrains-.+"][window_type=dialog] focus | 172 | for_window [class="^jetbrains-.+"][window_type=dialog] focus |
| 165 | for_window [instance="sun-awt-X11-XWindowPeer"] border pixel 0 | 173 | # for_window [instance="sun-awt-X11-XWindowPeer"] border pixel 0 |
| 174 | |||
| 166 | # Fix JRiver menus to act like real dropdown menus | 175 | # Fix JRiver menus to act like real dropdown menus |
| 167 | for_window [class="^Media_Center_.+" instance="JRiver Menu Class"] floating enable | 176 | for_window [class="^Media_Center_.+" instance="JRiver Menu Class"] floating enable |
| 168 | for_window [class="^Media_Center_.+" instance="JRiver Popup Class"] floating enable | 177 | for_window [class="^Media_Center_.+" instance="JRiver Popup Class"] floating enable |
| @@ -170,12 +179,12 @@ for_window [class="^Media_Center_.+" instance="JRiver Popup Class"] floating ena | |||
| 170 | exec run-once nm-applet | 179 | exec run-once nm-applet |
| 171 | exec run-once clipit | 180 | exec run-once clipit |
| 172 | #exec run-once xbindkeys | 181 | #exec run-once xbindkeys |
| 173 | exec run-once synclient PalmDetect=1 | 182 | exec synclient PalmDetect=1 |
| 174 | exec run-once synclient HorizTwoFingerScroll=1 | 183 | exec synclient HorizTwoFingerScroll=1 |
| 175 | #exec run-once fetchmail -d 60 | 184 | #exec run-once fetchmail -d 60 |
| 176 | #exec run-once qasmixer -t | 185 | #exec run-once qasmixer -t |
| 177 | exec run-once blueman-applet | 186 | exec run-once blueman-applet |
| 178 | exec run-once run_keybase -a | 187 | exec run-once run_keybase -a |
| 179 | exec run-once feh --bg-scale "/home/jason/Resilio Sync/Sync/wallpaper/wallhaven-3601.jpg" | 188 | exec feh --bg-scale "/home/jason/Resilio Sync/Sync/wallpaper/wallhaven-3601.jpg" |
| 180 | exec run-once xset dpms 300 600 900 | 189 | exec xset dpms 300 600 900 |
| 181 | # exec run-once run_vmtoolsd | 190 | # exec run-once run_vmtoolsd |
| @@ -7,10 +7,6 @@ | |||
| 7 | ##ZSH_THEME="kolo" | 7 | ##ZSH_THEME="kolo" |
| 8 | ZSH_THEME="gianu" | 8 | ZSH_THEME="gianu" |
| 9 | 9 | ||
| 10 | # Example aliases | ||
| 11 | # alias zshconfig="mate ~/.zshrc" | ||
| 12 | # alias ohmyzsh="mate ~/.oh-my-zsh" | ||
| 13 | |||
| 14 | # Uncomment the following line to use case-sensitive completion. | 10 | # Uncomment the following line to use case-sensitive completion. |
| 15 | CASE_SENSITIVE="true" | 11 | CASE_SENSITIVE="true" |
| 16 | 12 | ||
| @@ -93,13 +89,13 @@ export EDITOR=$_TERM_EMACS | |||
| 93 | 89 | ||
| 94 | # Aliases | 90 | # Aliases |
| 95 | #alias fixfileperm='find /music -type f -exec chmod 0644 {} \;' | 91 | #alias fixfileperm='find /music -type f -exec chmod 0644 {} \;' |
| 96 | alias cleanbranches='git branch --merged | grep -v "\*" | xargs -n 1 git branch -d; git branch -r --merged master | grep -iv "master" | sed "s/origin\///" | xargs -n 1 git push --delete origin' | 92 | #alias cleanremotebranches='git branch --merged | grep -v "\*" | xargs -n 1 git branch -d; git branch -r --merged master | grep -iv "master" | sed "s/origin\///" | xargs -n 1 git push --delete origin' |
| 97 | alias ducks='du -cks * |sort -rn |head -11' | 93 | alias ducks='du -cks * |sort -rn |head -11' |
| 98 | alias dc='docker-compose' | 94 | #alias dc='docker-compose' |
| 99 | alias define='sdcv' | 95 | alias define='sdcv' |
| 100 | alias emacs=$_TERM_EMACS | 96 | alias emacs=$_TERM_EMACS |
| 101 | alias java18='/usr/local/java/jdk1.8.0_191/bin/java' | 97 | #alias cleanstale="git clean -fd -e'!__pycache__' -e'!*.py[cod]'" |
| 102 | alias javac18='/usr/local/java/jdk1.8.0_191/bin/javac' | 98 | #alias dry-cleanstale="git clean -fdn -e'!__pycache__' -e'!*.py[cod]'" |
| 103 | 99 | ||
| 104 | # Python | 100 | # Python |
| 105 | if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then | 101 | if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then |