From 19120d4f9761c67d99ed1ce3da6084b83f5a49c9 Mon Sep 17 00:00:00 2001 From: srdusr Date: Sat, 30 Aug 2025 19:22:59 +0200 Subject: Linux-specific dotfiles --- .config/polybar/scripts/rofi-power.sh | 45 ----------------------------------- 1 file changed, 45 deletions(-) delete mode 100755 .config/polybar/scripts/rofi-power.sh (limited to '.config/polybar/scripts/rofi-power.sh') diff --git a/.config/polybar/scripts/rofi-power.sh b/.config/polybar/scripts/rofi-power.sh deleted file mode 100755 index 87ac92c..0000000 --- a/.config/polybar/scripts/rofi-power.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/usr/bin/env sh -# -# A rofi powered menu to execute power related action. -# Uses: amixer mpc poweroff reboot rofi rofi-prompt - -power_off='' -reboot='' -lock='' -suspend='鈴' -log_out='' - -chosen=$(printf '%s;%s;%s;%s;%s\n' "$power_off" "$reboot" "$lock" "$suspend" \ - "$log_out" \ - | rofi -theme '~/.config/rofi/themes/power.rasi' \ - -dmenu \ - -sep ';' \ - -selected-row 2) - -case "$chosen" in - "$power_off") - rofi-prompt --query 'Shutdown?' && poweroff - ;; - - "$reboot") - rofi-prompt --query 'Reboot?' && reboot - ;; - - "$lock") - # TODO Add your lockscreen command. - ;; - - "$suspend") - # Pause music and mute volume before suspending. - mpc --quiet pause - amixer set Master mute - # TODO Add your suspend command. - ;; - - "$log_out") - # TODO Add your log out command. - ;; - - *) exit 1 ;; -esac - -- cgit v1.2.3