Files
dotfiles/.config/hypr/config/autostart.conf

33 lines
1.3 KiB
Plaintext

# System
# Initialize dbus
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# Set workspaces to hundreds for the scroll-to-left support
# exec-once = bash -c "sleep 1 && for monitor in $(hyprctl monitors -j | jq -r '.[].name'); do hyprctl dispatch workspace 100 && hyprctl dispatch focusworkspaceoncurrentmonitor 100; done"
exec-once = ~/.config/hypr/scripts/set-workspaces.sh
# Initialize sleep
exec-once = uwsm app -- systemd-inhibit --who="Hyprland config" --why="wlogout keybind" --what=handle-power-key --mode=block sleep infinity
# Run xdg portals
exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-hyprland
exec-once = uwsm app -- /usr/lib/xdg-desktop-portal
exec-once = uwsm app -- /usr/lib/xdg-desktop-portal-gtk
# Clipboard
exec-once = uwsm app -- wl-paste --type text --watch cliphist store #Stores only text data
exec-once = uwsm app -- wl-paste --type image --watch cliphist store #Stores only image data
# Essential
exec-once = uwsm app -- dunst
exec-once = uwsm app -- awww-daemon
exec-once = uwsm app -- awww img "$WALLPAPER"
# Important
exec-once = uwsm app -- hypridle
exec-once = uwsm app -- waybar
# Extra
# Color correction
exec-once = ~/.config/hypr/scripts/color-correction.sh
# Apply GTK themes
exec-once = nwg-look -a