summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdot-config/rofi/scripts/powermenu.sh7
-rwxr-xr-xdot-config/rofi/scripts/rofi_powermenu26
2 files changed, 14 insertions, 19 deletions
diff --git a/dot-config/rofi/scripts/powermenu.sh b/dot-config/rofi/scripts/powermenu.sh
index ac311732..b14e792e 100755
--- a/dot-config/rofi/scripts/powermenu.sh
+++ b/dot-config/rofi/scripts/powermenu.sh
@@ -1,17 +1,12 @@
#!/usr/bin/env bash
-## Author : Aditya Shakya
-## Mail : adi1090x@gmail.com
-## Github : @adi1090x
-## Twitter : @adi1090x
-
dir="$HOME/.config/rofi/styles"
rofi_command="rofi -theme $dir/five.rasi"
uptime=$(uptime -p | sed -e 's/up //g')
# Options
-shutdown=""
+shutdown="⏻"
reboot=""
lock=""
suspend=""
diff --git a/dot-config/rofi/scripts/rofi_powermenu b/dot-config/rofi/scripts/rofi_powermenu
index 63bb21c6..505bed3c 100755
--- a/dot-config/rofi/scripts/rofi_powermenu
+++ b/dot-config/rofi/scripts/rofi_powermenu
@@ -12,21 +12,21 @@ mesg="Uptime : `uptime -p | sed -e 's/up //g'`"
# Options
layout=`cat ${RASI} | grep 'USE_ICON' | cut -d'=' -f2`
if [[ "$layout" == 'NO' ]]; then
- option_1=" Lock"
- option_2=" Logout"
- option_3=" Suspend"
- option_4=" Hibernate"
- option_5="🔳Hybrid-sleep"
- option_6=" Reboot"
- option_7=" Shutdown"
+ option_1="󰍁 Lock"
+ option_2="󰗼 Logout"
+ option_3="󰤄 Suspend"
+ option_4="󰤆 Hibernate"
+ option_5="🔳 Hybrid-sleep"
+ option_6="󰜉 Reboot"
+ option_7="⏻ Shutdown"
else
- option_1=""
- option_2=""
- option_3=""
- option_4=""
+ option_1="󰍁"
+ option_2="󰗼"
+ option_3="󰤄"
+ option_4="󰤆"
option_5="🔳"
- option_6=""
- option_7=""
+ option_6="󰜉"
+ option_7="⏻"
fi
cnflayout=`cat ${CNFR} | grep 'USE_ICON' | cut -d'=' -f2`
if [[ "$cnflayout" == 'NO' ]]; then