From 149ae40c6952d79884233f5798d92500e3657937 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Tue, 8 Oct 2024 23:31:39 +0800 Subject: change(rofi,power): changed icons --- dot-config/rofi/scripts/powermenu.sh | 7 +------ dot-config/rofi/scripts/rofi_powermenu | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 19 deletions(-) (limited to 'dot-config/rofi') 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 -- cgit v1.2.3