yeee
This commit is contained in:
parent
33cb54e789
commit
225bb398f1
7 changed files with 498 additions and 468 deletions
|
|
@ -108,7 +108,19 @@ function bluetooth_connection
|
|||
notify-send "Connect to bluetooth device $names[$input]" (bluetoothctl connect $ids[$input] | string collect)
|
||||
end
|
||||
|
||||
set options " Open Location" " Open WueCampus Course" " Select Audio Source" " Select Audio Sink" " Select Bluetooth" " Select Network"
|
||||
function color_scheme
|
||||
set options "Light" "Dark"
|
||||
set input (menu $options)
|
||||
|
||||
switch $input
|
||||
case $options[1]
|
||||
dconf write /org/gnome/desktop/interface/color-scheme \'prefer-light\'
|
||||
case $options[2]
|
||||
dconf write /org/gnome/desktop/interface/color-scheme \'prefer-dark\'
|
||||
end
|
||||
end
|
||||
|
||||
set options " Open Location" " Open WueCampus Course" " Select Audio Source" " Select Audio Sink" " Select Bluetooth" " Select Network" " Color Scheme"
|
||||
set input (menu $options)
|
||||
|
||||
switch $input
|
||||
|
|
@ -129,4 +141,7 @@ switch $input
|
|||
|
||||
case $options[6]
|
||||
network_connection
|
||||
|
||||
case $options[7]
|
||||
color_scheme
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue