diff options
-rw-r--r-- | .config/zsh/alias.zsh | 2 | ||||
-rwxr-xr-x | .local/bin/cast/recscreen (renamed from .local/bin/recscreen) | 0 | ||||
-rwxr-xr-x | .local/bin/cast/strscreen (renamed from .local/bin/strscreen) | 0 | ||||
-rwxr-xr-x | .local/bin/kb | 20 |
4 files changed, 15 insertions, 7 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 64b2a62..36d2f2b 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -22,6 +22,8 @@ alias bc='clear; bc -l' alias mkf='gmake fclean' alias mkc='gmake clean' alias mk='gmake -j5' +alias bmkc='make clean' +alias bmk='make -j5' alias web='w3m https://duckduckgo.com/' alias mpv='mpv --audio-channels=stereo' alias cp='cp -iv' diff --git a/.local/bin/recscreen b/.local/bin/cast/recscreen index d5079eb..d5079eb 100755 --- a/.local/bin/recscreen +++ b/.local/bin/cast/recscreen diff --git a/.local/bin/strscreen b/.local/bin/cast/strscreen index 822bb3b..822bb3b 100755 --- a/.local/bin/strscreen +++ b/.local/bin/cast/strscreen diff --git a/.local/bin/kb b/.local/bin/kb index 1b7a4ea..d21690b 100755 --- a/.local/bin/kb +++ b/.local/bin/kb @@ -2,16 +2,22 @@ xset r rate 200 150 setxkbmap -layout us,fr -option grp:alt_shift_toggle -xmodmap -e "keycode 9 = Tab" -xmodmap -e "keycode 23 = Escape" if ! xrandr | grep 'HDMI-1 connected' >/dev/null 2>&1; then if ! xrandr | grep 'VGA-1 connected' >/dev/null 2>&1; then + echo + setxkbmap -option ctrl:swapcaps xmodmap -e "remove Lock = Caps_Lock" - xmodmap -e "remove Control = Control_L" - xmodmap -e "keysym Control_L = Caps_Lock" - xmodmap -e "keysym Caps_Lock = Control_L" - xmodmap -e "add Lock = Caps_Lock" - xmodmap -e "add Control = Control_L" + xmodmap -e 'keycode 37 = Escape' + # setxkbmap -option caps:escape + # xmodmap -e "remove Control = Control_L" + # xmodmap -e "keysym Control_L = Caps_Lock" + # xmodmap -e "keysym Caps_Lock = Control_L" + # xmodmap -e "add Lock = Caps_Lock" + # xmodmap -e "add Control = Control_L" fi +else + setxkbmap -option caps:swapescape fi notify-send -u low -t 2000 'kb' ' Keyboard set' + +# vim: filetype=sh |