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:
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