mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-21 17:33:11 -05:00
Merge remote-tracking branch 'refs/remotes/origin/wayland' into wayland
This commit is contained in:
commit
6f3b0f6c1e
3 changed files with 7 additions and 2 deletions
|
@ -75,4 +75,4 @@ export XAUTHORITY="${XDG_RUNTIME_DIR}/Xauthority"
|
|||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||
|
||||
# start river
|
||||
[[ -z "${DISPLAY}" && "${XDG_VTNR}" -eq 1 ]] && exec dbus-run-session river
|
||||
[[ -z $DISPLAY && $(tty) = "/dev/tty1" ]] && exec dbus-run-session river
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
}
|
||||
{
|
||||
"label" : "logout",
|
||||
"action" : "loginctl terminate-user $USER",
|
||||
"action" : "${HOME}/.local/bin/river-logout",
|
||||
"text" : "Logout",
|
||||
"keybind" : "e"
|
||||
}
|
||||
|
|
5
dot_local/bin/executable_river-logout
Normal file
5
dot_local/bin/executable_river-logout
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/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