small thunar and greetd changes and some refactoring
This commit is contained in:
10
scripts/bin/mako.sh
Executable file
10
scripts/bin/mako.sh
Executable 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
|
||||
Reference in New Issue
Block a user