[MINOR] Added <M-s> to xmonad to open scripts menu in rofi,added projects script
This commit is contained in:
parent
5a2061646a
commit
c0e23e444e
2 changed files with 5 additions and 0 deletions
4
.config/rofi/scripts/projects.sh
Normal file
4
.config/rofi/scripts/projects.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
selected=$(ls ~/projects/ | rofi -dmenu -p "Open: ")
|
||||
alacritty -e fish -c "cd ~/projects/$selected; nvim . ;fish"
|
|
@ -81,6 +81,7 @@
|
|||
launch rofi
|
||||
|
||||
> , ("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
|
||||
|
||||
|
|
Loading…
Reference in a new issue