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

View file

@ -32,6 +32,9 @@ export QT_IM_MODULE="ibus"
export GLFW_IM_MODULE="ibus" export GLFW_IM_MODULE="ibus"
export XMODIFIERS=@im="ibus" export XMODIFIERS=@im="ibus"
# -- rootless docker
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
# -- DEFAULT # -- DEFAULT
export QT_QPA_PLATFORMTHEME="qt5ct" export QT_QPA_PLATFORMTHEME="qt5ct"
if [[ -n $SSH_CONNECTION ]]; then if [[ -n $SSH_CONNECTION ]]; then