From 59bcb1f1b52b19f1c879a9d1e32f37a284767588 Mon Sep 17 00:00:00 2001 From: urosm Date: Mon, 11 Dec 2023 17:39:27 +0100 Subject: [PATCH] remove scripts --- .local/bin/fuzzel_do.sh | 6 ------ .local/bin/statusline.sh | 14 -------------- 2 files changed, 20 deletions(-) delete mode 100755 .local/bin/fuzzel_do.sh delete mode 100755 .local/bin/statusline.sh diff --git a/.local/bin/fuzzel_do.sh b/.local/bin/fuzzel_do.sh deleted file mode 100755 index f1e839a..0000000 --- a/.local/bin/fuzzel_do.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -cmd=$(/usr/bin/fuzzel --dmenu --prompt "\$ ") || exit -sel=$($cmd | /usr/bin/fuzzel --dmenu) || exit - -exec $(/usr/bin/fuzzel --dmenu --prompt "\$1 $sel < ") "$sel" || exit diff --git a/.local/bin/statusline.sh b/.local/bin/statusline.sh deleted file mode 100755 index dfaefaa..0000000 --- a/.local/bin/statusline.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -printf "{\"version\":1}\n" -printf "[\n" -while true -do - printf "[" - printf "{\"full_text\":\"%s\"}," "$(makoctl list | jq -r '.data[][0].summary.data | select(type == "string")')" - printf "{\"full_text\":\"%s\"}," "$(swaymsg -t get_inputs | jq -r '[.[] | select(.type == "keyboard")][0] | .xkb_active_layout_name')" - printf "{\"full_text\":\"%s\"}," "$(cat /sys/class/power_supply/BAT0/capacity)" - printf "{\"full_text\":\"%s\"}," "$(date +%c)" - printf "]," - sleep 0.1 -done