danix
's git repository
home
/
my projects
/
danixland-rofi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated all my files for rofi
[danixland-rofi.git]
/
scripts
/
darknix-powermenu.sh
diff --git
a/scripts/danixland-powermenu.sh
b/scripts/darknix-powermenu.sh
old mode 100644
(file)
new mode 100755
(executable)
similarity index 79%
rename from
scripts/danixland-powermenu.sh
rename to
scripts/darknix-powermenu.sh
index
00fa7cf
..
c81cfd6
--- a/
scripts/danixland-powermenu.sh
+++ b/
scripts/darknix-powermenu.sh
@@
-1,17
+1,18
@@
#!/bin/bash
#!/bin/bash
-rofi_command="rofi -theme danixland/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-
wrapper
+ i3lock-
fancy
;;
$suspend)
sleep 1
;;
$suspend)
sleep 1