danix
's git repository
home
/
my projects
/
my-dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mass update.
[my-dotfiles.git]
/
bin
/
blackpearl-powermenu.sh
diff --git
a/bin/blackpearl-powermenu.sh
b/bin/blackpearl-powermenu.sh
old mode 100755
(executable)
new mode 100644
(file)
index
aa203e3
..
c81cfd6
--- a/
bin/blackpearl-powermenu.sh
+++ b/
bin/blackpearl-powermenu.sh
@@
-1,17
+1,18
@@
#!/bin/bash
#!/bin/bash
-rofi_command="rofi -theme blackpearl/powermenu.rasi"
+# rofi_command="rofi -theme blackpearl/powermenu.rasi"
+rofi_command="rofi -theme darknix/powermenu.rasi"
### Options ###
power_off=""
reboot=""
### Options ###
power_off=""
reboot=""
-lock="ï
½
"
-suspend="
鈴"
-log_out="ï
\90
¦
"
+lock="ï
\91
\96
"
+suspend="
⏾"
+log_out="ï
«¼
"
# Variable passed to rofi
options="$power_off\n$reboot\n$lock\n$suspend\n$log_out"
# Variable passed to rofi
options="$power_off\n$reboot\n$lock\n$suspend\n$log_out"
-chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row
2
)"
+chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row
0
)"
case $chosen in
$power_off)
notify-send 'shutting down' 'the system is going to shutdown now'
case $chosen in
$power_off)
notify-send 'shutting down' 'the system is going to shutdown now'
@@
-25,7
+26,7
@@
case $chosen in
;;
$lock)
sleep 1
;;
$lock)
sleep 1
- i3lock-
blur
+ i3lock-
fancy
;;
$suspend)
sleep 1
;;
$suspend)
sleep 1