This commit is contained in:
2025-11-28 18:13:10 -08:00
parent 7b2f3b3e9c
commit 16188f9070

4
init
View File

@ -23,7 +23,7 @@ function spawn () {
riverctl spawn "${${@}}"
}
function sd-spawn () {
riverctl spawn "systemd-run --user --ignore-failure -- %{%{@}}"
riverctl spawn "systemd-run --user --G -- %{%{@}}"
}
local SCRIPT_DIR="${HOME}/scripts/"
local RIVER_CONFIG="${HOME}/.config/river/config/"
@ -31,8 +31,8 @@ local RIVER_CONFIG="${HOME}/.config/river/config/"
local mod=Super
# Some standard programs
nmap ${mod} R spawn 'systemd-run --user -G --scope fuzzel --launch-prefix="systemd-run --user -G --"'
nmap ${mod}+Shift Return sd-spawn 'kitty -1'
nmap ${mod} R sd-spawn 'fuzzel'
nmap ${mod}+Shift E sd-spawn 'emacsclient -nc'
nmap ${mod}+Shift B sd-spawn 'mullvad-browser'
# nmap ${mod}+Shift D spawn 'gtk-pipe-viewer'