aboutsummaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorRosa <rosaontheweb@proton.me>2026-01-18 16:00:37 -0500
committerRosa <rosaontheweb@proton.me>2026-01-18 16:00:37 -0500
commitd8b9f3106942fe47635df682f79b7fb8051c8e8e (patch)
tree6804e0122140869be77b5e06311e8c50cba2b73f /user
parent93855184693b464a8fead011e254ad4a95e0d61b (diff)
finally cursors
Diffstat (limited to 'user')
-rw-r--r--user/home/default.nix2
-rw-r--r--user/home/zsh/default.nix (renamed from user/home/zsh.nix)1
-rw-r--r--user/home/zsh/zlogin.zsh4
3 files changed, 6 insertions, 1 deletions
diff --git a/user/home/default.nix b/user/home/default.nix
index 6caaa6c..35e38dc 100644
--- a/user/home/default.nix
+++ b/user/home/default.nix
@@ -10,7 +10,7 @@
./kakoune
./ssh.nix
./vencord
- ./zsh.nix
+ ./zsh
];
home = {
diff --git a/user/home/zsh.nix b/user/home/zsh/default.nix
index c19b147..ffc8977 100644
--- a/user/home/zsh.nix
+++ b/user/home/zsh/default.nix
@@ -11,6 +11,7 @@
PS1="%F{1}%n %B%5~%b %F{8}%# %f"
'';
+ loginExtra = if (config.desktop.windowManager == "sway") then builtins.readFile ./zlogin.zsh else "";
syntaxHighlighting.enable = true;
};
}
diff --git a/user/home/zsh/zlogin.zsh b/user/home/zsh/zlogin.zsh
new file mode 100644
index 0000000..94ce47c
--- /dev/null
+++ b/user/home/zsh/zlogin.zsh
@@ -0,0 +1,4 @@
+if [[ "$(tty)" == "/dev/tty1" ]]; then
+ export XCURSOR_THEME="catppuccin-mocha-dark-cursors"
+ exec sway
+fi