danix
's git repository
home
/
my projects
/
my-dotfiles.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
modificato: i3/config
[my-dotfiles.git]
/
bin
/
blackpearl-utilsmenu.sh
1
#!/bin/bash
2
3
rofi_command
=
"rofi -theme blackpearl/utilsmenu.rasi"
4
5
### Options ###
6
wpaper
=
""
7
webdevel
=
""
8
# Variable passed to rofi
9
options
=
"
$wpaper
\n
$webdevel
"
10
11
chosen
=
"$(echo -e "
$options
" |
$rofi_command
-dmenu -selected-row 1)"
12
case
$chosen
in
13
$wpaper
)
14
change_wallpaper.sh
15
;;
16
$webdevel
)
17
webdevel
18
;;
19
esac
20