How to tell if caelestia shell is active? #890
-
|
I would like to incorporate awareness of caelestia into my shell config, so I can apply the terminal colorscheme ( (I suppose a simple solution would be to set an environment variable like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
You can check whether the shell is active by looking for the |
Beta Was this translation helpful? Give feedback.
you can just query the currently active processes for it?
pgrep -f "qs -c caelestia"ps aux | grep '[q]s -c caelestia'These commands only check the process table and do not launch any new processes
you can drop something like that into config.fish to tailor environment settings dynamically base…