From 22b2eb9a952bf252af29eb5ed905de4bb62386a2 Mon Sep 17 00:00:00 2001 From: iceyrazor Date: Sun, 29 Jun 2025 02:37:33 -0500 Subject: [PATCH] - config changes - added swapscape for tty and x11 --- env/.config/.profile | 2 ++ env/.config/swapscape.map | 2 ++ env/.local/bin/system/start-scripts/autostart.sh | 1 + runs-all/get-reqs-arch.sh | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 env/.config/swapscape.map diff --git a/env/.config/.profile b/env/.config/.profile index 464a550..86d11d9 100755 --- a/env/.config/.profile +++ b/env/.config/.profile @@ -65,6 +65,8 @@ alias ts="~/stuff/scripts/system/tmux-sessionizer.sh" alias fman="bash -c 'compgen -c' | fzf | xargs man" alias etask="$EDITOR ~/stuff/scripts/system/task.sh" +alias LC="fukn loadkeys ~/.config/swapscape.map" + alias music="nohup vlc $YT_PLAYLIST_DIR/title_vids > /dev/null 2> /dev/null < /dev/null & disown && cd $YT_PLAYLIST_DIR/title_vids && lfk" alias ibuss="ibus-daemon -rxRd" diff --git a/env/.config/swapscape.map b/env/.config/swapscape.map new file mode 100644 index 0000000..51a7042 --- /dev/null +++ b/env/.config/swapscape.map @@ -0,0 +1,2 @@ +keycode 1 = Caps_Lock +keycode 58 = Escape diff --git a/env/.local/bin/system/start-scripts/autostart.sh b/env/.local/bin/system/start-scripts/autostart.sh index 68e9ac4..910fa47 100755 --- a/env/.local/bin/system/start-scripts/autostart.sh +++ b/env/.local/bin/system/start-scripts/autostart.sh @@ -21,6 +21,7 @@ fi if [ -z "$WAYLAND_DISPLAY" ]; then xcompmgr & + setxkbmap -option caps:swapescape fi # if [ $extra == 1 ]; then diff --git a/runs-all/get-reqs-arch.sh b/runs-all/get-reqs-arch.sh index 8f1a4e8..d43e68f 100755 --- a/runs-all/get-reqs-arch.sh +++ b/runs-all/get-reqs-arch.sh @@ -15,7 +15,7 @@ if [ $artix ] || [ $arch ]; then # [ "$uin" == "n" ] || [ "$uin" == "N" ] && exit 0 # xorg - $sudo pacman -S --noconfirm xorg-server libxft libxinerama + $sudo pacman -S --noconfirm xorg-server xorg-xinit libxft libxinerama # audio $sudo pacman -S --noconfirm pipewire-pulse pipewire-alsa pipewire-jack qpwgraph