From 5d9066d9a28a726fb0ccbfc8ee39ecdc4745d36a Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Tue, 20 May 2025 20:07:20 -0500 Subject: [PATCH] readded lf --- .config/lf/lfrc | 6 +++++- stuff/scripts/system/backup/copy-to-git.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.config/lf/lfrc b/.config/lf/lfrc index 5573e90..dcced87 100755 --- a/.config/lf/lfrc +++ b/.config/lf/lfrc @@ -149,7 +149,11 @@ esac }} cmd clip-path ${{ - printf "$f" | xclip -selection clipboard + if [ -z $WAYLAND_DISPLAY ]; then + printf "$f" | xclip -selection clipboard + else + printf "$f" | wl-copy + fi }} cmd filebrowser ${{ diff --git a/stuff/scripts/system/backup/copy-to-git.sh b/stuff/scripts/system/backup/copy-to-git.sh index 70720b6..212abda 100755 --- a/stuff/scripts/system/backup/copy-to-git.sh +++ b/stuff/scripts/system/backup/copy-to-git.sh @@ -11,7 +11,7 @@ fsync () { fi } -syncfile=".urlview .vimrc .Xresources .bashrc .zshrc .p10k.zsh .config/.profile .config/wezterm .config/dwm .config/tmux .config/awesome .config/rofi .config/cava .config/hypr .config/waybar .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/fastfetch stuff/manual-programs/suckless" +syncfile=".urlview .vimrc .Xresources .bashrc .zshrc .p10k.zsh .config/.profile .config/wezterm .config/dwm .config/tmux .config/awesome .config/rofi .config/lf .config/cava .config/hypr .config/waybar .config/picom.conf .config/nvim .config/atuin .config/screenkey.json .config/fastfetch stuff/manual-programs/suckless" syncfile="$syncfile stuff/scripts/system/stbar stuff/scripts/system/url-handler.sh stuff/scripts/system/backup/copy-to-git.sh stuff/scripts/system/backup/backup.sh" syncfile="$syncfile stuff/scripts/system/neoboot.sh stuff/scripts/system/math.sh stuff/scripts/system/bri.sh stuff/scripts/system/restart-pipe.sh stuff/scripts/system/set-pri-java.sh"