.
This commit is contained in:
parent
7b29e1df22
commit
d8f852ab18
6 changed files with 22 additions and 13 deletions
|
|
@ -1 +0,0 @@
|
|||
/usr/share/examples/wireplumber/10-wireplumber.conf
|
||||
|
|
@ -1 +0,0 @@
|
|||
/usr/share/examples/pipewire/20-pipewire-pulse.conf
|
||||
|
|
@ -1,2 +1,9 @@
|
|||
#!/bin/sh
|
||||
exec chpst -e "$TURNSTILE_ENV_DIR" pipewire
|
||||
rm -rf "/run/user/$(id -u)/pulse"
|
||||
exec chpst -e "$TURNSTILE_ENV_DIR" sh -c '
|
||||
test -n "$DBUS_SESSION_BUS_ADDRESS" || {
|
||||
>&2 echo "dbus not running"
|
||||
exit 1
|
||||
}
|
||||
exec pipewire
|
||||
'
|
||||
|
|
|
|||
6
files/.winit
Executable file
6
files/.winit
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
rm -f "$HOME"/.config/service-env/* >/dev/null
|
||||
env | while read -r pair; do
|
||||
turnstile-update-runit-env "$(cut -d= -f1 <<< "$pair")"
|
||||
done
|
||||
exec swc-launch wsxwm
|
||||
|
|
@ -6,13 +6,9 @@ export XBPS_DISTDIR="$HOME/void-packages"
|
|||
|
||||
export EDITOR=/usr/bin/vis
|
||||
|
||||
exists() {
|
||||
which "$1" >/dev/null 2>&1
|
||||
}
|
||||
|
||||
grep 'l' <<< "$-" && \
|
||||
test "$(tty)" = '/dev/tty1' && \
|
||||
cd &&
|
||||
echo 'Press return to start gui' &&
|
||||
read &&
|
||||
exec ~/.winit
|
||||
if grep -q l <<< "$-" && test "$(tty)" = '/dev/tty1'; then
|
||||
rm -f "$HOME"/.config/service-env/* 2>/dev/null
|
||||
cd
|
||||
echo 'Press return to start gui'
|
||||
read && exec dbus-run-session "$HOME/.winit"
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@ sprunge() { cat $@ | curl -sF 'sprunge=<-' http://sprunge.us }
|
|||
# minimal functions, 02mar
|
||||
mkcd() { mkdir -p "$1"; cd "$1" }
|
||||
|
||||
set -o emacs
|
||||
|
||||
alias xi='xi -y'
|
||||
alias vi='vis'
|
||||
alias nvi='vis'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue