From d309fa6cf1db09ca655f072746b37ea57479eda6 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sat, 8 Apr 2023 20:12:40 +0200 Subject: added tothemes --- bin/guiscripts/tothemes | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/guiscripts/tothemes (limited to 'bin/guiscripts') 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 -- cgit v1.2.3