This commit is contained in:
Daniel Flanagan 2020-01-28 09:45:04 -06:00
parent 037e8560f4
commit 2cbed9492b
Signed by: lytedev
GPG Key ID: 5B2020A0F9921EF4
8 changed files with 32 additions and 4 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@
*.pid
*.tmp
*.secret
fishd.tmp.*
# TODO: should be unnecessary once color generation is homegrown
/colors/gen/vendor

View File

@ -233,6 +233,12 @@ super + w
super + shift + v
sh -c 'kill -USR1 $(cat "/var/run/user/$UID/polybar-mic-script.sh.pid")'
super + shift + e
rofimoji --use-clipboard --rofi-args='--sort -sorting-method fzf'
super + shift + p
rofi-pass
# close the current application
super + c
bspc node -c

View File

@ -1,8 +1,8 @@
! font
#define mono_font iosevka-lyte
#define mono_font_size 14
#define mono_font_letterspace 0
#define icon_font Font Awesome 5 Free Solid
#define mono_font_letterspace 0
#define icon_font Font Awesome 5 Free Solid
#define icon_font_size 12
#define bold_mono_font iosevka-lyte Semibold
#define emoji_font Noto Emoji
@ -94,3 +94,5 @@ rofi.bw: window_border
rofi.color-enabled: true
rofi.monitor: -4
rofi.width: 600
rofi.sort: true
rofi.sorting-method: fzf

View File

@ -8,7 +8,7 @@ font_features iosevka-lyte -liga -dlig -calt
font_size 11.0
adjust_line_height 0
window_padding_width 5.0
window_padding_width 10.0
window_margin_width 0.0
clear_all_shortcuts yes

View File

@ -1,3 +1,3 @@
#!/usr/bin/env sh
rofi -combi-modi run,window -show combi -modi combi "$@"
rofi -combi-modi run,window -show combi -modi combi -sorting-method fzf --sort "$@"

8
bin/fzfemoji Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
op="${1:--c}"; shift &>/dev/null
cd ~/.password-store || ( echo "Could not cd to ~/.password-store" && exit 1 )
r="$(< "$HOME/.emoji.txt" fzf --height 40%)"
echo "Selected $r (it's in your clipboard)"
<<< $r awk '$0=$1' | tr -d '\n' | clip
cd - || return 1

8
bin/fzfp Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env sh
op="${1:--c}"; shift &>/dev/null
cd ~/.password-store || ( echo "Could not cd to ~/.password-store" && exit 1 )
pp="$(fd gpg | sd ".gpg" "" | fzf --height 40%)"
echo pass $op $pp
pass "$op" "$@" "$pp"
cd - || return 1

View File

@ -49,6 +49,9 @@ pacaur --needed -S \
libinput libinput-gestures `# Trackpad Control` \
xcape `# Escape Better` \
dunst `# Desktop Notifications` \
rofimoji `# Emoji Picker` \
--noconfirm --noedit
curl -L -o "$HOME/.emoji.txt" https://lyte.dev/uploads/emoji.txt
# TODO: recommend systemd services?