Skip to content

Commit

Permalink
Lsync integration + rows im urxvt + i3lock tiled.
Browse files Browse the repository at this point in the history
  • Loading branch information
geektophe committed Oct 29, 2014
1 parent e6a759d commit 39ff682
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions Xresources
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ URxvt*scrollBar_right: true
!URxvt*scrollColor: #c2dd5a
URxvt*scrollBar_floating: true
URxvt*scrollstyle: plain
URxvt*saveLines: 10000

! to match gnome-terminal "Linux console" scheme
! foreground/background
Expand Down
11 changes: 11 additions & 0 deletions Xsession
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,15 @@ export SSH_AUTH_SOCK
# Starts urxvtd server
/usr/bin/urxvtd -q -o -f

# Starts autossh tunnel to honir
if [ -f ~/.ssh/config ]; then
if grep -q 'Host honir-tunnel$' ~/.ssh/config; then
/usr/bin/autossh -xaNf -M 20000 honir-tunnel
fi
if [ -d ~/.config/lsync ] && grep -q 'Host honir$' ~/.ssh/config; then
/usr/bin/lsyncd ~/.config/lsync/etc/lsyncd-client.conf
~/.config/lsync/bin/lsync &
fi
fi

exec /usr/bin/awesome
2 changes: 1 addition & 1 deletion rc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ editor = os.getenv("EDITOR") or "vim"
editor_cmd = terminal .. " -e " .. editor

-- Lock screen command
xlock = string.format("i3lock -i %s", beautiful.lockscreen)
xlock = string.format("i3lock -t -i %s", beautiful.lockscreen)

-- Default modkey.
-- Usually, Mod4 is the key with a logo between Control and Alt.
Expand Down

0 comments on commit 39ff682

Please sign in to comment.