yay
This commit is contained in:
parent
f5ca21bb6f
commit
479f3abcf7
3 changed files with 16 additions and 9 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Select folders in current semester
|
||||
function open_semester
|
||||
set recent "/home/never/Documents/InNa/25_WiSe/"
|
||||
set recent "/home/never/Documents/InNa/26_SoSe/"
|
||||
set options (ls $recent)
|
||||
set input (menu $options)
|
||||
|
||||
|
|
@ -11,7 +11,7 @@ end
|
|||
|
||||
# Open user directories
|
||||
function open_location
|
||||
set options "25_WiSe" " Documents" " Music" " Pictures" " Videos" " Downloads"
|
||||
set options "Semester" " Documents" " Music" " Pictures" " Videos" " Downloads"
|
||||
set input (menu $options)
|
||||
|
||||
switch $input
|
||||
|
|
@ -43,7 +43,7 @@ function open_course
|
|||
case $options[3]
|
||||
xdg-open "https://wuecampus.uni-wuerzburg.de/moodle/course/view.php?id=78361"
|
||||
case $options[4]
|
||||
xdg-open ""
|
||||
xdg-open "https://wuecampus.uni-wuerzburg.de/moodle/course/view.php?id=79204"
|
||||
case $options[5]
|
||||
xdg-open "https://wuecampus.uni-wuerzburg.de/moodle/course/view.php?id=79247"
|
||||
end
|
||||
|
|
@ -140,9 +140,12 @@ function restore_notifications
|
|||
end
|
||||
end
|
||||
|
||||
function set_keyboard_backlight
|
||||
brightnessctl --device=white:kbd_backlight set (menu --index "0" "1" "2" "3" "4")
|
||||
end
|
||||
|
||||
# Select sub menu
|
||||
set options " Open Location" " Open WueCampus Course" " Select Audio Source" " Select Audio Sink" " Select Bluetooth" " Select Network" " Color Scheme" " Restore Notifications"
|
||||
set options " Open Location" " Open WueCampus Course" " Select Audio Source" " Select Audio Sink" " Select Bluetooth" " Select Network" " Color Scheme" " Restore Notifications" " Set Keyboard Backlight"
|
||||
set input (menu $options)
|
||||
|
||||
switch $input
|
||||
|
|
@ -159,7 +162,7 @@ switch $input
|
|||
case $options[4]
|
||||
wpsinkmenu.fish
|
||||
# audio_sink
|
||||
|
||||
|
||||
case $options[5]
|
||||
bluetoothmenu.fish
|
||||
# bluetooth_connection
|
||||
|
|
@ -167,10 +170,13 @@ switch $input
|
|||
case $options[6]
|
||||
networkmenu.fish
|
||||
# network_connection
|
||||
|
||||
|
||||
case $options[7]
|
||||
color_scheme
|
||||
|
||||
|
||||
case $options[8]
|
||||
restore_notifications
|
||||
|
||||
case $options[9]
|
||||
set_keyboard_backlight
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue