summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2026-02-02 14:57:38 -0600
committerzachir <zachir@librem.one>2026-02-02 14:57:38 -0600
commit4eecbf54775ad29d1f98e248f02201772d508c7b (patch)
treec8f1903a8f0c4cde27a019fe471eec231359d169
parent81eeb3aec382b8e912560082df8b7d4a67fdeb98 (diff)
parent9d01d57722154ba3b9869cbdb04806336cc58552 (diff)
Merge branch 'master' into cas
-rw-r--r--hypr/hyprland.conf4
-rw-r--r--lf/lfrc26
2 files changed, 27 insertions, 3 deletions
diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf
index e483049..c539b21 100644
--- a/hypr/hyprland.conf
+++ b/hypr/hyprland.conf
@@ -201,7 +201,7 @@ plugin {
}
hyprscrolling {
- fullscreen_on_one_column = true
+ fullscreen_on_one_column = false
column_width = 0.5
explicit_column_widths = 0.25, 0.333, 0.5, 0.667, 0.75, 1.0
focus_fit_method = 1
@@ -235,7 +235,7 @@ windowrulev2 = float on, match:title ^(menu)$
windowrulev2 = move cursor -50% -50%, match:class ^(yabridge-host.exe.so)$, match:title ^(menu)$
windowrulev2 = workspace special:easyeffects silent, match: class ^(com\.github\.wwmm\.easyeffects)$
# Fix brave xray menus
-windowrulev2 = xray 0, match:class ^(\s*), match:title ^(\s*)$
+windowrule = xray 0, match:class ^(\s*), match:title ^(\s*)$
# Center floating XWayland windows
windowrule = center on, match:xwayland on, match:class negative:^(steam|REAPER)$
# Make Steam Big Picture Mode fullscreen
diff --git a/lf/lfrc b/lf/lfrc
index a4fca2f..c70480e 100644
--- a/lf/lfrc
+++ b/lf/lfrc
@@ -2,7 +2,7 @@ set ratios 1:2:3
set previewer ~/.config/lf/previewer
set cleaner ~/.config/lf/cleaner
# Basic Settings
-set sixel true
+#set sixel true
set preview true
set drawbox false
set icons true
@@ -30,6 +30,30 @@ cmd open ${{
esac
}}
+# Override paste command
+cmd paste ${{
+ while read -r line; do
+ set -- "$@" "$line"
+ done < ~/.local/share/lf/files
+ mode="$1"
+ shift
+ case "$mode" in
+ copy)
+ echo "lf-paste in ${PWD}: rsync -av --backup -- $@ ." >> ~/.cache/lf.log
+ rsync -av --backup --progress -- "$@" . |
+ stdbuf -i0 -o0 -e0 tr '\r' '\n' |
+ while IFS= read -r line; do
+ lf -remote "send $id echo $line"
+ done
+ ;;
+ move)
+ echo "lf-paste in ${PWD}: mv -n -- $@ ." >> ~/.cache/lf.log
+ mv -n -- "$@" .;;
+ esac
+ rm ~/.local/share/lf/files
+ lf -remote "send clear"
+}}
+
cmd execute ${{ exec "$f" }}
cmd vimv ${{ exec vimv }}