dmenu unicode script added

This commit is contained in:
Luke Smith 2018-10-29 15:01:24 -04:00
parent e5bac9fff4
commit 31505f93f0
3 changed files with 17 additions and 1 deletions

View file

@ -124,12 +124,15 @@ bindsym $mod+Shift+Escape exec --no-startup-id prompt "Exit i3?" "i3-msg exit"
# bindsym $mod+BackSpace # bindsym $mod+BackSpace
bindsym $mod+Shift+BackSpace exec --no-startup-id prompt "Reboot computer?" "$reboot" bindsym $mod+Shift+BackSpace exec --no-startup-id prompt "Reboot computer?" "$reboot"
##bindsym $mod+grave bindsym $mod+grave exec --no-startup-id dmenuunicode
##bindsym $mod+asciitilde ##bindsym $mod+asciitilde
#STOP/HIDE EVERYTHING: #STOP/HIDE EVERYTHING:
bindsym $mod+Shift+Delete exec --no-startup-id lmc truemute ; exec $truepause ; exec --no-startup-id pauseallmpv; workspace 0; exec $term -e htop ; exec $term -e ranger bindsym $mod+Shift+Delete exec --no-startup-id lmc truemute ; exec $truepause ; exec --no-startup-id pauseallmpv; workspace 0; exec $term -e htop ; exec $term -e ranger
# Show selection:
bindsym $mod+Shift+Insert exec --no-startup-id showclip
# #---Letter Key Bindings---# # # #---Letter Key Bindings---# #
bindsym $mod+q [con_id="__focused__" instance="^(?!dropdowncalc|tmuxdd).*$"] kill bindsym $mod+q [con_id="__focused__" instance="^(?!dropdowncalc|tmuxdd).*$"] kill
bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdowncalc|tmuxdd).*$"] kill bindsym $mod+Shift+q [con_id="__focused__" instance="^(?!dropdowncalc|tmuxdd).*$"] kill

7
.scripts/dmenuunicode Executable file
View file

@ -0,0 +1,7 @@
#!/bin/sh
# Give dmenu list of all unicode characters to copy.
# Shows the selected character in dunst if running.
grep -v "#" ~/.scripts/unicode | dmenu -i -l 20 -fn Monospace-18 | awk '{print $1}' | tr -d '\n' | xclip -selection clipboard
pgrep -x dunst >/dev/null && notify-send "$(xclip -o -selection clipboard) copied to clipboard."

6
.scripts/showclip Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
# Display contents of selection via dunst if running.
# Separate script for i3.
pgrep -x dunst >/dev/null && notify-send "$(xclip -o -selection clipboard)"