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:
@@ -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
14
config/bin/reload-xkeymap
Executable 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}"
|
||||
Reference in New Issue
Block a user