Change/Add dmenu script and switch to extension less + /usr/bin/env

This commit is contained in:
David Holland 2020-03-28 22:59:04 +01:00
parent 7e427e5c7f
commit f700458feb
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9
9 changed files with 33 additions and 33 deletions

View file

@ -281,7 +281,7 @@ colors:
# #
# Window opacity as a floating point number from `0.0` to `1.0`. # Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque. # The value `0.0` is completely transparent and `1.0` is opaque.
background_opacity: 1 background_opacity: 0.1
#selection: #selection:
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t" #semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
sxhkd & sxhkd &

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
dmenu_string="Wrong parameter" dmenu_string="Wrong parameter"

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
dmenu_string="Wrong parameter" dmenu_string="Wrong parameter"

View file

@ -1,4 +1,4 @@
#!/bin/sh #!/usr/bin/env bash
dmenu_string="Wrong parameter" dmenu_string="Wrong parameter"

View file

@ -0,0 +1,9 @@
#!/usr/bin/env zsh
if [[ -f $HOME/.zsh_alias ]]; then
source $HOME/.zsh_alias
fi
command_to_run=$({ alias | awk '{split($0,alias,"="); print alias[1];}' ; dmenu_path ; } | sort | dmenu -i -fn Hack -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2" "$@")
eval ${command_to_run} &

View file

@ -123,46 +123,46 @@ alt + Return
# run program launcher # run program launcher
alt + d alt + d
dmenu_run -i -fn Hack -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2" if [ -x $(command -v zsh) ]; then $HOME/.config/dmenu/dmenu_run_with_aliases; else dmenu_run -i -fn Hack -nb "#282a36" -nf "#f8f8f2" -sb "#44475a" -sf "#f8f8f2"; fi
alt + x alt + x
$HOME/.config/dmenu/dmenu-bspwm-desktop-content.sh goto $HOME/.config/dmenu/dmenu_bspwm_desktop_content goto
alt + shift + x alt + shift + x
$HOME/.config/dmenu/dmenu-bspwm-desktop-content.sh move $HOME/.config/dmenu/dmenu_bspwm_desktop_content move
alt + ctrl + shift + x alt + ctrl + shift + x
$HOME/.config/dmenu/dmenu-bspwm-desktop-content.sh movefollow $HOME/.config/dmenu/dmenu_bspwm_desktop_content movefollow
alt + z; r alt + z; r
$HOME/.config/dmenu/dmenu-bspwm-desktop.sh rename $HOME/.config/dmenu/dmenu_bspwm_desktop rename
alt + z; d alt + z; d
$HOME/.config/dmenu/dmenu-bspwm-desktop.sh delete $HOME/.config/dmenu/dmenu_bspwm_desktop delete
alt + z; s alt + z; s
$HOME/.config/dmenu/dmenu-bspwm-desktop.sh swap $HOME/.config/dmenu/dmenu_bspwm_desktop swap
alt + z; h alt + z; h
$HOME/.config/dmenu/dmenu-bspwm-desktop.sh bubbleprev $HOME/.config/dmenu/dmenu_bspwm_desktop bubbleprev
alt + z; l alt + z; l
$HOME/.config/dmenu/dmenu-bspwm-desktop.sh bubblenext $HOME/.config/dmenu/dmenu_bspwm_desktop bubblenext
alt + a; g alt + a; g
$HOME/.config/dmenu/dmenu-bspwm-monitor.sh goto $HOME/.config/dmenu/dmenu_bspwm_monitor goto
alt + a; s alt + a; s
$HOME/.config/dmenu/dmenu-bspwm-monitor.sh swap $HOME/.config/dmenu/dmenu_bspwm_monitor swap
alt + a; shift + n alt + a; shift + n
$HOME/.config/dmenu/dmenu-bspwm-monitor.sh movenode $HOME/.config/dmenu/dmenu_bspwm_monitor movenode
alt + a; ctrl + shift + n alt + a; ctrl + shift + n
$HOME/.config/dmenu/dmenu-bspwm-monitor.sh movenodefollow $HOME/.config/dmenu/dmenu_bspwm_monitor movenodefollow
alt + a; shift + d alt + a; shift + d
$HOME/.config/dmenu/dmenu-bspwm-monitor.sh movedesktop $HOME/.config/dmenu/dmenu_bspwm_monitor movedesktop
alt + a; ctrl + shift + d alt + a; ctrl + shift + d
$HOME/.config/dmenu/dmenu-bspwm-movement-monitor.sh movedesktopfollow $HOME/.config/dmenu/dmenu_bspwm_movement_monitor movedesktopfollow

View file

@ -3,7 +3,7 @@ typeset -TUx LD_LIBRARY_PATH ld_library_path
path=("$HOME/bin" "$HOME/.local/bin" "/usr/local/bin" "$path[@]" "$HOME/JUCE") path=("$HOME/bin" "$HOME/.local/bin" "/usr/local/bin" "$path[@]" "$HOME/JUCE")
if [[ -a $HOME/.zshpath ]]; then if [[ -f $HOME/.zshpath ]]; then
source $HOME/.zshpath source $HOME/.zshpath
fi fi

15
.zshrc
View file

@ -105,15 +105,6 @@ fi
gpg-connect-agent updatestartuptty /bye gpg-connect-agent updatestartuptty /bye
alias la='ls -lahF' if [[ -f $HOME/.zsh_alias ]]; then
alias ll='ls -lhF' source $HOME/.zsh_alias
alias ls='ls -F --color=tty' fi
alias lsa='ls -aF'
alias layout='xkblayout-state print "%s %v"'
alias picom-default='picom -bGC --backend glx --unredir-if-possible-delay 1000 --vsync'
alias screenkey-obs='screenkey --no-systray -t 2 -p fixed -s small -g 960x36+960+4 --key-mode composed --bak-mode full --mods-mode normal --scr 0 -f Hack'
alias tmate-obs='tmate -k tmk-ET35fx5m9cA7cxOt4jjWkSmaOy -r DustVoice'
alias xfce-polkit='/usr/lib/xfce-polkit/xfce-polkit'
alias davinci-resolve='/opt/resolve/bin/resolve'
alias rofi-scripts='alias | sed -e "s/=.*//"'