small thunar and greetd changes and some refactoring

This commit is contained in:
cnst
2024-11-10 13:54:04 +01:00
parent dbba176430
commit df33d941cb
22 changed files with 77 additions and 202 deletions

10
scripts/bin/mako.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
COUNT=$(makoctl list | grep -c "id")
ENABLED=󰂚
DISABLED=󱏧
if [ "$COUNT" != 0 ]; then DISABLED="󱅫"; fi
if [ "$(
makoctl mode | grep -q "default"
echo $?
)" -eq 0 ]; then echo $ENABLED; else echo $DISABLED; fi