From 2bf67cf6f4a42723350dd79c571c25ae9b809344 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 9 Aug 2016 20:23:07 +0200 Subject: .zsh.after/functions.zsh: Adding functions to start chromium incognito and with a predefined proxy-server. --- .zsh.after/functions.zsh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '.zsh.after') diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index c9ea095..7908f71 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -169,9 +169,13 @@ function publish() { mute popd } -function securium { - port=44350 - chromium --proxy-server="socks://localhost:$port" & +function incognichrome { + chromium --incognito + exit +} + +function inproxychrome { + chromium --incognito --proxy-server=apu-serve:8123 exit } -- cgit v1.2.3-54-g00ecf From 127a621f63ffa5ec4ad631a8de80825b4432ff24 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 9 Aug 2016 20:26:48 +0200 Subject: .zsh.after/export.zsh: Export keyboard settings for sway. --- .zsh.after/export.zsh | 3 +++ 1 file changed, 3 insertions(+) (limited to '.zsh.after') diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh index 866f20d..01d2e48 100644 --- a/.zsh.after/export.zsh +++ b/.zsh.after/export.zsh @@ -7,6 +7,9 @@ fi # use de_DE.UTF-8 to get 24h format export LC_TIME=de_DE.UTF-8 +# keyboard exports for sway +export XKB_DEFAULT_LAYOUT=de + # browser export BROWSER=firefox export REPORTTIME=5 -- cgit v1.2.3-54-g00ecf From 1b1344496cfcb2e55c9d94c4c9eecc955badbc36 Mon Sep 17 00:00:00 2001 From: David Runge Date: Wed, 10 Aug 2016 18:08:39 +0200 Subject: .zsh.after/aliases.zsh: Adding automatic selection of audio backends for mpv. --- .zsh.after/aliases.zsh | 1 + 1 file changed, 1 insertion(+) (limited to '.zsh.after') diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh index b292b7a..e9109a9 100644 --- a/.zsh.after/aliases.zsh +++ b/.zsh.after/aliases.zsh @@ -39,6 +39,7 @@ for index ({1..9}) alias "$index"="cd +${index}"; unset index #MPLAYER alias mplayer='mplayer -ao jack,pulse,alsa' +alias mpv='mpv -ao jack,pulse,alsa' ##DU alias du1='du -hd1' -- cgit v1.2.3-54-g00ecf