remove occurences of old hostnames and replace with current hostnames

warthog (old macbook) does not exist anymore and falcon has been renamed
to beryllium
This commit is contained in:
Thomas Preisner 2022-08-27 20:59:41 +02:00
parent a4762ca7a2
commit d4022aecee
4 changed files with 5 additions and 6 deletions

View file

@ -15,7 +15,7 @@ URxvt.shading: 20
URxvt.iso14755: false URxvt.iso14755: false
URxvt.iso14755_52: false URxvt.iso14755_52: false
#if defined(SRVR_falcon) || defined(SRVR_warthog) || defined(SRVR_cipbuero4) #if defined(SRVR_beryllium) || defined(SRVR_cipbuero4)
Xft.dpi: 192 Xft.dpi: 192
#endif #endif

View file

@ -16,8 +16,7 @@ monitor = sys.argv[1] if len(sys.argv) >= 2 else 0
(x, y, monitor_w, monitor_h) = hc.monitor_rect(monitor) (x, y, monitor_w, monitor_h) = hc.monitor_rect(monitor)
HiDPIHosts = set() HiDPIHosts = set()
HiDPIHosts.add('falcon') HiDPIHosts.add('beryllium')
HiDPIHosts.add('warthog')
HiDPIHosts.add('cipbuero4') HiDPIHosts.add('cipbuero4')
HiDPI = os.uname().nodename in HiDPIHosts HiDPI = os.uname().nodename in HiDPIHosts

View file

@ -72,7 +72,7 @@ case "$HOSTNAME" in
;; ;;
esac esac
if [ "$HOSTNAME" = warthog ] || [ "$HOSTNAME" = falcon ]; then if [ "$HOSTNAME" = beryllium ]; then
hc keybind $Mod-d spawn /usr/bin/dmenu_run_hlwm -fn "Monospace-9" hc keybind $Mod-d spawn /usr/bin/dmenu_run_hlwm -fn "Monospace-9"
hc keybind XF86MonBrightnessDown spawn xbacklight -4 hc keybind XF86MonBrightnessDown spawn xbacklight -4
hc keybind XF86MonBrightnessUp spawn xbacklight +4 hc keybind XF86MonBrightnessUp spawn xbacklight +4

View file

@ -11,7 +11,7 @@ fi
x=${geometry[0]} x=${geometry[0]}
y=${geometry[1]} y=${geometry[1]}
panel_width=${geometry[2]} panel_width=${geometry[2]}
if [ "$HOSTNAME" = warthog ]; then if [ "$HOSTNAME" = beryllium ]; then
panel_height=30 panel_height=30
font="-*-fixed-medium-*-*-*-26-*-*-*-*-*-*-*" font="-*-fixed-medium-*-*-*-26-*-*-*-*-*-*-*"
iconpath=${HOME}/.config/herbstluftwm/icons_large iconpath=${HOME}/.config/herbstluftwm/icons_large
@ -90,7 +90,7 @@ function cpu() {
# BATTERY # BATTERY
function battery() { function battery() {
if [ "$HOSTNAME" != warthog ]; then if [ "$HOSTNAME" != beryllium ]; then
return return
fi fi