Compare commits

..

2 Commits

2 changed files with 20 additions and 5 deletions

View File

@ -15,8 +15,11 @@ st:
-cd ../../../builds/st/ && CFLAGS="-DIS_PHONE" CC=clang make && cp st ~/.local/bin/st -cd ../../../builds/st/ && CFLAGS="-DIS_PHONE" CC=clang make && cp st ~/.local/bin/st
utils-sh: utils-sh:
mkdir -p ~/.local/bin
cp ../../../builds/utils/* ~/.local/bin cp ../../../builds/utils/* ~/.local/bin
rebuild-sh: rebuild-sh:
mkdir -p ~/.local/bin
cp ../../../builds/rebuild/* ~/.local/bin cp ../../../builds/rebuild/* ~/.local/bin
pip-pkgs: pip-pkgs:
@ -25,6 +28,10 @@ pip-pkgs:
# pip3 install khard # pip3 install khard
termux-pkgs: termux-pkgs:
pkg install \
tur-repo \
x11-repo
pkg install \ pkg install \
neovim \ neovim \
python-pip \ python-pip \
@ -48,20 +55,23 @@ termux-pkgs:
htop \ htop \
rbw \ rbw \
pkg-config \ pkg-config \
xorg-xrandr \
bspwm \ bspwm \
termux-api \ termux-api \
jq \ jq \
xclip \
isync \ isync \
neomutt \ neomutt \
pandoc \ pandoc \
wget \ wget \
tur-repo \ which \
x11-repo openssl
pkg install \ pkg install \
chromium # from tur-repo chromium # from tur-repo
termux-dots: termux-dots:
mkdir -p ~/.local/bin
ln -sf $(CURDIR)/../../../.config ~/.config ln -sf $(CURDIR)/../../../.config ~/.config
ln -sf $(CURDIR)/../../../.config/ssh/config ~/.ssh/config ln -sf $(CURDIR)/../../../.config/ssh/config ~/.ssh/config
ln -sf ~/.config/bash/bashrc ~/.bashrc ln -sf ~/.config/bash/bashrc ~/.bashrc
@ -75,5 +85,5 @@ git-annex.linux:
bash install-git-annex.sh bash install-git-annex.sh
sssg: sssg:
cp ~/git/sssg/sssg.sh ~/.local/bin/sssg -cp ~/git/sssg/sssg.sh ~/.local/bin/sssg
chmod +x ~/.local/bin/sssg -chmod +x ~/.local/bin/sssg

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