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 # Startup
exec-once= bash -c "wl-paste --watch cliphist store &" exec-once= bash -c "wl-paste --watch cliphist store &"
exec-once= fcitx5 -d exec-once= fcitx5 -d
exec-once= emacs --daemon
exec-once= dms run # DankShell exec-once= dms run # DankShell
# Monitors # Monitors
+3 -1
View File
@@ -117,8 +117,10 @@
nvidia = { nvidia = {
modesetting.enable = true; modesetting.enable = true;
powerManagement.enable = true; powerManagement.enable = true;
open = true;
open = false;
nvidiaSettings = true; nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.latest;
}; };
}; };
+2
View File
@@ -81,6 +81,7 @@
else else
export PS1='\[\e[1;m\e[1;33m\e[1;m\] \W\[\e[m\e[m\] 🐧 \[\e[1;32m\]~> \[\e[m\e[m\]' export PS1='\[\e[1;m\e[1;33m\e[1;m\] \W\[\e[m\e[m\] 🐧 \[\e[1;32m\]~> \[\e[m\e[m\]'
fi; fi;
export PATH="$HOME/.local/bin:$PATH"
set -o vi set -o vi
fastfetch fastfetch
''; '';
@@ -103,6 +104,7 @@
ping = "ping -c 5"; ping = "ping -c 5";
vi = "\\vim"; vi = "\\vim";
work = "nix develop --impure"; work = "nix develop --impure";
hyprLockRestore = "hyprctl --instance $1 'keyword misc:allow_session_lock_restore 1' && dms ipc call lock lock";
".." = "cd .."; ".." = "cd ..";
}; };
}; };