generation 522 25.11.20250714.62e0f05
This commit is contained in:
@@ -39,6 +39,10 @@
|
|||||||
vim-airline-themes
|
vim-airline-themes
|
||||||
plenary-nvim
|
plenary-nvim
|
||||||
nvim-web-devicons
|
nvim-web-devicons
|
||||||
|
{
|
||||||
|
plugin = mini-animate;
|
||||||
|
config = toLuaFile ./plugins/mini-animate.lua;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
plugin = telescope-nvim;
|
plugin = telescope-nvim;
|
||||||
config = toLuaFile ./plugins/telescope.lua;
|
config = toLuaFile ./plugins/telescope.lua;
|
||||||
|
|||||||
1
home/programs/nvim/plugins/mini-animate.lua
Normal file
1
home/programs/nvim/plugins/mini-animate.lua
Normal file
@@ -0,0 +1 @@
|
|||||||
|
require('mini.animate').setup()
|
||||||
@@ -1,3 +1,8 @@
|
|||||||
# 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)
|
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
|
|
||||||
|
# Exit if nothing selected
|
||||||
|
[ -z "$rsem" ] && exit 0
|
||||||
|
|
||||||
|
# Get URL and open if it exists
|
||||||
|
url=$(yq -r ".url" "/home/synchronous/current-semester/$rsem/info.yaml")
|
||||||
|
[ -n "$url" ] && firefox "$url"
|
||||||
|
|||||||
Reference in New Issue
Block a user