mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
xorg-twm: set key for switching keyboard layouts and make adjustments
This commit is contained in:
parent
0274e05301
commit
a2b1fd5222
|
|
@ -37,9 +37,7 @@ _kill_processes() {
|
|||
# In case something stops working, we can call this script
|
||||
# (Ctrl+Alt+Delete on my sxhkdrc) and apply the modifications again.
|
||||
_kbd_reset() {
|
||||
setxkbmap -layout 'us,gr' -option '' -option 'ctrl:nocaps' \
|
||||
-option 'altwin:menu_win' -option 'caps:none' \
|
||||
-option 'compose:ins' -option 'grp:win_space_toggle'
|
||||
setxkbmap -layout 'us,gr' -option '' -option 'grp:win_space_toggle' -option 'compose:menu'
|
||||
}
|
||||
|
||||
_check_systemd() {
|
||||
|
|
|
|||
|
|
@ -146,13 +146,13 @@ mod4 + {_, shift + }t
|
|||
mod4 + m
|
||||
bspc desktop -l next
|
||||
|
||||
# Toggle floating, tiled, fullscreen view. Tiled is what is used by
|
||||
# Toggle floating/tiled and fullscreen view. Tiled is what is used by
|
||||
# default. Floating windows have their own dimensions and can be stacked
|
||||
# on top of each other.
|
||||
# on top of each other. The 's' key is a mnemonic for "stacking".
|
||||
#
|
||||
# NOTE the presence of the tilde ~. If current state matches the given
|
||||
# state, then the argument is interpreted as the last state.
|
||||
mod4 + {shift + space,f}
|
||||
mod4 + {s,f}
|
||||
bspc node -t ~{floating,fullscreen}
|
||||
|
||||
# Set the node flags. Locked is a node that cannot be closed with `bspc
|
||||
|
|
|
|||
|
|
@ -43,8 +43,8 @@ mod4 + {_,shift +} {0-9}
|
|||
herbstclient {use_index,move_index} {0-9}
|
||||
|
||||
# Toggle the fullscreen and tiling/floating state of the currently
|
||||
# focused window.
|
||||
mod4 + {f,space}
|
||||
# focused window. The 's' key is a mnemonic for "stacking".
|
||||
mod4 + {f,s}
|
||||
herbstclient {fullscreen toggle,set_attr clients.focus.floating toggle}
|
||||
|
||||
# Alt + Tab to cycle all windows and frames in the current tag (how
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ then
|
|||
# setxkbmap -layout 'us,gr' -option '' -option 'ctrl:nocaps' \
|
||||
# -option 'altwin:menu_win' -option 'caps:none' \
|
||||
# -option 'compose:ins' -option 'grp:win_space_toggle'
|
||||
setxkbmap -layout 'us,gr' -option '' -option 'compose:menu'
|
||||
setxkbmap -layout 'us,gr' -option '' -option 'grp:win_space_toggle' -option 'compose:menu'
|
||||
fi
|
||||
|
||||
# The hotkey daemon that handles all custom key bindings. I split the
|
||||
|
|
|
|||
Loading…
Reference in a new issue