diff options
| -rw-r--r-- | .bash-powerline.sh | 4 | ||||
| -rw-r--r-- | .config/i3/config | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.bash-powerline.sh b/.bash-powerline.sh index bcbd234..8121f92 100644 --- a/.bash-powerline.sh +++ b/.bash-powerline.sh @@ -17,8 +17,10 @@ __powerline() { readonly SYMBOL_GIT_PUSH='↑' readonly SYMBOL_GIT_PULL='↓' - if test -f "../usr/etc/hostname"; then + if test -f '../usr/etc/hostname'; then host=$(<../usr/etc/hostname) + elif test -f '/etc/hostname'; then + host=$(</etc/hostname) else host=$(hostname) fi diff --git a/.config/i3/config b/.config/i3/config index 4420d2e..27b3f5e 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -53,9 +53,10 @@ for_window [class="discord"] floating enable for_window [class="Display"] floating enable for_window [class="feh"] floating enable for_window [class="firefox"] floating enable -for_window [class="gnuplot_qt"] floating enable for_window [class="Geeqie"] floating enable +for_window [class="Ghb"] floating enable for_window [class="Gitk"] floating enable +for_window [class="gnuplot_qt"] floating enable for_window [class="Keybase"] floating enable for_window [class="libreoffice"] floating enable for_window [class="MuPDF"] floating enable |
