1

Link rofi configs to XDG_CONFIG_DIR depending on theme

This commit is contained in:
2023-05-25 11:23:08 +02:00
parent f7a2259211
commit 6d22fcfb8e
10 changed files with 31 additions and 24 deletions

View File

@ -1,13 +1,13 @@
#!/usr/bin/env fish
# User chooses lecture
set LECTURE (exa -1 -D ~/Notes/TU | rofi -theme ~/NixFlake/config/rofi/rofi.rasi -dmenu -p "lecture" -i)
set LECTURE (exa -1 -D ~/Notes/TU | rofi -dmenu -p " lecture " -i)
if test -z $LECTURE
exit
end
# User chooses slides
set DECK (exa -1 ~/Notes/TU/$LECTURE/Lecture | grep ".pdf" | rofi -theme ~/NixFlake/config/rofi/rofi.rasi -dmenu -p "deck" -i)
set DECK (exa -1 ~/Notes/TU/$LECTURE/Lecture | grep ".pdf" | rofi -dmenu -p " deck " -i)
if test -z $DECK
exit
end