big changes boi

This commit is contained in:
2025-08-16 11:35:38 -07:00
parent 4b9f500923
commit 6936354b97
15 changed files with 143 additions and 15 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail
BOOKMARKS="$HOME/.local/share/bookmarks/bookmarks"
LAUNCHER="$HOME/.config/rofi/launchers.d/rofi_launcher_bookmark_insert.sh"
sel="$(grep -v '^#' "$BOOKMARKS" | "$LAUNCHER" | cut -d ' ' -f1)"
[ -n "$sel" ] && wtype "$sel"

11
.local/bin/emoji_insert.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -euo pipefail
EMOJIS_DIR="$HOME/.local/share/chars"
LAUNCHER="$HOME/.config/rofi/launchers.d/rofi_launcher_emoji.sh"
sel="$(cat "$EMOJIS_DIR"/emojis |
"$LAUNCHER" |
awk '{print $1}')"
[ -n "${sel:-}" ] && exec wtype "$sel"

View File

@@ -1,6 +1,6 @@
#!/bin/sh
entry=$(gopass list --flat | bemenu -p Autofill: -l 25 -c -M 500 --fn 'Monospace 14' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00')
entry=$(gopass list --flat | ~/.config/rofi/launchers.d/rofi_launcher_autofill.sh)
if [ -n "$entry" ]; then
username=$(gopass show "$entry" | grep '^username:' | cut -d' ' -f2-)

View File

@@ -1,8 +1,7 @@
#!/bin/sh
entry=$(gopass list --flat | bemenu -p Password: -l 25 -c -M 500 --fn 'Monospace 14' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00')
entry=$(gopass list --flat | ~/.config/rofi/launchers.d/rofi_launcher_pass.sh)
if [ -n "$entry" ]; then
gopass show -c "$entry" 2>/dev/null || notify-send "Gopass Error" "Failed to copy: $entry"
fi

View File

@@ -1,6 +1,6 @@
#!/bin/sh
entry=$(gopass list --flat | bemenu -p Username: -l 25 -c -M 500 --fn 'Monospace 14' --tf '#ff4e00' --ff '#dbc077' --hf '#ff4e00')
entry=$(gopass list --flat | ~/.config/rofi/launchers.d/rofi_launcher_username.sh)
if [ -n "$entry" ]; then
if gopass show -c "$entry" username 2>/dev/null; then