diff --git a/home/scripts/school/cs-firefox.sh b/home/scripts/school/cs-firefox.sh index c38c410..db98b42 100644 --- a/home/scripts/school/cs-firefox.sh +++ b/home/scripts/school/cs-firefox.sh @@ -1 +1,3 @@ -find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read rsem; yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox +# find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read rsem; yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox +rsem=$(find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu) +yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox diff --git a/system/users/default.nix b/system/users/default.nix index 79b6bf3..ce9ac86 100644 --- a/system/users/default.nix +++ b/system/users/default.nix @@ -73,6 +73,7 @@ in { polybar sxhkd bspwm + yq # linuxKernel.packages.linux_zen.rtl8812au # librewolf ];