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 CI=true
|
||||||
export DESKTOP__SFX_PATH="${HOME}/Media/sfx"
|
export DESKTOP__SFX_PATH="${HOME}/Media/sfx"
|
||||||
export SCWRYPTS_LOG_LEVEL=0
|
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}"
|
||||||
@@ -6,6 +6,8 @@ set $alt Mod1
|
|||||||
set $mod Mod4
|
set $mod Mod4
|
||||||
font pango:Monaspace Argon, pango:Noto Color Emoji, pango:Symbols Nerd Font 16
|
font pango:Monaspace Argon, pango:Noto Color Emoji, pango:Symbols Nerd Font 16
|
||||||
|
|
||||||
|
exec --no-startup-id 1password
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
## Custom Utility ##############################################################
|
## Custom Utility ##############################################################
|
||||||
################################################################################
|
################################################################################
|
||||||
@@ -78,7 +80,7 @@ bindsym $mod+Shift+f focus parent; fullscreen; focus child
|
|||||||
bindsym $mod+BackSpace open
|
bindsym $mod+BackSpace open
|
||||||
|
|
||||||
bindsym $mod+1 workspace number "1"; exec --no-startup-id polybar-msg cmd show
|
bindsym $mod+1 workspace number "1"; exec --no-startup-id polybar-msg cmd show
|
||||||
bindsym $mod+2 workspace number "2"; exec --no-startup-id polybar-msg cmd hide
|
bindsym $mod+2 workspace number "2"; exec --no-startup-id polybar-msg cmd hide; exec --no-startup-id [[ $(tmux -L omni.socket list-clients 2>/dev/null | wc -l) -eq 0 ]] && i3-sensible-terminal
|
||||||
bindsym $mod+3 workspace number "3"; exec --no-startup-id polybar-msg cmd show
|
bindsym $mod+3 workspace number "3"; exec --no-startup-id polybar-msg cmd show
|
||||||
bindsym $mod+4 workspace number "4"; exec --no-startup-id polybar-msg cmd hide
|
bindsym $mod+4 workspace number "4"; exec --no-startup-id polybar-msg cmd hide
|
||||||
bindsym $mod+5 workspace number "5"; exec --no-startup-id polybar-msg cmd show
|
bindsym $mod+5 workspace number "5"; exec --no-startup-id polybar-msg cmd show
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ ${scwryptsmodule}() {
|
|||||||
echo "# - custom values : $CONFIG_DEFAULT_FILE"
|
echo "# - custom values : $CONFIG_DEFAULT_FILE"
|
||||||
echo "# - override values : $CONFIG_OVERRIDE_FILE"
|
echo "# - override values : $CONFIG_OVERRIDE_FILE"
|
||||||
|
|
||||||
|
echo "exec_always --no-startup-id ${DOTWRYN}/config/bin/reload-xkeymap"
|
||||||
|
|
||||||
case $(GET .statusbar.type) in
|
case $(GET .statusbar.type) in
|
||||||
i3status )
|
i3status )
|
||||||
echo 'set $refresh_statusbar killall -SIGUSR1 i3status'
|
echo 'set $refresh_statusbar killall -SIGUSR1 i3status'
|
||||||
|
|||||||
2
scwrypts/heretic/heretic.scwrypts.zsh
Normal file
2
scwrypts/heretic/heretic.scwrypts.zsh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
readonly ${scwryptsgroup}__type=zsh
|
||||||
|
readonly ${scwryptsgroup}__color=$(utils.colors.blue)
|
||||||
Reference in New Issue
Block a user