Compare commits

..

No commits in common. "d545bb85c97b8ff767af93b44d2e45d0c9668430" and "a6423a17bbce3e1fda4db55e225b26130d1d1816" have entirely different histories.

3 changed files with 2 additions and 7 deletions

View file

@ -75,4 +75,4 @@ export XAUTHORITY="${XDG_RUNTIME_DIR}/Xauthority"
[[ -f ~/.bashrc ]] && . ~/.bashrc
# start river
[[ -z $DISPLAY && $(tty) = "/dev/tty1" ]] && exec dbus-run-session river
[[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]] && exec dbus-run-session river

View file

@ -12,7 +12,7 @@
}
{
"label" : "logout",
"action" : "${HOME}/.local/bin/river-logout",
"action" : "loginctl terminate-user $USER",
"text" : "Logout",
"keybind" : "e"
}

View file

@ -1,5 +0,0 @@
#!/bin/bash
RIVER=`ps -C river | awk '/river/'`
[[ $RIVER != "" ]] && riverctl spawn 'reset' && riverctl exit || echo "River is not running."