From ccc8ff8074a8c16ebf80ad728eb8aea585cd57fa Mon Sep 17 00:00:00 2001 From: Tobias Schmidl Date: Mon, 29 Sep 2014 09:50:14 +0200 Subject: [PATCH] update --- bash_aliases | 4 ++++ chrome | 2 +- i3-config | 6 ------ i3status.conf | 4 ++-- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/bash_aliases b/bash_aliases index 844eb6f..6b3eb02 100644 --- a/bash_aliases +++ b/bash_aliases @@ -33,3 +33,7 @@ alias screen='screen -RU' alias cdiff="colordiff" xmlformat () { xmllint --format "$1" | unexpand -t 2 --first-only; } alias jar='java -jar' + +function escape() { perl -MURI::Escape -e 'print uri_escape($ARGV[0]);' "$@"; } +function gg() { x-www-browser "https://www.google.de/search?q=`escape "$@"`"; } +function ddg() { www-browser "https://duckduckgo.com/?q=`escape "$@"`"; } diff --git a/chrome b/chrome index 5479818..753bf77 100755 --- a/chrome +++ b/chrome @@ -1,2 +1,2 @@ #! /bin/sh -chromium --password-store=kwallet --ignore-gpu-blacklist --cipher-suite-blacklist=0x0004,0x0005,0x000a,0x0032,0x009c,0x009e,0xc007,0xc009,0xc00a,0xc011,0xc013,0xc014,0xc02b,0xc02f # --spdy=off --use-spdy=off --disable-spdy --disable-quic +chromium-browser --password-store=kwallet --ignore-gpu-blacklist --cipher-suite-blacklist=0x0004,0x0005,0x000a,0x0032,0x009c,0x009e,0xc007,0xc009,0xc00a,0xc011,0xc013,0xc014,0xc02b,0xc02f diff --git a/i3-config b/i3-config index b775521..a7a2e4b 100644 --- a/i3-config +++ b/i3-config @@ -46,12 +46,6 @@ bindsym $mod+k exec kate -u # start dolphin # bindsym $mod+e exec dolphin -# start gvim -bindsym $mod+g exec gvim - -# start iceweasel -bindsym $mod+b exec iceweasel - bindsym $mod+Print exec ksnapshot bindsym $mod+Shift+Print exec ksnapshot -c diff --git a/i3status.conf b/i3status.conf index b6d64c7..55d44d3 100644 --- a/i3status.conf +++ b/i3status.conf @@ -65,12 +65,12 @@ load { cpu_temperature 0 { format = "T: %degrees °C" - path = "/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp2_input" + path = "/sys/devices/platform/coretemp.0/temp2_input" } cpu_temperature 1 { format = "T: %degrees °C" - path = "/sys/devices/platform/coretemp.0/hwmon/hwmon0/temp4_input" + path = "/sys/devices/platform/coretemp.0/temp4_input" } disk "/" {