feat: support config file and reload config without logout

This commit is contained in:
DreamMaoMao
2025-02-16 23:09:46 +08:00
parent 8d872968c7
commit 16fe8f6194
9 changed files with 1377 additions and 394 deletions

View File

@@ -2,12 +2,14 @@
set +e
systemctl --user unmask xdg-desktop-portal-hyprland
systemctl --user mask xdg-desktop-portal-gnome
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
/usr/lib/xdg-desktop-portal-hyprland &
wl-clip-persist --clipboard regular &
wl-paste --type text --watch cliphist store &
wlsunset -T 3501 -t 3500 &
swaybg -i ~/.config/maomao/wallpaper/wallpaper.png &
waybar -c ~/.config/maomao/waybar/config -s ~/.config/maomao/waybar/style.css &
echo "Xft.dpi: 140" | xrdb -merge # change x11 dpi