emojismyman
This commit is contained in:
parent
da9e171aaa
commit
4ed1196f61
|
@ -42,6 +42,7 @@ export QT_STYLE_OVERRIDE="breeze"
|
||||||
|
|
||||||
"Print" = "exec scrot %Y-%m-%d_$wx$h_scrot.png -z -e 'mv $f /home/daniel/Pictures/screenshots/'";
|
"Print" = "exec scrot %Y-%m-%d_$wx$h_scrot.png -z -e 'mv $f /home/daniel/Pictures/screenshots/'";
|
||||||
"${modifier}+Print" = "exec scrot /home/daniel/Pictures/Screenshots/%Y-%m-%d_$wx$h_scrot.png -z";
|
"${modifier}+Print" = "exec scrot /home/daniel/Pictures/Screenshots/%Y-%m-%d_$wx$h_scrot.png -z";
|
||||||
|
"${modifier}+Shift+U" = "exec /home/daniel/.config/nixpkgs/nix-dotfiles/scripts/dmenuunicode";
|
||||||
|
|
||||||
|
|
||||||
"${modifier}+n" = "exec dolphin";
|
"${modifier}+n" = "exec dolphin";
|
||||||
|
@ -88,6 +89,7 @@ export QT_STYLE_OVERRIDE="breeze"
|
||||||
pkgs.dmenu
|
pkgs.dmenu
|
||||||
|
|
||||||
pkgs.scrot
|
pkgs.scrot
|
||||||
|
pkgs.xclip
|
||||||
|
|
||||||
pkgs.dejavu_fonts
|
pkgs.dejavu_fonts
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# Give dmenu list of all unicode characters to copy.
|
||||||
|
# Shows the selected character in dunst if running.
|
||||||
|
|
||||||
|
# Must have xclip installed to even show menu.
|
||||||
|
xclip -h >/dev/null || exit
|
||||||
|
|
||||||
|
chosen=$(grep -v "#" /home/daniel/.config/nixpkgs/nix-dotfiles/scripts/emojis.txt | dmenu -i -l 20 -fn Monospace-14)
|
||||||
|
|
||||||
|
[ "$chosen" != "" ] || exit
|
||||||
|
|
||||||
|
c=$(echo "$chosen" | sed "s/ .*//")
|
||||||
|
echo "$c" | tr -d '\n' | xclip -selection clipboard
|
||||||
|
notify-send "'$c' copied to clipboard." &
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue