mirror of
https://github.com/kmein/niveum
synced 2026-03-17 10:41:06 +01:00
working niri config
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
dmenu,
|
||||
gnused,
|
||||
libnotify,
|
||||
xclip,
|
||||
wl-clipboard,
|
||||
xdotool,
|
||||
gawk,
|
||||
fetchFromGitHub,
|
||||
@@ -90,7 +90,7 @@ in
|
||||
writers.writeDashBin "unicodmenu" ''
|
||||
history_file=$HOME/.cache/unicodmenu
|
||||
touch "$history_file"
|
||||
PATH=${lib.makeBinPath [coreutils dmenu gawk gnused libnotify xclip xdotool]}
|
||||
PATH=${lib.makeBinPath [coreutils dmenu gawk gnused libnotify wl-clipboard xdotool]}
|
||||
|
||||
all_characters() {
|
||||
tac "$history_file"
|
||||
@@ -101,7 +101,7 @@ in
|
||||
|
||||
[ "$chosen" != "" ] || exit
|
||||
|
||||
echo "$chosen" | tr -d '\n' | xclip -selection clipboard
|
||||
echo "$chosen" | tr -d '\n' | wl-copy
|
||||
|
||||
if [ -n "$1" ]; then
|
||||
xdotool key Shift+Insert
|
||||
|
||||
Reference in New Issue
Block a user