add a rofi companion to notes bin
This commit is contained in:
parent
51e512c83f
commit
eb73ac5a37
3 changed files with 22 additions and 0 deletions
|
@ -67,6 +67,8 @@ bind = ,W, exec, ~/.config/rofi/bin/windows.sh
|
||||||
bind = ,W, submap, reset
|
bind = ,W, submap, reset
|
||||||
bind = ,P, exec, ~/.config/rofi/bin/powermenu.sh
|
bind = ,P, exec, ~/.config/rofi/bin/powermenu.sh
|
||||||
bind = ,P, submap, reset
|
bind = ,P, submap, reset
|
||||||
|
bind = ,N, exec, ~/.config/rofi/bin/notes.sh
|
||||||
|
bind = ,N, submap, reset
|
||||||
|
|
||||||
bind = ,escape, submap, reset
|
bind = ,escape, submap, reset
|
||||||
submap = reset
|
submap = reset
|
||||||
|
|
9
home/private_dot_config/rofi/bin/executable_notes.sh
Normal file
9
home/private_dot_config/rofi/bin/executable_notes.sh
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
styles="$(dirname "$(which $0)")/../styles"
|
||||||
|
rofi_cmd="rofi -theme $styles/notes.rasi -dmenu -p notes -l 0"
|
||||||
|
|
||||||
|
# Rofi command to pipe into, can add any options here
|
||||||
|
# rofi_command="rofi -dmenu -theme $rofi_styles/bluetooth.rasi -no-fixed-num-lines -yoffset -100 -i -p "
|
||||||
|
|
||||||
|
notes "$($rofi_cmd)"
|
11
home/private_dot_config/rofi/styles/notes.rasi
Normal file
11
home/private_dot_config/rofi/styles/notes.rasi
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
@import "default.rasi"
|
||||||
|
@import "colors.rasi"
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
padding: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry {
|
||||||
|
placeholder: "entry";
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue