diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables index 9dd045c..6bd23f1 100644 --- a/.config/fish/fish_variables +++ b/.config/fish/fish_variables @@ -1,6 +1,6 @@ # This file contains fish universal variable definitions. # VERSION: 3.0 -SETUVAR --export EDITOR:alacritty\x20\x2de\x20nvim +SETUVAR --export EDITOR:nvim SETUVAR LESS:RAW\x2dCONTROL\x2dCHARS SETUVAR --export QT_QPA_PLATFORMTHEME:qt6ct SETUVAR __fish_initialized:3800 diff --git a/.config/niri/config.kdl b/.config/niri/config.kdl index 38a71af..828c159 100644 --- a/.config/niri/config.kdl +++ b/.config/niri/config.kdl @@ -31,7 +31,7 @@ input { touchpad { // off tap - // dwt + dwt // dwtp // drag false // drag-lock @@ -414,6 +414,7 @@ binds { // 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"; } 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. // You can also move the mouse into the top-left hot corner, diff --git a/.local/scripts/actionmenu.fish b/.local/scripts/actionmenu.fish index 7c72572..aa3abea 100755 --- a/.local/scripts/actionmenu.fish +++ b/.local/scripts/actionmenu.fish @@ -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