mirror of https://codeberg.org/anemofilia/zero
home-environments: radio: Fix lf configuration to work properly on wayland :)
parent
600eb74830
commit
5d1d58b942
|
@ -14,8 +14,7 @@
|
||||||
#|C|# #:use-module (gnu packages c)
|
#|C|# #:use-module (gnu packages c)
|
||||||
#:use-module (gnu packages calendar)
|
#:use-module (gnu packages calendar)
|
||||||
#:use-module (gnu packages curl)
|
#:use-module (gnu packages curl)
|
||||||
#|D|# #:use-module (gnu packages disk)
|
#|D|# #:use-module (gnu packages databases)
|
||||||
#:use-module (gnu packages databases)
|
|
||||||
#|F|# #:use-module (gnu packages file)
|
#|F|# #:use-module (gnu packages file)
|
||||||
#:use-module (gnu packages fonts)
|
#:use-module (gnu packages fonts)
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
|
@ -68,6 +67,7 @@
|
||||||
#|U|# #:use-module (radix utils)
|
#|U|# #:use-module (radix utils)
|
||||||
|
|
||||||
#|Radix packages|#
|
#|Radix packages|#
|
||||||
|
#|D|# #:use-module (radix packages disk)
|
||||||
#|I|# #:use-module (radix packages image-viewers)
|
#|I|# #:use-module (radix packages image-viewers)
|
||||||
#|F|# #:use-module (radix packages fonts)
|
#|F|# #:use-module (radix packages fonts)
|
||||||
#|S|# #:use-module (radix packages seninha)
|
#|S|# #:use-module (radix packages seninha)
|
||||||
|
@ -103,11 +103,11 @@
|
||||||
#|gnupg |# gnupg pinentry
|
#|gnupg |# gnupg pinentry
|
||||||
#|guile-xyz |# haunt
|
#|guile-xyz |# haunt
|
||||||
#|image |# grim slurp
|
#|image |# grim slurp
|
||||||
#|image-viewers |# imv ueberzug++
|
#|image-viewers |# chafa imv
|
||||||
#|linux |# wireplumber
|
#|linux |# wireplumber
|
||||||
#|math |# libqalculate
|
#|math |# libqalculate
|
||||||
#|password-utils|# keepassxc
|
#|password-utils|# keepassxc
|
||||||
#|pdf |# sioyek
|
#|pdf |# poppler sioyek
|
||||||
#|pulseaudio |# pamixer pavucontrol
|
#|pulseaudio |# pamixer pavucontrol
|
||||||
#|scheme |# sicp
|
#|scheme |# sicp
|
||||||
#|seninha |# fmutils
|
#|seninha |# fmutils
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
#|tor-browsers |# mullvadbrowser
|
#|tor-browsers |# mullvadbrowser
|
||||||
#|toys |# wayneko
|
#|toys |# wayneko
|
||||||
#|vesion-control|# git
|
#|vesion-control|# git
|
||||||
#|video |# ffmpeg mpv yt-dlp
|
#|video |# ffmpeg ffmpegthumbnailer mpv yt-dlp
|
||||||
#|wm |# fnott rivercarro swww waybar
|
#|wm |# fnott rivercarro swww waybar
|
||||||
#|xdisorg |# fuzzel wl-clipboard wlsunset
|
#|xdisorg |# fuzzel wl-clipboard wlsunset
|
||||||
#|zig-xyz |# river))
|
#|zig-xyz |# river))
|
||||||
|
@ -254,9 +254,6 @@
|
||||||
--mode 1920x1080 ~
|
--mode 1920x1080 ~
|
||||||
--scale 0.711x0.711"))
|
--scale 0.711x0.711"))
|
||||||
|
|
||||||
#|Display images in lf using ueberzug|#
|
|
||||||
("lf" . "$HOME/.local/bin/lf/lfrun")
|
|
||||||
|
|
||||||
#|Listen to libre music on vern's radio|#
|
#|Listen to libre music on vern's radio|#
|
||||||
("radio" . "https://radio.vern.cc")
|
("radio" . "https://radio.vern.cc")
|
||||||
|
|
||||||
|
|
|
@ -21,9 +21,9 @@ set scrolloff 10
|
||||||
|
|
||||||
# Basic Settings
|
# Basic Settings
|
||||||
set preview true
|
set preview true
|
||||||
set shell dash
|
set sixel true
|
||||||
|
set shell /bin/sh
|
||||||
set previewer ~/.local/bin/lf/preview
|
set previewer ~/.local/bin/lf/preview
|
||||||
set cleaner ~/.local/bin/lf/cleaner
|
|
||||||
set drawbox true
|
set drawbox true
|
||||||
set info time
|
set info time
|
||||||
|
|
||||||
|
@ -50,8 +50,9 @@ cmd send ${{
|
||||||
$(for f in $fx; do readlink -f $f; done)
|
$(for f in $fx; do readlink -f $f; done)
|
||||||
}}
|
}}
|
||||||
|
|
||||||
|
ZERO="~/projects/code/scm/zero"
|
||||||
# Open lf config
|
# Open lf config
|
||||||
cmd config $$EDITOR "~/projects/code/scm/radix/files/lf/lfrc"
|
cmd config $$EDITOR "$ZERO/home-environments/radio/files/.config/lf/lfrc"
|
||||||
|
|
||||||
# mkdir with :mkdir
|
# mkdir with :mkdir
|
||||||
cmd mkdir %mkdir -- "$@"
|
cmd mkdir %mkdir -- "$@"
|
||||||
|
@ -71,7 +72,7 @@ cmd chmod %chmod "$@" && echo "Mode bits changed" & lf -remote reload
|
||||||
cmd yank-basename $basename -a -- $fx | head -c-1 | xclip --clipboard
|
cmd yank-basename $basename -a -- $fx | head -c-1 | xclip --clipboard
|
||||||
|
|
||||||
# Upload selected files to 0x0 and yank it's path and link
|
# Upload selected files to 0x0 and yank it's path and link
|
||||||
cmd share %printf "$fx\n $(curl -F file="@$fx" http://0x0.st)" | xsel -b && echo "File shared"
|
cmd share %printf {for f in $fx; do echo "$f\n $(curl -F file=@$f http://0x0.st)" } | wl-copy && echo "File shared"
|
||||||
|
|
||||||
# Rotate file
|
# Rotate file
|
||||||
cmd rotate-file %{{
|
cmd rotate-file %{{
|
||||||
|
@ -161,7 +162,7 @@ map b &setsid -f $BROWSER "$f"
|
||||||
|
|
||||||
# Basic functions
|
# Basic functions
|
||||||
mao l cd "$f"
|
mao l cd "$f"
|
||||||
map c copy && echo "$fx" | xsel -b
|
map c copy && echo "$fx" | wl-copy
|
||||||
map d delete
|
map d delete
|
||||||
map x cut
|
map x cut
|
||||||
map <enter> open
|
map <enter> open
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=kak
|
||||||
|
Exec=foot -e kak %f
|
||||||
|
Categories=Other;
|
||||||
|
NoDisplay=true
|
||||||
|
Terminal=false
|
Loading…
Reference in New Issue