New scripts: kitty-session and prefilled-shell
This commit is contained in:
parent
24ca4f5e41
commit
bd7bd7de4c
2 changed files with 35 additions and 0 deletions
7
misc/kitty-session
Executable file
7
misc/kitty-session
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/zsh
|
||||
#dep:rofi kitty
|
||||
sessions=($XDG_CONFIG_HOME/kitty/sessions/*.session)
|
||||
selected=$(printf "%s\n" ${sessions:r:t} | rofi -dmenu -p "Kitty session")
|
||||
if [[ -n $selected ]]; then
|
||||
exec kitty --session $XDG_CONFIG_HOME/kitty/sessions/$selected.session
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue