aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-04-22 10:39:13 +0200
committerKarel Kočí <cynerd@email.cz>2017-04-22 10:39:13 +0200
commit82ad76d017ab7e098aa13f84d39c8b9df888c5da (patch)
treef3949fbb4226695825f56caed73b7dcf783921dc
parentefd7cc4bd9eb811bb43112e36440e2d47c7bbd75 (diff)
downloadmyconfigs-82ad76d017ab7e098aa13f84d39c8b9df888c5da.tar.gz
myconfigs-82ad76d017ab7e098aa13f84d39c8b9df888c5da.tar.bz2
myconfigs-82ad76d017ab7e098aa13f84d39c8b9df888c5da.zip
Various small changes and fixes
-rw-r--r--config/i3/config2
-rw-r--r--conkerorrc2
-rwxr-xr-xservice/syncemail5
-rw-r--r--shellrc2
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'