1
0
Fork 0
This commit is contained in:
Luca Bilke 2022-09-17 02:51:54 +02:00
parent 7b697d5a46
commit 573ce21778
2 changed files with 4 additions and 7 deletions

View file

@ -153,7 +153,8 @@ cmd paste &{{
cmd share $curl -F"file=@$fx" https://0x0.snaile.de | xclip -r -selection c
# Bindings
map <c-f> $lf -remote "send $id select '$(fzf)'"
map <c-t> $lf -remote "send $id select '$(fzf)'"
map <c-f> $lf -remote "send $id select '$(cat ${XDG_DATA_HOME:-$HOME/.local/share}/lf/tags | sed 's/:\*$//' | fzf)'"
map J $dir=$(sed -e 's/\s*#.*//' -e '/^$/d' -e 's/^\S*\s*//' ${XDG_CONFIG_HOME:-$HOME/.config}/shell/bm-dirs | fzf) && lf -remote "send $id cd $(eval echo $dir)"
map D trash
map <c-d> delete

View file

@ -3,7 +3,8 @@ xrandr --dpi 109 --fb 4480x1633 \
--output DP-2 --mode 2560x1440 --pos 1920x0 \
--output HDMI-0 --mode 1920x1080 --pos 0x553
setbg & # set the background with the `setbg` script
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! # Uncomment to use Xresources colors/settings on startup
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$!
remaps &
autostart="checkup mpd dunst unclutter pipewire dwmblocks"
for program in $autostart; do
@ -51,11 +52,6 @@ xss-lock -- xsecurelock &
# Set GPU settings
# gwe --hide-window &
xset r rate 300 50
killall xcape 2>/dev/null ; xcape -e 'Super_L=Escape'
xset -q | grep "Caps Lock:\s*on" && xdotool key Caps_Lock
setxkbmap -layout de -variant nodeadkeys -option caps:super
# Start Console TDM
exec dwm