added the xdg config for river, as well as more yazi shortcuts and

openers
This commit is contained in:
Jellyfish 2025-07-11 11:05:25 -07:00
parent 14ced8060b
commit 4ff94afdc5
4 changed files with 33 additions and 13 deletions

View File

@ -163,6 +163,9 @@ rivertile -view-padding 6 -outer-padding 6 &
# ----- Setup ----- # # ----- Setup ----- #
# Setup DBUS
dbus-update-activation-environment DISPLAY I3SOCK SWAYSOCK WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river
# Setup audio # Setup audio
pipewire& pipewire&
@ -175,9 +178,6 @@ waybar&
# Setup background # Setup background
swww-daemon& swww-daemon&
# Setup screencast
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river
# Setup fuzzy finder and app launcher with keybinds # Setup fuzzy finder and app launcher with keybinds
riverctl map normal Super R spawn fuzzel riverctl map normal Super R spawn fuzzel

View File

@ -0,0 +1,10 @@
[preferred]
default=gtk
org.freedesktop.impl.portal.ScreenCast=wlr
org.freedesktop.impl.portal.Screenshot=wlr
[screencast]
output_name=eDP-1
max_fps=60
chooser_cmd=slurp -f %o -or
chooser_type=simple

View File

@ -2,23 +2,17 @@
show_hidden = true show_hidden = true
[opener] [opener]
# ----- OPEN ----- # # ----- OPEN ----- #
# Open with firefox # Open with firefox
firefox = [ firefox = [
{run = 'firefox "$@"', block = true, desc = "Open with Firefox"} {run = 'firefox "$@"', block = true, desc = "Open with Firefox"}
] ]
# Open in LibreOffice
libreoffice = [
{run = '', block = true, desc = "Open with LibreOffice"}
]
# ----- EDIT ----- # # ----- EDIT ----- #
# Open in the current terminal # Open in the current terminal
edit = [ edit = [
{run = 'nvim "$@"', block = true, desc = "Open in the current terminal"}, {run = 'nvim "$@"', block = true, desc = "Open in the current terminal"}
] ]
# Open in a new terminal # Open in a new terminal
@ -33,13 +27,26 @@ extractZip = [
{run = 'unzip "$@"', desc = "Extract"} {run = 'unzip "$@"', desc = "Extract"}
] ]
# Extract .tz extractTar = [
{run = 'tar -xzvf "$@"', desc = "Extract"}
]
# ----- DESKTOP ----- #
# Set the current picture to a background
setBackground = [
{run = 'swww img "$@"', desc = "Set the current image to SWW background"}
]
[open] [open]
rules = [ rules = [
{ name = "*.pdf", use = ["firefox"]},
{ name = "*", use = ["edit", "editSpawn"]}, { name = "*", use = ["edit", "editSpawn"]},
{ name = "*/", use = ["edit", "editSpawn"]} { name = "*/", use = ["edit", "editSpawn"]},
{ name = "*.zip", use = ["extractZip"]},
{ name = "*.gz", use = ["extractTar"]},
{ name = "*.png", use = ["setBackground"]},
{ name = "*.jpg", use = ["setBackground"]},
{ name = "*.webp", use = ["setBackground"]},
{ name = "*.pdf", use = ["firefox"]}
] ]

3
.gitignore vendored
View File

@ -9,3 +9,6 @@
.config/unity3d .config/unity3d
.config/borgmatic .config/borgmatic
.config/WebCord .config/WebCord
.config/discord
.config/ncspot
.config/vesktop