From 2408f94b134d7d2c0aa9e001618f5bf48d497b47 Mon Sep 17 00:00:00 2001 From: Harri Lahtinen Date: Mon, 25 Oct 2021 13:55:08 +0300 Subject: [PATCH] Removed old powermenu script --- .config/Scripts/on | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100755 .config/Scripts/on diff --git a/.config/Scripts/on b/.config/Scripts/on deleted file mode 100755 index 5feff16..0000000 --- a/.config/Scripts/on +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env bash - -# to edit themes in place with live reload: -# ag -l | entr -r $HOME/.config/rofi/on -# use -normal-window flag on rofi if you want to not have to close rofi to get -# back to your editor. -# https://www.reddit.com/r/qtools/comments/amswu9/autoloading_rofi_for_quick_themeing_experience/ - -options="  lock -  logout -  sleep -  hibernate -  reboot -  shutdown" -themes_dir=$HOME/.config/rofi/themes -theme=${1:-$themes_dir/powermenu.rasi} -selection=$(echo -e "${options}" | rofi -dmenu -config ~/.config/rofi/config.rasi $theme -columns 6 -lines 1 -width 1700) - -echo "This is your selection: $selection" - -case "${selection}" in - "  lock") - betterlockscreen -l dim;; - "  logout") - i3-msg exit;; - "  sleep") - systemctl suspend;; - "  hibernate") - systemctl hibernate;; - "  reboot") - systemctl reboot;; - "  shutdown") - systemctl poweroff -i;; -esac - -exit 0