diff options
-rw-r--r-- | config/i3/config | 2 | ||||
-rw-r--r-- | conkerorrc | 2 | ||||
-rwxr-xr-x | service/syncemail | 5 | ||||
-rw-r--r-- | shellrc | 2 |
4 files changed, 6 insertions, 5 deletions
diff --git a/config/i3/config b/config/i3/config index 46451e4..430993e 100644 --- a/config/i3/config +++ b/config/i3/config @@ -34,7 +34,7 @@ bindsym $mod+q kill # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that # installed. -bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --entry-type=filename +bindsym $mod+d exec --no-startup-id i3-dmenu-desktop --entry-type=name # bar toggle, hide or show bindsym $mod+m bar mode toggle @@ -20,7 +20,7 @@ define_opensearch_webjump("?g", "google.xml"); define_opensearch_webjump("?w", "wikipedia.xml"); define_opensearch_webjump("?e", "eBay.xml"); -external_content_handlers.set("application/pdf", "okular"); +external_content_handlers.set("application/pdf", "llpp"); external_content_handlers.set("video/*", "vlc"); editor_shell_command = "urxvt -e vim"; diff --git a/service/syncemail b/service/syncemail index 7465676..a42e380 100755 --- a/service/syncemail +++ b/service/syncemail @@ -14,6 +14,7 @@ start() { } stop() { - kill "$(cat $pidfile)" - wait "$(cat $pidfile)" + PID="$(cat $pidfile)" + kill $PID 2>/dev/null + while kill -0 $PID 2>/dev/null; do sleep 1; done } @@ -14,7 +14,7 @@ alias cgdb='cgdb -q' alias octave='octave-cli -q' alias ssh='TERM="xterm-256color" ssh' alias feh='feh --magick-timeout 1 -.' -alias make='make -j 8' +alias make="make -j$(nproc)" export LESS=-R export LESS_TERMCAP_mb=$'\E[1;31m' |