summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.config/herbstluftwm/autostart6
-rwxr-xr-x.config/herbstluftwm/panel.sh2
-rw-r--r--.xbindkeysrc.scm8
-rw-r--r--.xinitrc8
4 files changed, 9 insertions, 15 deletions
diff --git a/.config/herbstluftwm/autostart b/.config/herbstluftwm/autostart
index 30bc833..8567bea 100755
--- a/.config/herbstluftwm/autostart
+++ b/.config/herbstluftwm/autostart
@@ -18,12 +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
-
# 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 56d06fc..408539f 100755
--- a/.config/herbstluftwm/panel.sh
+++ b/.config/herbstluftwm/panel.sh
@@ -88,7 +88,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/.xbindkeysrc.scm b/.xbindkeysrc.scm
index 82b90c8..5d6e258 100644
--- a/.xbindkeysrc.scm
+++ b/.xbindkeysrc.scm
@@ -140,6 +140,12 @@ the command."
(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"))
+
;;;_ Maps
(define (main-binding)
"First binding"
@@ -166,6 +172,8 @@ the command."
(xbindkey `(,modkey n) "herbstclient focus down")
(xbindkey `(,modkey p) "herbstclient focus up")
(xbindkey `(,modkey f) "herbstclient focus right")
+ (xbindkey-function '(XF86TouchpadOff) kill-mouse)
+ (xbindkey-function '(XF86TouchpadOn) revive-mouse)
(xbindkey-function `(,modkey g) reset-main-binding))
(create-map X-function-map
diff --git a/.xinitrc b/.xinitrc
index e637ab5..6e78ad3 100644
--- a/.xinitrc
+++ b/.xinitrc
@@ -4,14 +4,6 @@ xmodmap ~/.Xmodmap
numlockx &
emacs --daemon &
xbindkeys &
-#_. mpdscribble
-pidof mpdscribble >& /dev/null
-if [ $? -ne 0 ]
-then
- mpdscribble &
-fi
-#_. mpdnotify
-mpc idleloop player | { while read; do notify-send "`mpc current`"; done } &
#_ Start notifier
/usr/bin/dunst \
-fn "-misc-tamsyn-medium-r-normal-*-14-*-*-*-*-*-iso8859-*" \