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:
parent
a4762ca7a2
commit
d4022aecee
4 changed files with 5 additions and 6 deletions
|
|
@ -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)
|
||||
|
||||
HiDPIHosts = set()
|
||||
HiDPIHosts.add('falcon')
|
||||
HiDPIHosts.add('warthog')
|
||||
HiDPIHosts.add('beryllium')
|
||||
HiDPIHosts.add('cipbuero4')
|
||||
|
||||
HiDPI = os.uname().nodename in HiDPIHosts
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ case "$HOSTNAME" in
|
|||
;;
|
||||
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 XF86MonBrightnessDown spawn xbacklight -4
|
||||
hc keybind XF86MonBrightnessUp spawn xbacklight +4
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ fi
|
|||
x=${geometry[0]}
|
||||
y=${geometry[1]}
|
||||
panel_width=${geometry[2]}
|
||||
if [ "$HOSTNAME" = warthog ]; then
|
||||
if [ "$HOSTNAME" = beryllium ]; then
|
||||
panel_height=30
|
||||
font="-*-fixed-medium-*-*-*-26-*-*-*-*-*-*-*"
|
||||
iconpath=${HOME}/.config/herbstluftwm/icons_large
|
||||
|
|
@ -90,7 +90,7 @@ function cpu() {
|
|||
|
||||
# BATTERY
|
||||
function battery() {
|
||||
if [ "$HOSTNAME" != warthog ]; then
|
||||
if [ "$HOSTNAME" != beryllium ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue