From 4c4b967a3bd2d659b3b8229c5caf970bc45a9542 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 19 Nov 2022 20:24:42 -0500 Subject: Drop rofi in favour of dmenu --- .local/bin/dmenu-light | 4 ++++ .local/bin/dmenu-pamixer | 4 ++++ .local/bin/rofi-light | 4 ---- .local/bin/rofi-pamixer | 4 ---- 4 files changed, 8 insertions(+), 8 deletions(-) create mode 100755 .local/bin/dmenu-light create mode 100755 .local/bin/dmenu-pamixer delete mode 100755 .local/bin/rofi-light delete mode 100755 .local/bin/rofi-pamixer (limited to '.local/bin') diff --git a/.local/bin/dmenu-light b/.local/bin/dmenu-light new file mode 100755 index 0000000..988a073 --- /dev/null +++ b/.local/bin/dmenu-light @@ -0,0 +1,4 @@ +#!/bin/sh +cur=$(light -G) +val=$(dmenu -p "brightness ($cur):" < /dev/null) +[ -n "$val" ] && light -S "$val" diff --git a/.local/bin/dmenu-pamixer b/.local/bin/dmenu-pamixer new file mode 100755 index 0000000..c830e9d --- /dev/null +++ b/.local/bin/dmenu-pamixer @@ -0,0 +1,4 @@ +#!/bin/sh +cur=$(pamixer --get-volume) +val=$(dmenu -p "volume ($cur):" < /dev/null) +[ -n "$val" ] && pamixer --set-volume "$val" diff --git a/.local/bin/rofi-light b/.local/bin/rofi-light deleted file mode 100755 index 72fbd43..0000000 --- a/.local/bin/rofi-light +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -cur=$(light -G) -val=$(rofi -dmenu -mesg "brightness: $cur" -p "" -l 0 -width 13) -[ -n "$val" ] && light -S "$val" diff --git a/.local/bin/rofi-pamixer b/.local/bin/rofi-pamixer deleted file mode 100755 index 19377dc..0000000 --- a/.local/bin/rofi-pamixer +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -cur=$(pamixer --get-volume) -val=$(rofi -dmenu -mesg "volume: $cur" -p "" -l 0 -width 8) -[ -n "$val" ] && pamixer --set-volume "$val" -- cgit v1.2.3-60-g2f50