added the xdg config for river, as well as more yazi shortcuts and
openers
This commit is contained in:
parent
14ced8060b
commit
4ff94afdc5
@ -163,6 +163,9 @@ rivertile -view-padding 6 -outer-padding 6 &
|
||||
|
||||
# ----- Setup ----- #
|
||||
|
||||
# Setup DBUS
|
||||
dbus-update-activation-environment DISPLAY I3SOCK SWAYSOCK WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river
|
||||
|
||||
# Setup audio
|
||||
pipewire&
|
||||
|
||||
@ -175,9 +178,6 @@ waybar&
|
||||
# Setup background
|
||||
swww-daemon&
|
||||
|
||||
# Setup screencast
|
||||
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river
|
||||
|
||||
# Setup fuzzy finder and app launcher with keybinds
|
||||
riverctl map normal Super R spawn fuzzel
|
||||
|
||||
|
||||
10
.config/xdg-desktop-portal/river-portals.conf
Normal file
10
.config/xdg-desktop-portal/river-portals.conf
Normal 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
|
||||
@ -2,23 +2,17 @@
|
||||
show_hidden = true
|
||||
|
||||
[opener]
|
||||
|
||||
# ----- OPEN ----- #
|
||||
# Open with firefox
|
||||
firefox = [
|
||||
{run = 'firefox "$@"', block = true, desc = "Open with Firefox"}
|
||||
]
|
||||
|
||||
# Open in LibreOffice
|
||||
libreoffice = [
|
||||
{run = '', block = true, desc = "Open with LibreOffice"}
|
||||
]
|
||||
|
||||
|
||||
# ----- EDIT ----- #
|
||||
# Open in the current terminal
|
||||
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
|
||||
@ -33,13 +27,26 @@ extractZip = [
|
||||
{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]
|
||||
rules = [
|
||||
{ name = "*.pdf", use = ["firefox"]},
|
||||
{ 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
3
.gitignore
vendored
@ -9,3 +9,6 @@
|
||||
.config/unity3d
|
||||
.config/borgmatic
|
||||
.config/WebCord
|
||||
.config/discord
|
||||
.config/ncspot
|
||||
.config/vesktop
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user