mirror of
https://github.com/Dejvino/pinephone-sway-poc.git
synced 2024-12-22 18:48:48 +00:00
15 lines
329 B
Plaintext
15 lines
329 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
MENUOPTIONS=~/.menuoptions
|
||
|
MENUSELECT=~/.menuselect
|
||
|
|
||
|
if [ ! -f $MENUOPTIONS ]
|
||
|
then
|
||
|
echo 'termite Terminal' > $MENUOPTIONS
|
||
|
echo 'audacious Music_Player' >> $MENUOPTIONS
|
||
|
echo 'firefox Web_Browser' >> $MENUOPTIONS
|
||
|
fi
|
||
|
|
||
|
dialog --menu EXECUTE 15 40 6 `cat $MENUOPTIONS` 2>$MENUSELECT && swaymsg exec `cat $MENUSELECT`
|
||
|
|