[MINOR] Added <M-s> to xmonad to open scripts menu in rofi,added projects script

This commit is contained in:
Afonso Franco 2023-01-26 09:44:49 +00:00
parent 5a2061646a
commit c0e23e444e
Signed by: afonso
GPG key ID: C459E0BB3DCEE899
2 changed files with 5 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#!/bin/bash
selected=$(ls ~/projects/ | rofi -dmenu -p "Open: ")
alacritty -e fish -c "cd ~/projects/$selected; nvim . ;fish"

View file

@ -81,6 +81,7 @@
launch rofi launch rofi
> , ("M-p", spawn "rofi -show drun") > , ("M-p", spawn "rofi -show drun")
> , ("M-s", spawn "selected=$(ls ~/.config/rofi/scripts/|rofi -dmenu -p \"Run: \") && bash ~/.config/rofi/scripts/$selected")
launch web browser launch web browser