Skip to content

Commit 1ad99b4

Browse files
committed
Fix for nix
1 parent 2dfbb84 commit 1ad99b4

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed
File renamed without changes.

sdata/dist-nix/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ TODO:
2424
```plain
2525
Failed to connect to user scope bus via local transport: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)
2626
```
27+
- [ ] Handle problem that `pkill qs` and `pkill hyprland` does not work (should be `.quickshell-wra` and `.Hyprland-wrapp` when installed via Nix).
2728

2829
## Attentions
2930
### PAM

sdata/subcmd-install/3.files-legacy.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,16 @@ case $SKIP_HYPRLAND in
9191
*)
9292
if ! [ -d "$XDG_CONFIG_HOME"/hypr ]; then v mkdir -p "$XDG_CONFIG_HOME"/hypr ; fi
9393
warning_rsync_delete; v rsync -av --delete dots/.config/hypr/hyprland/ "$XDG_CONFIG_HOME"/hypr/hyprland/
94-
for i in hypr{land,idle,lock}.conf {monitors,workspaces}.conf ; do
94+
for i in hypr{land,lock}.conf {monitors,workspaces}.conf ; do
9595
copy_file_s_t "dots/.config/hypr/$i" "${XDG_CONFIG_HOME}/hypr/$i"
9696
done
97+
for i in hypridle.conf ; do
98+
if [[ ! "${INSTALL_VIA_NIX}" == true ]]; then
99+
copy_file_s_t "dots-extra/via-nix/$i" "${XDG_CONFIG_HOME}/hypr/$i"
100+
else
101+
copy_file_s_t "dots/.config/hypr/$i" "${XDG_CONFIG_HOME}/hypr/$i"
102+
fi
103+
done
97104
if [ "$OS_GROUP_ID" = "fedora" ];then
98105
v bash -c "printf \"# For fedora to setup polkit\nexec-once = /usr/libexec/kf6/polkit-kde-authentication-agent-1\n\" >> ${XDG_CONFIG_HOME}/hypr/hyprland/execs.conf"
99106
fi

0 commit comments

Comments
 (0)