mirror of https://codeberg.org/anemofilia/zero
files: lf, river: Update configurations
parent
4896c4de95
commit
814442d17a
|
@ -1,6 +1,6 @@
|
||||||
# zero
|
# zero
|
||||||
|
|
||||||
My personal repository for storing and sharing my **manifests** and **declarative configuration files** for my **GNU Guix** operating systems and home environments.
|
My personal repository for storing and sharing **manifests** and **declarative configuration files** of my **GNU Guix** operating systems and home environments.
|
||||||
|
|
||||||
![radio's home environment](home-environments/radio/screenshots/awesome-1.png)
|
![radio's home environment](home-environments/radio/screenshots/awesome-1.png)
|
||||||
![radio's home environment](home-environments/radio/screenshots/awesome-2.png)
|
![radio's home environment](home-environments/radio/screenshots/awesome-2.png)
|
||||||
|
|
|
@ -149,7 +149,7 @@
|
||||||
#|llvm |# clang-15
|
#|llvm |# clang-15
|
||||||
#|math |# libqalculate
|
#|math |# libqalculate
|
||||||
#|ssh |# openssh
|
#|ssh |# openssh
|
||||||
#|text-editors |# kakoune #;kak-lsp #;parinfer-rust
|
#|text-editors |# kakoune kak-lsp parinfer-rust
|
||||||
#|vesion-control|# git))
|
#|vesion-control|# git))
|
||||||
|
|
||||||
(define packages:documentation
|
(define packages:documentation
|
||||||
|
@ -175,7 +175,7 @@
|
||||||
font-juliamono font-liberation font-meslo-lg-dz font-misc-misc
|
font-juliamono font-liberation font-meslo-lg-dz font-misc-misc
|
||||||
font-un font-wqy-zenhei))
|
font-un font-wqy-zenhei))
|
||||||
|
|
||||||
#;(define packages:games
|
(define packages:games
|
||||||
(list #|games|# minetest supertuxkart xonotic))
|
(list #|games|# minetest supertuxkart xonotic))
|
||||||
|
|
||||||
(define packages:image
|
(define packages:image
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
(list #|chromium |# ungoogled-chromium/wayland
|
(list #|chromium |# ungoogled-chromium/wayland
|
||||||
#|browser-extensions|# darkreader/chromium))
|
#|browser-extensions|# darkreader/chromium))
|
||||||
|
|
||||||
#;(define packages:writing
|
(define packages:writing
|
||||||
(list #|tex|# texlive-collection-basic texlive-collection-fontsextra
|
(list #|tex|# texlive-collection-basic texlive-collection-fontsextra
|
||||||
texlive-collection-fontsrecommended texlive-collection-latex
|
texlive-collection-fontsrecommended texlive-collection-latex
|
||||||
texlive-collection-latexextra texlive-collection-latexrecommended
|
texlive-collection-latexextra texlive-collection-latexrecommended
|
||||||
|
@ -224,14 +224,14 @@
|
||||||
#|D|# packages:databases packages:desktop packages:development
|
#|D|# packages:databases packages:desktop packages:development
|
||||||
packages:documentation packages:downloads
|
packages:documentation packages:downloads
|
||||||
#|F|# packages:file-managing packages:fonts
|
#|F|# packages:file-managing packages:fonts
|
||||||
#|G|# #;packages:games
|
#|G|# packages:games
|
||||||
#|I|# packages:image
|
#|I|# packages:image
|
||||||
#|M|# packages:messaging
|
#|M|# packages:messaging
|
||||||
#|P|# packages:password
|
#|P|# packages:password
|
||||||
#|R|# packages:reading
|
#|R|# packages:reading
|
||||||
#|S|# packages:scheme packages:sound
|
#|S|# packages:scheme packages:sound
|
||||||
#|V|# packages:video
|
#|V|# packages:video
|
||||||
#|W|# packages:web #;packages:writing))
|
#|W|# packages:web packages:writing))
|
||||||
|
|
||||||
(services
|
(services
|
||||||
(list #|XDG services|#
|
(list #|XDG services|#
|
||||||
|
|
|
@ -29,7 +29,10 @@ set info time
|
||||||
|
|
||||||
# Custom Functions
|
# Custom Functions
|
||||||
cmd open ${{
|
cmd open ${{
|
||||||
setsid -f xdg-open "$f" >/dev/null 2>&1 &
|
case $(file -bL --mime-type "$1") in
|
||||||
|
text/*) setsid -f "$TERMINAL -e xdg-open $f" >/dev/null 2>&1 &;;
|
||||||
|
*) setsid -f xdg-open "$f" >/dev/null 2>&1 &;;
|
||||||
|
esac
|
||||||
}}
|
}}
|
||||||
|
|
||||||
cmd __cd :cd "$1"
|
cmd __cd :cd "$1"
|
||||||
|
|
|
@ -124,10 +124,11 @@ riverctl map normal Super b spawn $BROWSER
|
||||||
riverctl map normal Super Semicolon spawn fuzzel
|
riverctl map normal Super Semicolon spawn fuzzel
|
||||||
|
|
||||||
# webcam (TODO: fix)
|
# webcam (TODO: fix)
|
||||||
riverctl map normal XF86WebCam spawn cam
|
riverctl map normal None XF86WebCam spawn "cam"
|
||||||
|
riverctl map normal None XF86Sleep spawn "doas zzz"
|
||||||
|
|
||||||
# rss reader (TODO: fix)
|
# rss reader (TODO: fix)
|
||||||
riverctl map normal XF86Launch1 spawn newsraft
|
riverctl map normal None XF86Launch1 spawn "$TERMINAL -e newsraft"
|
||||||
|
|
||||||
# keepassxc
|
# keepassxc
|
||||||
riverctl map normal Super c spawn keepassxc
|
riverctl map normal Super c spawn keepassxc
|
||||||
|
@ -188,13 +189,13 @@ riverctl map normal Super P \
|
||||||
## Audio related keybindings __________________________________________________
|
## Audio related keybindings __________________________________________________
|
||||||
for mode in normal locked
|
for mode in normal locked
|
||||||
do
|
do
|
||||||
riverctl map -repeat $mode None XF86AudioRaiseVolume \
|
riverctl map -repeat $mode None XF86AudioRaiseVolume \
|
||||||
spawn 'wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 1%+'
|
spawn 'wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 1%+'
|
||||||
riverctl map -repeat $mode None XF86AudioLowerVolume \
|
riverctl map -repeat $mode None XF86AudioLowerVolume \
|
||||||
spawn 'wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 1%-'
|
spawn 'wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 1%-'
|
||||||
riverctl map -repeat $mode None XF86AudioMute \
|
riverctl map -repeat $mode None XF86AudioMute \
|
||||||
spawn 'wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle'
|
spawn 'wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle'
|
||||||
riverctl map -repeat $mode None XF86AudioMicMute \
|
riverctl map -repeat $mode None XF86AudioMicMute \
|
||||||
spawn 'wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle'
|
spawn 'wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle'
|
||||||
|
|
||||||
# control mpv playlist listening on socket /tmp/mpv-socket
|
# control mpv playlist listening on socket /tmp/mpv-socket
|
||||||
|
@ -250,7 +251,7 @@ riverctl map passthrough Super F11 enter-mode normal
|
||||||
# Autostart applications ______________________________________________________
|
# Autostart applications ______________________________________________________
|
||||||
|
|
||||||
dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river
|
dbus-update-activation-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river
|
||||||
~/.guix-home/profile/libexec/xdg-desktop-portal-wlr &
|
~/.guix-home/profile/libexec/xdg-desktop-portal-wlr -r &
|
||||||
~/.guix-home/profile/libexec/xdg-desktop-portal -r &
|
~/.guix-home/profile/libexec/xdg-desktop-portal -r &
|
||||||
|
|
||||||
# status bar
|
# status bar
|
||||||
|
|
Loading…
Reference in New Issue