1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

set font in dmenu scripts

This commit is contained in:
Ryan Kes 2020-07-24 12:24:25 +02:00
parent f1d6f5edaa
commit aa7942a16e
5 changed files with 23 additions and 13 deletions

View File

@ -0,0 +1,13 @@
{
"cache-days": 1,
"dmenu": "dmenu",
"dmenu-args": [
"-i",
"-fn",
"FuraCode Nerd Font"
],
"frecency-visits": 10,
"preselect-last-visit": false,
"scan-desktop-files": true,
"scan-path": false
}

View File

@ -1,4 +1,4 @@
#!/usr/bin/env fish #!/usr/bin/env fish
. ~/.cache/wal/colors.fish . ~/.cache/wal/colors.fish
yubikey-oath-dmenu --clipboard clipboard --notify -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" yubikey-oath-dmenu --clipboard clipboard --notify -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" -fn "FuraCode Nerd Font"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env fish #!/usr/bin/env fish
. ~/.cache/wal/colors.fish . ~/.cache/wal/colors.fish
PASSWORD_STORE_DIR=$PASSWORD_STORE_DIR passmenu -p Password: -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" PASSWORD_STORE_DIR=$PASSWORD_STORE_DIR passmenu -p Password: -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" -fn "FuraCode Nerd Font"

View File

@ -4,7 +4,7 @@
. ~/.cache/wal/colors.sh . ~/.cache/wal/colors.sh
# get hostnames from ~/.ssh/known_hosts # get hostnames from ~/.ssh/known_hosts
ssh_host="$(awk -F "[ ,]+" '{print $1}' ~/.ssh/known_hosts | tr -d '[]' | uniq | sort -n | dmenu -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" "$@")" ssh_host="$(awk -F "[ ,]+" '{print $1}' ~/.ssh/known_hosts | tr -d '[]' | uniq | sort -n | dmenu -fn "FuraCode Nerd Font" -nb "$color0" -nf "$color15" -sb "$color1" -sf "$color15" "$@")"
# split hostnames into array { hostname, port } # split hostnames into array { hostname, port }
mapfile -t params < <(echo "$ssh_host" | awk -F ":" '{print $1} {if ($2) print $2}') mapfile -t params < <(echo "$ssh_host" | awk -F ":" '{print $1} {if ($2) print $2}')

View File

@ -88,11 +88,8 @@ mkdir_if_not_exist ~/.config/X11
mkdir_if_not_exist ~/.gnupg mkdir_if_not_exist ~/.gnupg
mkdir_if_not_exist ~/.config/mpv/scripts mkdir_if_not_exist ~/.config/mpv/scripts
mkdir_if_not_exist ~/.config/coc/extensions mkdir_if_not_exist ~/.config/coc/extensions
mkdir_if_not_exist ~/.config/dmenu-frecency
# Create xmonad directories
mkdir_if_not_exist ~/.config/xmonad
mkdir_if_not_exist ~/.cache/xmonad
mkdir_if_not_exist ~/.local/share/xmonad
# Link mpv plugins if they don't exist # Link mpv plugins if they don't exist
if [ ! -h ~/.config/mpv/scripts/mpris.so ] if [ ! -h ~/.config/mpv/scripts/mpris.so ]