1
0

displaym stuff

This commit is contained in:
dtb 2021-07-24 22:25:13 -04:00
parent 54b030a3b1
commit e51f9b2236
3 changed files with 14 additions and 6 deletions

View File

@ -1,8 +1,6 @@
# load X default stuff # load X default stuff
xrdb -load .Xresources xrdb -load .Xresources
# xclock # wallpaper
xclock -geometry 180x180-10+10 -update 1 & feh --bg-center /home/trinity/Pictures/Wallpapers/nosebleed.jpg
# xload
xload -geometry 180x180-10+200 -update 1 &
# keybind manager # keybind manager
exec sxhkd & pgrep -x sxhkd >/dev/null || sxhkd &

View File

@ -1 +1,7 @@
# xclock
xclock -geometry 180x180-10+10 -update 1 &
# xload
xload -geometry 180x180-10+200 -update 1 &
# bar
data | lemonbar -bf '-*-unscii-*-*-*-*-*-*-*-*-*-*-*-*' -F '#FFDBDB' &
exec ctwm exec ctwm

View File

@ -23,7 +23,11 @@ case "$1" in
(start) (start)
WM="$2"; export WM WM="$2"; export WM
cat "$DISPLAYM_CONFIG/.xinitrc" "$DISPLAYM_CONFIG/$WM/.xinitrc" >"$HOME/.xinitrc" cat "$DISPLAYM_CONFIG/.xinitrc" "$DISPLAYM_CONFIG/$WM/.xinitrc" >"$HOME/.xinitrc"
. "$HOME/.config/displaym/$WM/start.sh" sh "$DISPLAYM_CONFIG/$WM/start.sh"
;;
(stop)
sh "$DISPLAYM_CONFIG/$WM/stop.sh"
pkill "$WM"
;; ;;
(*) usage ;; (*) usage ;;
esac esac