diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-08 20:12:40 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-08 20:12:40 +0200 | 
| commit | d309fa6cf1db09ca655f072746b37ea57479eda6 (patch) | |
| tree | de9bdee84b0526129feb24e994488aa1c17d9bfd /bin/guiscripts/tothemes | |
| parent | b46b799be2f93d5263f6b3965af5121424cfeee0 (diff) | |
added tothemes
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  | 
