aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason2020-04-15 15:44:03 -0600
committerjason2020-04-15 15:44:03 -0600
commit9074e75d4a770d4a0a87141e80cecaecfb3a7215 (patch)
treeaa796e0ca3646d48ba1737e2db72a55c9c583032
parent4ca8fd322960a8c64f3f43b839d88efdaf138d13 (diff)
downloaddotfiles-9074e75d4a770d4a0a87141e80cecaecfb3a7215.tar.gz
dotfiles-9074e75d4a770d4a0a87141e80cecaecfb3a7215.zip
updates
-rw-r--r--emacs/.authinfo.gpgbin783 -> 783 bytes
-rw-r--r--git/.gitconfig24
-rw-r--r--i3/.config/i3/config25
-rw-r--r--zsh/.zshrc12
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 2user = com4
3 oauth-token = 3oauth-token =
4
4[user] 5[user]
5 name = jason 6name = jason
6 email = jason@zzq.org 7email = 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
11permission-reset = "!git diff -p | grep -E \"^(diff|old mode|new mode)\" | sed -e \"s/^old/NEW/;s/^new/old/;s/^NEW/new/\" | git apply"
12clean-tree = "!git clean -fd -e'!__pycache__' -e'!*.py[cod]'"
13clean-tree-dry = "clean-tree -n"
14
9[rerere] 15[rerere]
10enabled = 1 16enabled = 1
11autoupdate = 1 17autoupdate = 1
18
12[magit] 19[magit]
13 hideCampaign = true 20hideCampaign = true
21
14[pager] 22[pager]
15 branch = false 23branch = false
16 blame = false 24blame = 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
30floating_modifier $mod 30floating_modifier $mod
31 31
32# start a terminal 32# start a terminal
33bindsym $mod+Return exec urxvt 33bindsym $mod+Return exec alacritty
34 34
35# kill focused window 35# kill focused window
36bindsym $mod+Shift+q kill 36bindsym $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)
126bindsym $mod+Shift+r restart 126bindsym $mod+Shift+r restart
127# exit i3 (logs you out of your X session) 127# exit i3 (logs you out of your X session)
128bindsym $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'" 128bindsym $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)
131mode "resize" { 131mode "resize" {
@@ -153,16 +153,25 @@ mode "resize" {
153 153
154bindsym $mod+r mode "resize" 154bindsym $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)
158bar { 162bar {
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
170for_window [class="jetbrains-idea" title="win0"] floating enable;
171# Fix dialog windows so they don't get left behind
164for_window [class="^jetbrains-.+"][window_type=dialog] focus 172for_window [class="^jetbrains-.+"][window_type=dialog] focus
165for_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
167for_window [class="^Media_Center_.+" instance="JRiver Menu Class"] floating enable 176for_window [class="^Media_Center_.+" instance="JRiver Menu Class"] floating enable
168for_window [class="^Media_Center_.+" instance="JRiver Popup Class"] floating enable 177for_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
170exec run-once nm-applet 179exec run-once nm-applet
171exec run-once clipit 180exec run-once clipit
172#exec run-once xbindkeys 181#exec run-once xbindkeys
173exec run-once synclient PalmDetect=1 182exec synclient PalmDetect=1
174exec run-once synclient HorizTwoFingerScroll=1 183exec 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
177exec run-once blueman-applet 186exec run-once blueman-applet
178exec run-once run_keybase -a 187exec run-once run_keybase -a
179exec run-once feh --bg-scale "/home/jason/Resilio Sync/Sync/wallpaper/wallhaven-3601.jpg" 188exec feh --bg-scale "/home/jason/Resilio Sync/Sync/wallpaper/wallhaven-3601.jpg"
180exec run-once xset dpms 300 600 900 189exec xset dpms 300 600 900
181# exec run-once run_vmtoolsd 190# exec run-once run_vmtoolsd
diff --git a/zsh/.zshrc b/zsh/.zshrc
index b7b7c3c..5e0b3bd 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -7,10 +7,6 @@
7##ZSH_THEME="kolo" 7##ZSH_THEME="kolo"
8ZSH_THEME="gianu" 8ZSH_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.
15CASE_SENSITIVE="true" 11CASE_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 {} \;'
96alias 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'
97alias ducks='du -cks * |sort -rn |head -11' 93alias ducks='du -cks * |sort -rn |head -11'
98alias dc='docker-compose' 94#alias dc='docker-compose'
99alias define='sdcv' 95alias define='sdcv'
100alias emacs=$_TERM_EMACS 96alias emacs=$_TERM_EMACS
101alias java18='/usr/local/java/jdk1.8.0_191/bin/java' 97#alias cleanstale="git clean -fd -e'!__pycache__' -e'!*.py[cod]'"
102alias 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
105if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then 101if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then