add emacsd on hyprstartup. fix (?) desktop sleep

This commit is contained in:
2025-10-06 15:09:39 +01:00
parent 895732f7fc
commit 11e1339249
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -1,6 +1,7 @@
# Startup
exec-once= bash -c "wl-paste --watch cliphist store &"
exec-once= fcitx5 -d
exec-once= emacs --daemon
exec-once= dms run # DankShell
# Monitors
+3 -1
View File
@@ -117,8 +117,10 @@
nvidia = {
modesetting.enable = true;
powerManagement.enable = true;
open = true;
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.latest;
};
};
+2
View File
@@ -81,6 +81,7 @@
else
export PS1='\[\e[1;m\e[1;33m\e[1;m\] \W\[\e[m\e[m\] 🐧 \[\e[1;32m\]~> \[\e[m\e[m\]'
fi;
export PATH="$HOME/.local/bin:$PATH"
set -o vi
fastfetch
'';
@@ -103,6 +104,7 @@
ping = "ping -c 5";
vi = "\\vim";
work = "nix develop --impure";
hyprLockRestore = "hyprctl --instance $1 'keyword misc:allow_session_lock_restore 1' && dms ipc call lock lock";
".." = "cd ..";
};
};