mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 13:06:13 +01:00
temp solution
This commit is contained in:
@@ -40,10 +40,6 @@ export QT_IM_MODULE=fcitx
|
||||
export XMODIFIERS=@im=fcitx
|
||||
export GLFW_IM_MODULE=ibus
|
||||
|
||||
# some merges
|
||||
xrdb merge .Xresources &
|
||||
xsetroot -cursor_name left_ptr &
|
||||
|
||||
# compositor
|
||||
picom -b --vsync &
|
||||
|
||||
@@ -135,5 +131,10 @@ dbus-update-activation-environment --systemd DBUS_SESSION_BUS_ADDRESS DISPLAY XA
|
||||
|
||||
# redshift &
|
||||
|
||||
# some merges
|
||||
# xrdb merge .Xresources &
|
||||
# xsetroot -cursor_name left_ptr &
|
||||
|
||||
# start dwm
|
||||
exec dwm
|
||||
|
||||
|
||||
@@ -163,6 +163,7 @@ net() {
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
while true; do
|
||||
|
||||
# [ $interval = 0 ] || [ $(($interval % 3600)) = 0 ] && updates=$(pkg_updates)
|
||||
@@ -170,10 +171,11 @@ while true; do
|
||||
|
||||
# sleep 1 && xsetroot -name "$updates $(battery) $(brightness) $(cpu) $(mem) $(wlan) $(clock)"
|
||||
# sleep 1 && xsetroot -name "$(battery) $(brightness) $(cpu) $(mem) $(wlan) $(clock)"
|
||||
if hash dockd 2>/dev/null; then
|
||||
sleep 1 && xsetroot -name "^c$foreground^^b$background1^ $(brightness) ^b$background0^ $(battery) $(net)^c$foreground^^b$background0^ $(today) ^b$background1^ $(clock) ^b$background2^ $(pulse) "
|
||||
else
|
||||
sleep 1 && xsetroot -name "^c$foreground^$(net)^c$foreground^^b$background0^ $(today) ^b$background1^ $(clock) ^b$background2^ $(pulse) "
|
||||
fi
|
||||
|
||||
# if hash dockd 2>/dev/null; then
|
||||
# sleep 1 && xsetroot -name "^c$foreground^^b$background1^ $(brightness) ^b$background0^ $(battery) $(net)^c$foreground^^b$background0^ $(today) ^b$background1^ $(clock) ^b$background2^ $(pulse) "
|
||||
# else
|
||||
sleep 1 && xsetroot -name "^c$foreground^$(net)^c$foreground^^b$background0^ $(today) ^b$background1^ $(clock) ^b$background2^ $(pulse) "
|
||||
xsetroot -cursor_name left_ptr
|
||||
# fi
|
||||
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user