Change/Add dmenu script and switch to extension less + /usr/bin/env
This commit is contained in:
parent
7e427e5c7f
commit
f700458feb
9 changed files with 33 additions and 33 deletions
|
@ -281,7 +281,7 @@ colors:
|
|||
#
|
||||
# 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.
|
||||
background_opacity: 1
|
||||
background_opacity: 0.1
|
||||
|
||||
#selection:
|
||||
#semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sxhkd &
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
dmenu_string="Wrong parameter"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
dmenu_string="Wrong parameter"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env bash
|
||||
|
||||
dmenu_string="Wrong parameter"
|
||||
|
9
.config/dmenu/dmenu_run_with_aliases
Executable file
9
.config/dmenu/dmenu_run_with_aliases
Executable 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} &
|
|
@ -123,46 +123,46 @@ alt + Return
|
|||
|
||||
# run program launcher
|
||||
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
|
||||
$HOME/.config/dmenu/dmenu-bspwm-desktop-content.sh goto
|
||||
$HOME/.config/dmenu/dmenu_bspwm_desktop_content goto
|
||||
|
||||
alt + shift + x
|
||||
$HOME/.config/dmenu/dmenu-bspwm-desktop-content.sh move
|
||||
$HOME/.config/dmenu/dmenu_bspwm_desktop_content move
|
||||
|
||||
alt + ctrl + shift + x
|
||||
$HOME/.config/dmenu/dmenu-bspwm-desktop-content.sh movefollow
|
||||
$HOME/.config/dmenu/dmenu_bspwm_desktop_content movefollow
|
||||
|
||||
alt + z; r
|
||||
$HOME/.config/dmenu/dmenu-bspwm-desktop.sh rename
|
||||
$HOME/.config/dmenu/dmenu_bspwm_desktop rename
|
||||
|
||||
alt + z; d
|
||||
$HOME/.config/dmenu/dmenu-bspwm-desktop.sh delete
|
||||
$HOME/.config/dmenu/dmenu_bspwm_desktop delete
|
||||
|
||||
alt + z; s
|
||||
$HOME/.config/dmenu/dmenu-bspwm-desktop.sh swap
|
||||
$HOME/.config/dmenu/dmenu_bspwm_desktop swap
|
||||
|
||||
alt + z; h
|
||||
$HOME/.config/dmenu/dmenu-bspwm-desktop.sh bubbleprev
|
||||
$HOME/.config/dmenu/dmenu_bspwm_desktop bubbleprev
|
||||
|
||||
alt + z; l
|
||||
$HOME/.config/dmenu/dmenu-bspwm-desktop.sh bubblenext
|
||||
$HOME/.config/dmenu/dmenu_bspwm_desktop bubblenext
|
||||
|
||||
alt + a; g
|
||||
$HOME/.config/dmenu/dmenu-bspwm-monitor.sh goto
|
||||
$HOME/.config/dmenu/dmenu_bspwm_monitor goto
|
||||
|
||||
alt + a; s
|
||||
$HOME/.config/dmenu/dmenu-bspwm-monitor.sh swap
|
||||
$HOME/.config/dmenu/dmenu_bspwm_monitor swap
|
||||
|
||||
alt + a; shift + n
|
||||
$HOME/.config/dmenu/dmenu-bspwm-monitor.sh movenode
|
||||
$HOME/.config/dmenu/dmenu_bspwm_monitor movenode
|
||||
|
||||
alt + a; ctrl + shift + n
|
||||
$HOME/.config/dmenu/dmenu-bspwm-monitor.sh movenodefollow
|
||||
$HOME/.config/dmenu/dmenu_bspwm_monitor movenodefollow
|
||||
|
||||
alt + a; shift + d
|
||||
$HOME/.config/dmenu/dmenu-bspwm-monitor.sh movedesktop
|
||||
$HOME/.config/dmenu/dmenu_bspwm_monitor movedesktop
|
||||
|
||||
alt + a; ctrl + shift + d
|
||||
$HOME/.config/dmenu/dmenu-bspwm-movement-monitor.sh movedesktopfollow
|
||||
$HOME/.config/dmenu/dmenu_bspwm_movement_monitor movedesktopfollow
|
||||
|
|
2
.zshenv
2
.zshenv
|
@ -3,7 +3,7 @@ typeset -TUx LD_LIBRARY_PATH ld_library_path
|
|||
|
||||
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
|
||||
fi
|
||||
|
||||
|
|
15
.zshrc
15
.zshrc
|
@ -105,15 +105,6 @@ fi
|
|||
|
||||
gpg-connect-agent updatestartuptty /bye
|
||||
|
||||
alias la='ls -lahF'
|
||||
alias ll='ls -lhF'
|
||||
alias ls='ls -F --color=tty'
|
||||
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/=.*//"'
|
||||
if [[ -f $HOME/.zsh_alias ]]; then
|
||||
source $HOME/.zsh_alias
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue