mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
xprofile: Run dpi script on startup
Ensures configuration of various graphical services is set correctly on startup, either before they start, or just after, restarting them accordingly. This should scale i3, picom, gtk and friends for a seamless experience. Use xresources as a source of truth for this information. Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
@ -57,13 +57,13 @@ Xft.dpi: $dpi
|
||||
Xcursor.size: $cursor
|
||||
EOF
|
||||
xrandr --dpi "$dpi" &
|
||||
systemctl --user reload-or-restart xsettingsd &
|
||||
systemctl --user try-reload-or-restart xsettingsd &
|
||||
wait
|
||||
|
||||
systemctl --user reload \
|
||||
systemctl --user try-reload-or-restart \
|
||||
i3 \
|
||||
polybar@i3bar &
|
||||
systemctl --user restart \
|
||||
systemctl --user try-restart \
|
||||
dunst &
|
||||
|
||||
wait
|
||||
|
Reference in New Issue
Block a user