updates to i3 config:

- jumping to desktop 2 now automatically loads omni terminal if not already connected
 - 1password added to autostart
 - automatically reload xkeymap on i3 restart/reload
This commit is contained in:
2025-11-12 13:22:40 -07:00
parent 468de89920
commit 6839c3c8b3
5 changed files with 26 additions and 1 deletions

View File

@@ -12,6 +12,11 @@ command -v scwrypts &>/dev/null || {
export CI=true
export DESKTOP__SFX_PATH="${HOME}/Media/sfx"
export SCWRYPTS_LOG_LEVEL=0
case $(hostnamectl --static) in
( pikachu )
export DESKTOP__BACKLIGHT_DEVICE=amdgpu_bl1
;;
esac
#####################################################################

14
config/bin/reload-xkeymap Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env zsh
[ "${DISPLAY}" ] || DISPLAY=":0"
XKEYMAP_FILE="${XDG_CONFIG_HOME:-${HOME}/.config}/X11/xkeymap"
[ -f "${XKEYMAP_FILE}" ] || return 0
command -v xkbcomp &>/dev/null || {
echo "ERROR : missing 'xkbcomp' so I couldn't load ${XKEYMAP_FILE}"
return 1
}
xkbcomp "${XKEYMAP_FILE}" "${DISPLAY}"