This commit is contained in:
Never Gude 2026-04-15 20:42:28 +02:00
parent f5ca21bb6f
commit 479f3abcf7
3 changed files with 16 additions and 9 deletions

View file

@ -1,6 +1,6 @@
# This file contains fish universal variable definitions. # This file contains fish universal variable definitions.
# VERSION: 3.0 # VERSION: 3.0
SETUVAR --export EDITOR:alacritty\x20\x2de\x20nvim SETUVAR --export EDITOR:nvim
SETUVAR LESS:RAW\x2dCONTROL\x2dCHARS SETUVAR LESS:RAW\x2dCONTROL\x2dCHARS
SETUVAR --export QT_QPA_PLATFORMTHEME:qt6ct SETUVAR --export QT_QPA_PLATFORMTHEME:qt6ct
SETUVAR __fish_initialized:3800 SETUVAR __fish_initialized:3800

View file

@ -31,7 +31,7 @@ input {
touchpad { touchpad {
// off // off
tap tap
// dwt dwt
// dwtp // dwtp
// drag false // drag false
// drag-lock // drag-lock
@ -414,6 +414,7 @@ binds {
// but you need to manually put each argument in separate "" quotes. // but you need to manually put each argument in separate "" quotes.
XF86MonBrightnessUp allow-when-locked=true { spawn-sh "brightnessctl --class=backlight set +5% && brightnessnotify.fish"; } XF86MonBrightnessUp allow-when-locked=true { spawn-sh "brightnessctl --class=backlight set +5% && brightnessnotify.fish"; }
XF86MonBrightnessDown allow-when-locked=true { spawn-sh "brightnessctl --class=backlight set 5%- && brightnessnotify.fish"; } XF86MonBrightnessDown allow-when-locked=true { spawn-sh "brightnessctl --class=backlight set 5%- && brightnessnotify.fish"; }
// Open/close the Overview: a zoomed-out view of workspaces and windows. // Open/close the Overview: a zoomed-out view of workspaces and windows.
// You can also move the mouse into the top-left hot corner, // You can also move the mouse into the top-left hot corner,

View file

@ -2,7 +2,7 @@
# Select folders in current semester # Select folders in current semester
function open_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 options (ls $recent)
set input (menu $options) set input (menu $options)
@ -11,7 +11,7 @@ end
# Open user directories # Open user directories
function open_location function open_location
set options "25_WiSe" "󰈙 Documents" "󰝚 Music" "󰋩 Pictures" "󰕧 Videos" "󰇚 Downloads" set options "Semester" "󰈙 Documents" "󰝚 Music" "󰋩 Pictures" "󰕧 Videos" "󰇚 Downloads"
set input (menu $options) set input (menu $options)
switch $input switch $input
@ -43,7 +43,7 @@ function open_course
case $options[3] case $options[3]
xdg-open "https://wuecampus.uni-wuerzburg.de/moodle/course/view.php?id=78361" xdg-open "https://wuecampus.uni-wuerzburg.de/moodle/course/view.php?id=78361"
case $options[4] case $options[4]
xdg-open "" xdg-open "https://wuecampus.uni-wuerzburg.de/moodle/course/view.php?id=79204"
case $options[5] case $options[5]
xdg-open "https://wuecampus.uni-wuerzburg.de/moodle/course/view.php?id=79247" xdg-open "https://wuecampus.uni-wuerzburg.de/moodle/course/view.php?id=79247"
end end
@ -140,9 +140,12 @@ function restore_notifications
end end
end end
function set_keyboard_backlight
brightnessctl --device=white:kbd_backlight set (menu --index "0" "1" "2" "3" "4")
end
# Select sub menu # 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) set input (menu $options)
switch $input switch $input
@ -159,7 +162,7 @@ switch $input
case $options[4] case $options[4]
wpsinkmenu.fish wpsinkmenu.fish
# audio_sink # audio_sink
case $options[5] case $options[5]
bluetoothmenu.fish bluetoothmenu.fish
# bluetooth_connection # bluetooth_connection
@ -167,10 +170,13 @@ switch $input
case $options[6] case $options[6]
networkmenu.fish networkmenu.fish
# network_connection # network_connection
case $options[7] case $options[7]
color_scheme color_scheme
case $options[8] case $options[8]
restore_notifications restore_notifications
case $options[9]
set_keyboard_backlight
end end