diff options
author | Simon Parri <simonparri@ganzeria.com> | 2025-06-14 15:01:30 -0500 |
---|---|---|
committer | Simon Parri <simonparri@ganzeria.com> | 2025-06-14 15:01:30 -0500 |
commit | 4e970f7cc35d2747af0baa6fca9df5abc18bee43 (patch) | |
tree | 4d1b5b1550d487c246cc90e7b0b735989958f6b5 /hosts/bean/xinitrc | |
parent | fdd799bf06c5d40cb8a3e8292ee76bff265765f9 (diff) | |
download | nixos-config-4e970f7cc35d2747af0baa6fca9df5abc18bee43.tar.gz nixos-config-4e970f7cc35d2747af0baa6fca9df5abc18bee43.zip |
hosts: Rename ades/* to bean/*
Diffstat (limited to 'hosts/bean/xinitrc')
-rw-r--r-- | hosts/bean/xinitrc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hosts/bean/xinitrc b/hosts/bean/xinitrc new file mode 100644 index 0000000..667c768 --- /dev/null +++ b/hosts/bean/xinitrc @@ -0,0 +1,16 @@ +#!/bin/sh + +sys="/etc/xdg/awesome/rc.lua" +con="$HOME/.config/awesome/rc.lua" +xdg="$XDG_CONFIG_DIR/awesome/rc.lua" + +cfg="$sys" + +[ -f "$con" ] && cfg="$con" + +[ "$XDG_CONFIG_DIR" -a -f "$xdg"] && cfg="$xdg" + +sysXres=/etc/X11/Xresources +[ -f "$sysXres" ] && xrdb -merge "$sysXres" + +exec awesome --config "$cfg" |