diff options
-rwxr-xr-x | .config/herbstluftwm/autostart | 9 | ||||
-rwxr-xr-x | .config/herbstluftwm/panel.sh | 2 | ||||
-rw-r--r-- | .offlineimaprc | 2 | ||||
-rw-r--r-- | .xbindkeysrc.scm | 8 | ||||
-rw-r--r-- | .xinitrc | 18 |
5 files changed, 17 insertions, 22 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart index f8a3476..9f6d187 100755 --- a/.config/herbstluftwm/autostart +++ b/.config/herbstluftwm/autostart @@ -18,15 +18,6 @@ hc set window_border_active_color "#e0c625" hc set default_frame_layout 2 hc set_layout max -# Monitors -hc add default2 -hc remove_monitor 1 -hc move_monitor 0 1920x1080+0+0 -hc add_monitor 1680x1050+1920+0 default2 - -hc pad 0 -5 -5 -5 -5 -hc pad 1 -5 -5 -5 -5 - # Keys #hc keybind $modkey-t spawn ~/bin/hlwm/capture-todo #hc keybind $modkey-Shift-t spawn ~/bin/hlwm/show-todo diff --git a/.config/herbstluftwm/panel.sh b/.config/herbstluftwm/panel.sh index 22b46ae..ae5aedd 100755 --- a/.config/herbstluftwm/panel.sh +++ b/.config/herbstluftwm/panel.sh @@ -84,7 +84,7 @@ function print_mailboxes() { } function print_services() { - services=(emacs httpd mysqld dunst xbindkeys mpdscribble sshd mpd) + services=(emacs dunst xbindkeys sshd) servicetxt="" for j in "${services[@]}"; do servicetxt="$servicetxt$separator$(status $j)" diff --git a/.offlineimaprc b/.offlineimaprc index 91b3612..ff4aeed 100644 --- a/.offlineimaprc +++ b/.offlineimaprc @@ -3,7 +3,7 @@ [general] # NOTE: cronjob calls the quiet UI with -u ui = TTYUI -accounts = ryuslash.org,gmail,arch,aethon,ninthfloor +accounts = ryuslash.org,gmail,aethon,ninthfloor pythonfile = ~/.offlineimap.py [Account arch] diff --git a/.xbindkeysrc.scm b/.xbindkeysrc.scm index 3ebf133..859e35e 100644 --- a/.xbindkeysrc.scm +++ b/.xbindkeysrc.scm @@ -127,6 +127,12 @@ (close-pipe dzen-pipe) (set! dzen-pipe '()))) +(define (kill-mouse) + (run-command "synclient TouchpadOff=1; xte 'mousemove 1500 1500'")) + +(define (revive-mouse) + (run-command "synclient TouchpadOff=0")) + (define (notify msg) (run-command (string-append "notify-send \"" msg "\""))) @@ -197,6 +203,8 @@ (xbindkey '(XF86AudioRaiseVolume) "mcp volume +5") (xbindkey '(XF86AudioPrev) "mpc prev") (xbindkey '(XF86AudioNext) "mpc next") + (xbindkey-function '(XF86TouchpadOff) kill-mouse) + (xbindkey-function '(XF86TouchpadOn) revive-mouse) (xbindkey `(,modkey k) "herbstclient close") (xbindkey `(,modkey Escape) "~/.config/herbstluftwm/panel.sh")) @@ -1,17 +1,13 @@ -xmodmap ~/.Xmodmap +#xmodmap ~/.Xmodmap +#xrandr --output VGA1 --mode 1920x1080 -xsetroot -solid "#002b36" -numlockx & -emacs --daemon & +#xsetroot -solid "#002b36" +#numlockx & +#emacs --daemon & +#xbindkeys & -pidof mpdscribble >& /dev/null -if [ $? -ne 0 ] -then - mpdscribble & -fi +exec ck-launch-session /usr/bin/herbstluftwm 2>&1 >> ~/.xsession_errors -exec ck-launch-session /usr/local/stumpwm/bin/stumpwm 2>&1 >> \ - ~/.xsession_errors # Local Variables: # mode: shell-script # eval: (git-auto-commit-mode 1) |