diff --git a/home/private_dot_config/hypr/keys.conf b/home/private_dot_config/hypr/keys.conf index 72637e4..8b5d811 100644 --- a/home/private_dot_config/hypr/keys.conf +++ b/home/private_dot_config/hypr/keys.conf @@ -67,6 +67,8 @@ bind = ,W, exec, ~/.config/rofi/bin/windows.sh bind = ,W, submap, reset bind = ,P, exec, ~/.config/rofi/bin/powermenu.sh bind = ,P, submap, reset +bind = ,N, exec, ~/.config/rofi/bin/notes.sh +bind = ,N, submap, reset bind = ,escape, submap, reset submap = reset diff --git a/home/private_dot_config/rofi/bin/executable_notes.sh b/home/private_dot_config/rofi/bin/executable_notes.sh new file mode 100644 index 0000000..96edf53 --- /dev/null +++ b/home/private_dot_config/rofi/bin/executable_notes.sh @@ -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)" diff --git a/home/private_dot_config/rofi/styles/notes.rasi b/home/private_dot_config/rofi/styles/notes.rasi new file mode 100644 index 0000000..0c5befa --- /dev/null +++ b/home/private_dot_config/rofi/styles/notes.rasi @@ -0,0 +1,11 @@ +@import "default.rasi" +@import "colors.rasi" + +mainbox { + padding: 12px; +} + +entry { + placeholder: "entry"; +} +