From 82ad76d017ab7e098aa13f84d39c8b9df888c5da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 22 Apr 2017 10:39:13 +0200 Subject: Various small changes and fixes --- config/i3/config | 2 +- conkerorrc | 2 +- service/syncemail | 5 +++-- 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 diff --git a/conkerorrc b/conkerorrc index c3a8c0a..58fe928 100644 --- a/conkerorrc +++ b/conkerorrc @@ -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 } diff --git a/shellrc b/shellrc index 3d9c29d..ce625aa 100644 --- a/shellrc +++ b/shellrc @@ -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' -- cgit v1.2.3