mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 09:53:10 -05:00
Compare commits
No commits in common. "d545bb85c97b8ff767af93b44d2e45d0c9668430" and "a6423a17bbce3e1fda4db55e225b26130d1d1816" have entirely different histories.
d545bb85c9
...
a6423a17bb
3 changed files with 2 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
}
|
||||
{
|
||||
"label" : "logout",
|
||||
"action" : "${HOME}/.local/bin/river-logout",
|
||||
"action" : "loginctl terminate-user $USER",
|
||||
"text" : "Logout",
|
||||
"keybind" : "e"
|
||||
}
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
RIVER=`ps -C river | awk '/river/'`
|
||||
|
||||
[[ $RIVER != "" ]] && riverctl spawn 'reset' && riverctl exit || echo "River is not running."
|
Loading…
Reference in a new issue