diff options
Diffstat (limited to 'bin/guiscripts/tothemes')
-rwxr-xr-x | bin/guiscripts/tothemes | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/guiscripts/tothemes b/bin/guiscripts/tothemes new file mode 100755 index 0000000..cef752f --- /dev/null +++ b/bin/guiscripts/tothemes @@ -0,0 +1,8 @@ +#!/bin/sh + +tofi_path="$HOME/.config/tofi" +choice="$(find "$tofi_path/themes" -type f | + xargs -I {} basename {} | + tofi --placeholder-text "theme")" + +ln -sf "$tofi_path/themes/${choice:-nord}" $tofi_path/config |