Switch to wayland.

This commit is contained in:
Bartek Stalewski 2023-02-09 23:16:17 +01:00
parent 9ddbe48503
commit 6257330dcc
11 changed files with 99 additions and 125 deletions

11
_desktop/_scripts/dmenu-chars Executable file
View file

@ -0,0 +1,11 @@
#!/bin/sh
chosen=$(cut -d ';' -f1 $XDG_CONFIG_HOME/qtile/chars/* | dmenu -l 30 -i | sed "s/ .*//")
[ -z "$chosen" ] && exit
if [ -n "$1" ]; then
xdotool type "$chosen"
else
printf "$chosen" | wl-copy -n
notify-send -t 2000 "'$chosen' copied to clipboard" &
fi