big changes boi
This commit is contained in:
9
.local/bin/bookmark_insert_into_field.sh
Executable file
9
.local/bin/bookmark_insert_into_field.sh
Executable 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
11
.local/bin/emoji_insert.sh
Executable 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"
|
||||
@@ -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-)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user