Skip to content

Commit

Permalink
desktop: auto commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kovetskiy committed Apr 1, 2019
1 parent 1b4f051 commit f93184b
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .config/sxhkd/sxhkdrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ control + Return
super + r
modal-run -matching normal

super + g
bookmarks

super + shift + r
modal-run --terminal

Expand Down Expand Up @@ -114,6 +117,3 @@ control + Pause

control + super + Insert
screen-lock -suspend

#shift + F1
# chrome-netflix
2 changes: 2 additions & 0 deletions .i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ bindsym $alt+x layout tabbed
bindsym $alt+b split vertical
bindsym $alt+t split horizontal

bindsym ISO_Level5_Shift+t exec notify i3

# Sometimes I need to resize browser when
# reading articles on sites without text width
bindsym $win+Ctrl+h resize shrink width 40 px or 2 ppt; exec "window-centralize"
Expand Down
2 changes: 1 addition & 1 deletion .keynavrc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ shift+minus warp,drag 3

BackSpace history-back

o grid 1x1,cursorzoom 10 10,click 1
o click 2

n warp,click 5
m warp,click 4
Expand Down
3 changes: 2 additions & 1 deletion .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ docompinit() {

bindkey "^S" sudo-command-line
bindkey "^F" alias-search
bindkey "^T" :rtorrent:select
}

# :setup
Expand Down Expand Up @@ -1370,6 +1369,8 @@ git-commit-branch() {
alias 'gic'='git add . ; git commit -m "initial commit"'
alias 'gig'='touch .gitignore; git add .gitignore ; git commit -m "gitignore"'
alias 'bhc'='BROWSER=/bin/echo bitbucket browse commits/$(git rev-parse --short HEAD) 2>/dev/null | sed "s@//projects/@/projects/@" '

alias cr='carcosa -p ~/sources/gitlab.com/reconquest/secrets'
}


Expand Down
3 changes: 3 additions & 0 deletions bin/environment-setup
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ redshift start
killll -9 sxhkd
SHELL=/bin/zsh sudo -E -u $USER sxhkd &

killall -9 xkeybind
xbindkeys

pkill -f dunst
systemd-cat -t dunst bash -c 'while :; do dunst; done' &

Expand Down
2 changes: 1 addition & 1 deletion bin/openvpn-toggle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ PROFILE="mars"
then
:notify "openvpn: starting service"
systemctl --user start openvpn@${PROFILE}
until ip l | grep -q 'tun'; do
until ip l | grep -q 'tap'; do
sleep 0.05
:notify "openvpn: initializing"
done
Expand Down
1 change: 1 addition & 0 deletions bin/screenshot
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ ln -sf "$filename" "$HOME/screenshots/last.png"
echo "uploading screenshot"
notify-send " " "uploading screenshot"
url=$(darc $filename)
echo "$url"
echo -n $url | xclip -selection primary
echo -n $url | xclip -selection clipboard
echo "$url"
Expand Down

0 comments on commit f93184b

Please sign in to comment.