refactor: some experiment

This commit is contained in:
ziro 2023-01-03 13:56:37 +07:00
parent e4a115c325
commit 8604092e81
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
2 changed files with 14 additions and 7 deletions

View file

@ -12,13 +12,17 @@ if [[ "$OSTYPE" == "linux-gnu" ]]; then
# Slow app startup fix (for flatpaks)
dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY
# Universal Autostarts
# fcitx5 -d &
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources &
unclutter &
dunst &
numlockx &
lxpolkit &
if [[ "1$(pidof dwm)" == "1" ]]; then
echo ""
else
# Autostarts for DWM
# fcitx5 -d &
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/Xresources &
unclutter &
dunst &
numlockx &
lxpolkit &
fi
# Custom Resolutions
xrandr --newmode "768x432" 25.75 768 792 864 960 432 435 440 450 -hsync +vsync