ebd878f6fc243649cd759957f55278391d07efc8

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

start hyprland using systemd

Diff

 1diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
 2index b6d210f9320f61ae9c1104b8cf1eafecba897938..58f3fdcc3a58caad655a22f70b1ac2a6bcf0f749 100644
 3--- a/dot_zshrc.tmpl
 4+++ b/dot_zshrc.tmpl
 5@@ -38,6 +38,7 @@ set_env() {
 6     export DEFAULT_USER="pavle"
 7     export EDITOR="nvim"
 8     export VISUAL="nvim"
 9+    export TERMINAL="ghostty"
10     export LANG="en_US.UTF-8"
11     export LC_ALL="en_DK.UTF-8"
12     export PATH="$HOME/.local/bin:$PATH:$GOBIN:$HOME/.cargo/bin:$HOME/.local/share/nvim/mason/bin"
13@@ -123,7 +124,7 @@ type autopair-init &> /dev/null && autopair-init
14 if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && [[ $(tty) = /dev/tty1 ]]; then
15     # hyprland on tty1
16     set_env
17-    exec uwsm start hyprland.desktop
18+    exec systemctl --user start hyprland-uwsm
19 elif [[ $(tty) =~ "/dev/tty[0-9]" ]]; then
20     # Enable unicode characters in the tty
21     set_env