From 70cffc09a1ac7112face7f4600d802b512967a73 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 3 May 2018 21:02:21 +0200 Subject: zsh: hosts and fixes --- zsh/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 0bd880e..c6de7a2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -102,7 +102,7 @@ in_google_cloud () { # possible colors: black, white, green, cyan, red, yellow, magenta case `hostname` in - bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) + bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*|bryant*|barkley*) HOSTCOLOR_BG=magenta HOSTCOLOR_FG=black ;; @@ -168,7 +168,7 @@ case `hostname` in umask u=rwx,g=rwx,o=rx alias tmux="tmux -f ~/.tmux.`hostname`.conf" ;; - bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) + bogues|curry|iverson|jordan|bryant|malone|nowitzki|oneal|rodman|ming|*.uberspace.de) PATH=/usr/lib/colorgcc/bin:$PATH ;; esac @@ -232,7 +232,7 @@ alias castnow_home='castnow --myip 192.168.0.100 --address 192.168.0.4' alias my_ip='echo "$(curl 'https://api.ipify.org' 2>/dev/null)"' -alias t_timeline='while true; do clear; t timeline -n 16 -C icon; sleep 600; done' +alias t_timeline='while true; do clear; t timeline -n 18 -C icon; sleep 600; done' if [[ $_HOST_TYPE == "Linux" ]]; then alias cal='while true; do clear; echo; khal calendar; sleep 600; done' -- cgit v1.2.3 From a8b8856801dbda0877438b434ef69d93ec14ee13 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 3 May 2018 21:02:35 +0200 Subject: htop --- htop/.config/htop/htoprc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htop/.config/htop/htoprc b/htop/.config/htop/htoprc index 0297d95..7f1c96c 100644 --- a/htop/.config/htop/htoprc +++ b/htop/.config/htop/htoprc @@ -3,11 +3,12 @@ fields=0 48 17 18 38 39 40 2 46 47 49 1 sort_key=46 sort_direction=1 -hide_threads=0 +hide_threads=1 hide_kernel_threads=1 -hide_userland_threads=0 +hide_userland_threads=1 shadow_other_users=0 show_thread_names=0 +show_program_path=1 highlight_base_name=0 highlight_megabytes=1 highlight_threads=0 -- cgit v1.2.3 From 70a13d67d5d0a7cd87fd8b6547553748a4a020af Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 3 May 2018 21:03:01 +0200 Subject: ratpoison: new apps --- by_os/Linux/ratpoison/.ratpoisonrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/by_os/Linux/ratpoison/.ratpoisonrc b/by_os/Linux/ratpoison/.ratpoisonrc index f9257c5..26254f3 100644 --- a/by_os/Linux/ratpoison/.ratpoisonrc +++ b/by_os/Linux/ratpoison/.ratpoisonrc @@ -6,6 +6,8 @@ definekey top F14 readkey root bind Return exec ~/.local/bin/urxvtc --saveLines 10000 unbind c bind C exec /usr/bin/firefox +bind W exec /usr/bin/chromium +bind E exec /usr/bin/rawtherapee bind D exec urxvt -fn 'xft:courier:pixelsize=16' -fg #000000 -bg #ffffff bind b exec ratpoison -c "echo $(~/.local/bin/battery-charge)" bind s hsplit -- cgit v1.2.3 From d82548dc339fa1be5f2c209df53fafe13fe499d3 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 3 May 2018 21:03:42 +0200 Subject: mutt: fix --- by_os/Linux/mutt/.mutt/work.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/by_os/Linux/mutt/.mutt/work.rc b/by_os/Linux/mutt/.mutt/work.rc index e53c0a9..3501727 100644 --- a/by_os/Linux/mutt/.mutt/work.rc +++ b/by_os/Linux/mutt/.mutt/work.rc @@ -3,7 +3,7 @@ color sidebar_divider red color231 color sidebar_highlight color201 color231 color indicator color231 red -set from = "qlt@mensa.uberspace.de" +set from = "pks@pks.rocks" set sendmail = "/usr/bin/msmtp -a work" set record = "+work/all" set postponed = "+work/drafts" -- cgit v1.2.3 From fadc0b596c78039161fb52fec17aa2783c47cecb Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 3 May 2018 21:06:44 +0200 Subject: X: fix --- by_os/Linux/X/.xinitrc | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/by_os/Linux/X/.xinitrc b/by_os/Linux/X/.xinitrc index 078cb2a..73f9ecc 100644 --- a/by_os/Linux/X/.xinitrc +++ b/by_os/Linux/X/.xinitrc @@ -1,15 +1,10 @@ exec xmodmap ${HOME}/.Xmodmap & exec ${HOME}/bin/ratcpi & -export EXT_POINTER=$(xinput list | grep "USB-HID Keyboard" | grep pointer | awk -F'=' '{print $2}' | cut -f 1) -if [[ $(hostname) == "kobe" ]]; then - exec xinput set-prop $EXT_POINTER 264 2.5 & - exec xinput set-prop $EXT_POINTER 265 1.0 & - exec xinput set-prop $EXT_POINTER 266 5.0 & -elif [[ $(hostname) == "bogues" ]]; then - exec xinput set-prop $EXT_POINTER 268 2.5 & - exec xinput set-prop $EXT_POINTER 269 1.25 & -fi +exec ${HOME}/bin/mouse & exec mkdir -p /tmp/mutt & export LC_ALL=en_US.UTF-8 +#if [[ $(hostname) == "bryant" ]]; then +# exec xrandr --output HDMI-1 --rotate right +#fi exec ratpoison -- cgit v1.2.3 From 063ad281e179f195c5e7bb9f4a1672c743594240 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 26 May 2018 12:43:12 +0200 Subject: fix search bar --- mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css b/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css index fd60432..93851bd 100644 --- a/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css +++ b/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css @@ -44,3 +44,8 @@ width: 100%; #tabbrowser-tabs { width: 100%; } #content-deck { margin-bottom: 0em; } +/* mve Find Bar above the page */ +.browserContainer > findbar { + -moz-box-ordinal-group: 0; +} + -- cgit v1.2.3 From 8b9f6147114e5fad71db55c978b377eab6f3648e Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 26 May 2018 12:43:26 +0200 Subject: new hosts --- zsh/.zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index c6de7a2..0bd880e 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -102,7 +102,7 @@ in_google_cloud () { # possible colors: black, white, green, cyan, red, yellow, magenta case `hostname` in - bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*|bryant*|barkley*) + bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) HOSTCOLOR_BG=magenta HOSTCOLOR_FG=black ;; @@ -168,7 +168,7 @@ case `hostname` in umask u=rwx,g=rwx,o=rx alias tmux="tmux -f ~/.tmux.`hostname`.conf" ;; - bogues|curry|iverson|jordan|bryant|malone|nowitzki|oneal|rodman|ming|*.uberspace.de) + bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) PATH=/usr/lib/colorgcc/bin:$PATH ;; esac @@ -232,7 +232,7 @@ alias castnow_home='castnow --myip 192.168.0.100 --address 192.168.0.4' alias my_ip='echo "$(curl 'https://api.ipify.org' 2>/dev/null)"' -alias t_timeline='while true; do clear; t timeline -n 18 -C icon; sleep 600; done' +alias t_timeline='while true; do clear; t timeline -n 16 -C icon; sleep 600; done' if [[ $_HOST_TYPE == "Linux" ]]; then alias cal='while true; do clear; echo; khal calendar; sleep 600; done' -- cgit v1.2.3 From 89c1979a1c2a6562a1a1fdda30fd0c4f7c811280 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Mon, 28 May 2018 18:08:55 +0200 Subject: hostname --- zsh/.zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 0bd880e..23d3ed5 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -102,7 +102,7 @@ in_google_cloud () { # possible colors: black, white, green, cyan, red, yellow, magenta case `hostname` in - bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) + bryant|barkley|bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) HOSTCOLOR_BG=magenta HOSTCOLOR_FG=black ;; @@ -168,7 +168,7 @@ case `hostname` in umask u=rwx,g=rwx,o=rx alias tmux="tmux -f ~/.tmux.`hostname`.conf" ;; - bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) + bryant|barkley|bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) PATH=/usr/lib/colorgcc/bin:$PATH ;; esac -- cgit v1.2.3 From 31eac081d847b5badf276c9242b9fb6d1c4a78b9 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 26 Jul 2018 14:16:03 +0200 Subject: X --- by_os/Linux/X/.xinitrc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/by_os/Linux/X/.xinitrc b/by_os/Linux/X/.xinitrc index 73f9ecc..9277942 100644 --- a/by_os/Linux/X/.xinitrc +++ b/by_os/Linux/X/.xinitrc @@ -1,10 +1,4 @@ -exec xmodmap ${HOME}/.Xmodmap & -exec ${HOME}/bin/ratcpi & -exec ${HOME}/bin/mouse & -exec mkdir -p /tmp/mutt & export LC_ALL=en_US.UTF-8 -#if [[ $(hostname) == "bryant" ]]; then -# exec xrandr --output HDMI-1 --rotate right -#fi +exec setterm -blength 0 exec ratpoison -- cgit v1.2.3 From fa6c47e7158e1e98a5544c752e10b049c659ad57 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 26 Jul 2018 14:16:08 +0200 Subject: X --- by_os/Linux/feh/.fehbg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 by_os/Linux/feh/.fehbg diff --git a/by_os/Linux/feh/.fehbg b/by_os/Linux/feh/.fehbg old mode 100644 new mode 100755 index 4416428..b12b179 --- a/by_os/Linux/feh/.fehbg +++ b/by_os/Linux/feh/.fehbg @@ -1 +1,2 @@ -feh --no-xinerama --image-bg black --bg-center '/home/pks/images/MIPS_R3000A_die-1024x1024.jpg' +#!/bin/sh +feh --image-bg black --bg-max '/home/pks/image/MIPS-R3000A-die.jpg' -- cgit v1.2.3 From a47ea0a2d8abb13c9c3ed31fbaabaabcaee77b35 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 19 Oct 2018 16:33:07 +0200 Subject: new printer --- by_os/Linux/cups/.cups/lpoptions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/by_os/Linux/cups/.cups/lpoptions b/by_os/Linux/cups/.cups/lpoptions index eeb1fc7..734579c 100644 --- a/by_os/Linux/cups/.cups/lpoptions +++ b/by_os/Linux/cups/.cups/lpoptions @@ -1,2 +1,2 @@ -Dest home ColorModel=Gray KCEcoprint/EcoPrint=On -Default home +Dest iverson OKControl=Gray +Default iverson -- cgit v1.2.3 From fdcd4d365b2376b2eeb974c2ffc3c2ac4d0259ef Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 19 Oct 2018 16:33:52 +0200 Subject: zsh: new hosts, R --- zsh/.zshrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index 23d3ed5..9111d2b 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -37,6 +37,11 @@ if [[ -d ~/nlp_scripts ]]; then export PATH=~/nlp_scripts:$PATH fi +which R &>/dev/null +if [[ $? == 0 ]]; then + export R_LIBS_USER=$HOME/.R +fi + export EDITOR='vim -p' export LC_ALL=en_US.UTF-8 @@ -102,7 +107,7 @@ in_google_cloud () { # possible colors: black, white, green, cyan, red, yellow, magenta case `hostname` in - bryant|barkley|bogues*|curry*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) + bryant|barkley|bogues*|curry*|durant*|iverson*|jordan*|ming*|nowitzki*|oneal*|robinson*) HOSTCOLOR_BG=magenta HOSTCOLOR_FG=black ;; @@ -168,7 +173,7 @@ case `hostname` in umask u=rwx,g=rwx,o=rx alias tmux="tmux -f ~/.tmux.`hostname`.conf" ;; - bryant|barkley|bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) + bryant|barkley|bogues|curry|durant|iverson|nowitzki|oneal|ming|*.uberspace.de) PATH=/usr/lib/colorgcc/bin:$PATH ;; esac -- cgit v1.2.3 From 6b404da3b8d3d659ab4065ceff98dafd120618fe Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 19 Oct 2018 16:34:10 +0200 Subject: X: incompatible --- by_os/Linux/X/.xinitrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/by_os/Linux/X/.xinitrc b/by_os/Linux/X/.xinitrc index 9277942..71a1180 100644 --- a/by_os/Linux/X/.xinitrc +++ b/by_os/Linux/X/.xinitrc @@ -1,4 +1,4 @@ export LC_ALL=en_US.UTF-8 -exec setterm -blength 0 +#exec setterm -blength 0 exec ratpoison -- cgit v1.2.3 From 68fe15297c2813b9d387fa773e8f79f2a31cf6ca Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 19 Oct 2018 16:34:30 +0200 Subject: feh: bg --- by_os/Linux/feh/.fehbg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/by_os/Linux/feh/.fehbg b/by_os/Linux/feh/.fehbg index b12b179..ed4f61d 100755 --- a/by_os/Linux/feh/.fehbg +++ b/by_os/Linux/feh/.fehbg @@ -1,2 +1,2 @@ #!/bin/sh -feh --image-bg black --bg-max '/home/pks/image/MIPS-R3000A-die.jpg' +feh --bg-fill '/home/pks/image/MIPS-R3000A-die.jpg' -- cgit v1.2.3 From e6b399bd30412d32aee4d55e835848b68b4d3ac7 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Fri, 19 Oct 2018 16:40:22 +0200 Subject: firefox: move findbar --- mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css b/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css index fd60432..93851bd 100644 --- a/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css +++ b/mozilla/.mozilla/firefox/pks.default/chrome/userChrome.css @@ -44,3 +44,8 @@ width: 100%; #tabbrowser-tabs { width: 100%; } #content-deck { margin-bottom: 0em; } +/* mve Find Bar above the page */ +.browserContainer > findbar { + -moz-box-ordinal-group: 0; +} + -- cgit v1.2.3