forked from Shinonome/dots-hyprland
Fix dist-fedora setups.sh from modify repo
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
# Bar, wallpaper
|
||||||
|
exec-once = ~/.config/hypr/hyprland/scripts/start_geoclue_agent.sh
|
||||||
|
exec-once = qs -c $qsConfig &
|
||||||
|
|
||||||
|
# Input method
|
||||||
|
# exec-once = fcitx5
|
||||||
|
|
||||||
|
# Core components (authentication, lock screen, notification daemon)
|
||||||
|
exec-once = gnome-keyring-daemon --start --components=secrets
|
||||||
|
exec-once = hypridle
|
||||||
|
exec-once = dbus-update-activation-environment --all
|
||||||
|
exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Some fix idk
|
||||||
|
exec-once = hyprpm reload
|
||||||
|
|
||||||
|
# Audio
|
||||||
|
exec-once = easyeffects --gapplication-service
|
||||||
|
|
||||||
|
# Clipboard: history
|
||||||
|
# exec-once = wl-paste --watch cliphist store &
|
||||||
|
exec-once = wl-paste --type text --watch bash -c 'cliphist store && qs -c $qsConfig ipc call cliphistService update'
|
||||||
|
exec-once = wl-paste --type image --watch bash -c 'cliphist store && qs -c $qsConfig ipc call cliphistService update'
|
||||||
|
|
||||||
|
# Cursor
|
||||||
|
exec-once = hyprctl setcursor Bibata-Modern-Classic 24
|
||||||
|
|
||||||
|
# Fix dock pinned apps not launching properly (https://github.com/end-4/dots-hyprland/issues/2200)
|
||||||
|
exec-once = sleep 3.5 && hyprctl reload && sleep 0.5 && touch ~/.config/quickshell/ii/shell.qml
|
||||||
|
|
||||||
|
# For fedora to setup polkit
|
||||||
|
exec-once = /usr/libexec/kf6/polkit-kde-authentication-agent-1
|
||||||
@@ -17,6 +17,3 @@ v sudo systemctl enable bluetooth --now
|
|||||||
v gsettings set org.gnome.desktop.interface font-name 'Rubik 11'
|
v gsettings set org.gnome.desktop.interface font-name 'Rubik 11'
|
||||||
v gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
v gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'
|
||||||
v kwriteconfig6 --file kdeglobals --group KDE --key widgetStyle Darkly
|
v kwriteconfig6 --file kdeglobals --group KDE --key widgetStyle Darkly
|
||||||
v bash -c "echo exec-once = /usr/libexec/kf6/polkit-kde-authentication-agent-1 |
|
|
||||||
sudo tee -a ${REPO_ROOT}/dots/.config/hypr/custom/execs.conf"
|
|
||||||
# TODO: This will modify Git repo itself which should be avoided, however it makes sense that this may be needed. Need to improve this in future.
|
|
||||||
@@ -59,6 +59,9 @@ case $SKIP_HYPRLAND in
|
|||||||
true) sleep 0;;
|
true) sleep 0;;
|
||||||
*)
|
*)
|
||||||
warning_rsync_delete; v rsync -av --delete "${arg_excludes[@]}" dots/.config/hypr/ "$XDG_CONFIG_HOME"/hypr/
|
warning_rsync_delete; v rsync -av --delete "${arg_excludes[@]}" dots/.config/hypr/ "$XDG_CONFIG_HOME"/hypr/
|
||||||
|
if [ "$OS_DISTRO_ID" = "fedora" ];then
|
||||||
|
v rsync -av "${REPO_ROOT}/dots-extra/fedora/hypr/hyprland/execs.conf" "$XDG_CONFIG_HOME/hypr/hyprland/execs.conf"
|
||||||
|
fi
|
||||||
# When hypr/custom does not exist, we assume that it's the firstrun.
|
# When hypr/custom does not exist, we assume that it's the firstrun.
|
||||||
if [ -d "$XDG_CONFIG_HOME/hypr/custom" ];then ii_firstrun=false;else ii_firstrun=true;fi
|
if [ -d "$XDG_CONFIG_HOME/hypr/custom" ];then ii_firstrun=false;else ii_firstrun=true;fi
|
||||||
t="$XDG_CONFIG_HOME/hypr/hyprland.conf"
|
t="$XDG_CONFIG_HOME/hypr/hyprland.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user