mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-08 13:10:37 +00:00
6 lines
200 B
Bash
6 lines
200 B
Bash
if cat /proc/cmdline | grep -q "video=eDP-1:d"; then
|
|
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && kodi
|
|
else
|
|
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && $HOME/.config/sway/scripts/run.sh > /dev/null 2>&1
|
|
fi
|