diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-05-30 18:52:31 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-05-30 18:52:31 -0400 |
| commit | f552d9850b393acd366efc34e80e7ccb4ad93b55 (patch) | |
| tree | 2f001295f21d80db9b78d55c2761bb1cce263740 /.config | |
| parent | bb8495f27d56705d7ac55bd38c52cc605734cdb6 (diff) | |
| parent | 3222354d50c9cc5a50fc78059e69e423a7009d58 (diff) | |
| download | eibhear-f552d9850b393acd366efc34e80e7ccb4ad93b55.tar.gz eibhear-f552d9850b393acd366efc34e80e7ccb4ad93b55.tar.zst eibhear-f552d9850b393acd366efc34e80e7ccb4ad93b55.zip | |
Merge branch 'master' of github.com:LukeSmithxyz/voidrice
Diffstat (limited to '.config')
| -rwxr-xr-x | .config/bspwm/bspwm/bspwmrc | 2 | ||||
| -rwxr-xr-x | .config/bspwm/bspwmrc | 2 | ||||
| -rw-r--r-- | .config/lf/lfrc | 15 | ||||
| -rw-r--r-- | .config/ranger/rifle.conf | 2 |
4 files changed, 9 insertions, 12 deletions
diff --git a/.config/bspwm/bspwm/bspwmrc b/.config/bspwm/bspwm/bspwmrc index c0f45d1..71c1a34 100755 --- a/.config/bspwm/bspwm/bspwmrc +++ b/.config/bspwm/bspwm/bspwmrc @@ -32,7 +32,7 @@ bspc config focus_follows_pointer true bspc rule -a Zathura state=tiled dropdownname="dropdown" -bspc query -N -n .hidden >/dev/null || setsid $TERMINAL -n "$dropdownname" -e dropdown >/dev/null 2>&1 & +bspc query -N -n .hidden >/dev/null || setsid -f $TERMINAL -n "$dropdownname" -e dropdown >/dev/null 2>&1 bspc rule -a St:$dropdownname hidden=on bspc rule -a St:$dropdownname sticky=on bspc rule -a St:$dropdownname state=floating diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 1a4c639..95ff5db 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -26,7 +26,7 @@ bspc config top_padding 24 # top_padding I set equal to polybar's height bspc config focus_follows_pointer true dropdownname="dropdown" -bspc query -N -n .hidden >/dev/null || setsid $TERMINAL -n "$dropdownname" -e dropdown >/dev/null 2>&1 & +bspc query -N -n .hidden >/dev/null || setsid -f $TERMINAL -n "$dropdownname" -e dropdown >/dev/null 2>&1 bspc rule -a St:$dropdownname hidden=on bspc rule -a St:$dropdownname sticky=on bspc rule -a St:$dropdownname state=floating diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 13c46eb..75508c6 100644 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -15,17 +15,14 @@ $lf -remote "send $id set previewer ${XDG_CONFIG_HOME:-$HOME/.config}/lf/scope" # cmds/functions cmd open ${{ case $(file --mime-type $f -b) in - image/vnd.djvu|application/pdf|application/octet-stream) setsid zathura $fx >/dev/null 2>&1 & ;; + image/vnd.djvu|application/pdf|application/octet-stream) setsid -f zathura $fx >/dev/null 2>&1 ;; text/*) $EDITOR $fx;; - image/x-xcf|image/svg+xml) setsid gimp $f >/dev/null 2>&1 & ;; - image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\)\(_large\)*$" | setsid sxiv -aio 2>/dev/null | lf-select & ;; + image/x-xcf|image/svg+xml) setsid -f gimp $f >/dev/null 2>&1 ;; + image/*) rotdir $f | grep -i "\.\(png\|jpg\|jpeg\|gif\|webp\)\(_large\)*$" | setsid -f sxiv -aio 2>/dev/null | lf-select ;; audio/*) mpv --audio-display=no $f ;; - video/*) setsid mpv $f -quiet >/dev/null 2>&1 & ;; - application/pdf) setsid zathura $fx >/dev/null 2>&1 & ;; - application/epub+zip) setsid zathura $fx >/dev/null 2>&1 & ;; - application/vnd.comicbook+zip) setsid zathura $fx >/dev/null 2>&1 & ;; - application/vnd.comicbook-rar) setsid zathura $fx >/dev/null 2>&1 & ;; - *) for f in $fx; do setsid $OPENER $f >/dev/null 2>&1 & done;; + video/*) setsid -f mpv $f -quiet >/dev/null 2>&1 ;; + application/pdf|application/vnd*|application/epub*) setsid -f zathura $fx >/dev/null 2>&1 ;; + *) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1 done;; esac }} diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf index 8f661b2..c6a6549 100644 --- a/.config/ranger/rifle.conf +++ b/.config/ranger/rifle.conf @@ -37,7 +37,7 @@ # # Flags are single characters which slightly transform the command: # f | Fork the program, make it run in the background. -# | New command = setsid $command >& /dev/null & +# | New command = setsid -f $command >& /dev/null # r | Execute the command with root permissions # | New command = sudo $command # t | Run the program in a new terminal. If $TERMCMD is not defined, |
