summaryrefslogtreecommitdiff
path: root/halfway/general.zsh
diff options
context:
space:
mode:
authorA Farzat <a@farzat.xyz>2024-04-22 00:45:10 +0900
committerA Farzat <a@farzat.xyz>2024-10-16 00:45:10 +0900
commit64bf3f8bed57c82a106591f293c7aa03252f90cf (patch)
treec5eff24566ea8738b56eefa5557336aebd6be232 /halfway/general.zsh
parent25d5b64294ce3c676690799fa176265f77ec9713 (diff)
downloadzsh-64bf3f8bed57c82a106591f293c7aa03252f90cf.tar.gz
zsh-64bf3f8bed57c82a106591f293c7aa03252f90cf.zip
Use wal sequences
Diffstat (limited to 'halfway/general.zsh')
-rw-r--r--halfway/general.zsh9
1 files changed, 9 insertions, 0 deletions
diff --git a/halfway/general.zsh b/halfway/general.zsh
new file mode 100644
index 0000000..909c13f
--- /dev/null
+++ b/halfway/general.zsh
@@ -0,0 +1,9 @@
+# Run the sequences in the current terminal to apply the theme.
+# The first is synchronous, the second is asynchronous.
+cat ~/.cache/wal/sequences;
+# (cat ~/.cache/wal/sequences &);
+# To add support for TTYs this line can be optionally added.
+source ~/.cache/wal/colors-tty.sh
+# Attempts to restore the cursor colour - harmless, usually doesn't work
+# but sometimes it is actually the only thing that works.
+printf '%b' '\e]12'