adding scripts and such

This commit is contained in:
2025-05-03 13:20:09 -07:00
parent 95c5a519bb
commit 5f9a4b5d0f
5 changed files with 24 additions and 6 deletions

View File

@@ -201,16 +201,16 @@ bindsym $mod+Shift+0 move container to workspace $ws7
# Unused $mod+<key> bindings
# bindsym $mod+a exec <command>
# bindsym $mod+c exec
bindsym $mod+m exec ~/.local/bin/man.sh
bindsym $mod+m exec ~/.local/bin/manmenu
# bindsym $mod+n exec <command>
# bindsym $mod+o exec <command>
# bindsym $mod+q exec <command>
# bindsym $mod+s exec <command>
# bindsym $mod+t exec <command>
# bindsym $mod+w exec <command>
bindsym $mod+w exec /usr/bin/brave-browser
# bindsym $mod+x exec <command>
# bindsym $mod+y exec <command>
bindsym $mod+z exec ~/.local/bin/zmenu.sh
bindsym $mod+z exec ~/.local/bin/zmenu
# bindsym $mod+9 exec <command>
# bindsym $mod+grave exec <command>
# bindsym $mod+Tab exec <command>
@@ -218,7 +218,7 @@ bindsym $mod+z exec ~/.local/bin/zmenu.sh
# bindsym $mod+equal exec <command>
# bindsym $mod+bracketleft exec <command>
# bindsym $mod+bracketright exec <command>
bindsym $mod+semicolon exec ~/.local/bin/unimenu.sh
bindsym $mod+semicolon exec ~/.local/bin/unimenu
# bindsym $mod+apostrophe exec <command>
# bindsym $mod+comma exec <command>
# bindsym $mod+period exec <command>
@@ -233,7 +233,7 @@ bindsym $mod+semicolon exec ~/.local/bin/unimenu.sh
# bindsym $mod+Shift+o exec <command>
# bindsym $mod+Shift+p exec <command>
# bindsym $mod+Shift+q exec <command>
# bindsym $mod+Shift+r exec <command>
bindsym $mod+Shift+r exec ~/.local/bin/recipemenu
# bindsym $mod+Shift+s exec <command>
# bindsym $mod+Shift+t exec <command>
# bindsym $mod+Shift+u exec <command>

18
.local/bin/recipemenu Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
RECIPE_DIR="$HOME/sync/recipes"
choice=$(
find "$RECIPE_DIR" -type f -printf '%f\n' | \
bemenu -p "Recipe:" -l 10 -c -M 500 \
--fn 'Monospace 14' \
--tb '#1d2021' --tf '#d8a657' --fb '#1d2021' --ff '#d4be98' \
--cb '#7daea3' --cf '#1d2021' --nb '#1d2021' --nf '#d4be98' \
--hb '#7daea3' --hf '#1d2021' --sb '#7daea3' --sf '#1d2021' \
--ab '#1b1b1b' --af '#d4be98' --scb '#1d2021' --scf '#d4be98'
)
if [ -n "$choice" ]; then
file=$(find "$RECIPE_DIR" -type f -name "$choice" -print -quit)
[ -n "$file" ] && alacritty -e less "$file"
fi

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# ~/.local/bin/readmenu.sh
DOC_DIR="$HOME/docs"
DOC_DIR="$HOME/docs/books"
choice=$(
find "$DOC_DIR" -type f \