From 709795f42bf7722f26b4529259fc3eafd187f624 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Wed, 3 Aug 2022 15:19:27 -0400 Subject: [PATCH] shortcuts fix --- .config/shell/profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/shell/profile b/.config/shell/profile index 65a7ff3..c77735d 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -140,10 +140,10 @@ ex=🎯:\ *.java=♨:\ " +[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && setsid shortcuts >/dev/null 2>&1 + # Start graphical server on user's current tty if not already running. [ "$(tty)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC" -[ ! -f ${XDG_CONFIG_HOME:-$HOME/.config}/shell/shortcutrc ] && setsid shortcuts >/dev/null 2>&1 - # Switch escape and caps if tty and no passwd required: sudo -n loadkeys ${XDG_DATA_HOME:-$HOME/.local/share}/larbs/ttymaps.kmap 2>/dev/null