codify more things in the phone configuration

This commit is contained in:
stupidcomputer 2024-11-03 23:57:17 -06:00
parent a4284d5904
commit c736b1c6a8
2 changed files with 7 additions and 1 deletions

View File

@ -59,6 +59,7 @@ termux-pkgs:
bspwm \ bspwm \
termux-api \ termux-api \
jq \ jq \
xclip \
isync \ isync \
neomutt \ neomutt \
pandoc \ pandoc \

View File

@ -174,11 +174,16 @@ case "$(hostname)" in
;; ;;
"localhost") # phone in termux "localhost") # phone in termux
pkill sxhkd pkill sxhkd
cd ~
sxhkd -c ~/.config/sxhkd/phone & disown sxhkd -c ~/.config/sxhkd/phone & disown
cd -
xrandr --output VNC-0 --mode 1920x1080 xrandr --output VNC-0 --mode 1920x1080
bspc monitor VNC-0 -d 1 2 3 4 5 6 7 8 9 # the phone uses different desktop descriptors bspc monitor VNC-0 -d 1 2 3 4 5 6 7 8 9 # the phone uses different desktop descriptors
feh --bg-fill ~/.local/share/pape.jpg feh --bg-fill ~/.local/share/pape.jpg
bspc config top_padding 0
bspc config bottom_padding 100
mkdir -p ~/.cache/statusbar
;;
esac esac
# initial post-wm setup # initial post-wm setup