cleanup
This commit is contained in:
parent
a84b807d88
commit
198712a432
|
@ -41,7 +41,7 @@ tab_bar_style hidden
|
|||
#: }}}
|
||||
|
||||
#: Color scheme {{{
|
||||
background_opacity 0.8
|
||||
background_opacity 1
|
||||
background #1a1b26
|
||||
foreground #c0caf5
|
||||
selection_background #33467C
|
||||
|
@ -122,7 +122,5 @@ map kitty_mod+f>h kitten hints --type hyperlink
|
|||
# Miscellaneous
|
||||
map kitty_mod+f2 edit_config_file
|
||||
map kitty_mod+f5 load_config_file
|
||||
map kitty_mod+f3 set_background_opacity 1
|
||||
map kitty_mod+f2 set_background_opacity 0.8
|
||||
#: }}}
|
||||
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
TODO: set nvim-surround, nvim-cmp keybinds separately from plugin setup
|
||||
TODO: add some snippets for C, latex
|
||||
https://github.com/rafamadriz/friendly-snippets
|
||||
https://github.com/L3MON4D3/LuaSnip/blob/master/DOC.md#lua
|
||||
https://www.ejmastnak.com/tutorials/vim-latex/luasnip/
|
||||
TODO: set nvim-surround, nvim-cmp, vimtex keybinds separately from plugin setup
|
||||
TODO: continue work on latex snippets
|
||||
FIX: Closing keybind needs to account for the vimtex error window
|
||||
|
|
|
@ -39,7 +39,9 @@ opacity-rule = [
|
|||
"0:_NET_WM_STATE@[1]:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"0:_NET_WM_STATE@[2]:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"0:_NET_WM_STATE@[3]:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"0:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||
"0:_NET_WM_STATE@[4]:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||
"100:fullscreen",
|
||||
"80:class_g = 'kitty'"
|
||||
];
|
||||
|
||||
# Other
|
||||
|
|
|
@ -50,7 +50,7 @@ alias \
|
|||
wikiup='rclone sync ~/Documents/vimwiki cloud:files/luca/Notes' \
|
||||
cam="mpv --untimed --no-cache --no-osc --no-input-default-bindings --profile=low-latency --input-conf=/dev/null --title=webcam $(ls /dev/video[0,2,4,6,8] | tail -n 1)" \
|
||||
ahv="export ANSIBLE_VAULT_PASSWORD_FILE=~/.ansible/secrets/ansible-homelab && ansible-vault" \
|
||||
xgetkeys="xev | sed -ne '/^KeyPress/,/^$/p'"
|
||||
xgetkeys="xev | sed -ne '/^KeyPress/,/^$/p'" \
|
||||
xpick=" xprop | awk '
|
||||
/^WM_CLASS/{sub(/.* =/, \"instance:\"); sub(/,/, \"\nclass:\"); print}
|
||||
/^WM_NAME/{sub(/.* =/, \"title:\"); print}'"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
while :; do
|
||||
grep -qP -m1 '[^un]bind.+\/[^:]+\(usb\)' <(udevadm monitor -u -t seat -s input -s usb)
|
||||
remaps
|
||||
remaps
|
||||
done
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
DISPLAY=:0
|
||||
|
||||
XKBDIR="${XDG_CONFIG_HOME:-$HOME/.config}/X11/xkb"
|
||||
XKBMAPFILE="$XKBDIR/keymap/$(hostname --fqdn)"
|
||||
[ -r "$XKBMAPFILE" ] || XKBMAPFILE="$XKBDIR/keymap/default"
|
||||
xkbcomp -I"$XKBDIR" "$XKBMAPFILE" "${DISPLAY%%.*}"
|
||||
xkbcomp -I"$XKBDIR" "$XKBMAPFILE" "${DISPLAY%%.*}" 1>/dev/null 2>&1
|
||||
unset XKBDIR XKBMAPFILE
|
||||
|
||||
xset r rate 300 50
|
||||
|
@ -13,4 +15,3 @@ xcape -e 'Super_L=Escape'
|
|||
|
||||
sleep 0.03
|
||||
[ "$1" != "-n" ] && pkill -RTMIN+15 dwmblocks
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ index() {
|
|||
if [ "$1" = "-n" ]; then
|
||||
newgroup="$(setxkbmap -query | grep -oP '(layout|variant):\s*\K\w+' | sed ':a;N;s/\n/:/')"
|
||||
elif [ "$1" = "" ]; then
|
||||
groups="${XKB_LAYOUTS:-us}"
|
||||
groups="us:dvorak de:nodeadkeys"
|
||||
current="$(setxkbmap -query | grep -oP '(layout|variant):\s*\K\w+' | sed ':a;N;s/\n/:/')"
|
||||
i=1
|
||||
while [ ! "$found" ]; do
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit cabef8bdf803b9fc267b06b7643d1c089ed1d680
|
||||
Subproject commit 6fbc9dbb001ef05969121c9f45a6a1734be0e5bc
|
|
@ -1 +1 @@
|
|||
Subproject commit 74a0baccf467bb50eff5f8986b251d67a43cea71
|
||||
Subproject commit 166f942f788b9b50676ca5e5869f4b9621e45d8f
|
|
@ -1 +1 @@
|
|||
Subproject commit ca6d093c96cc5887c9976ab3937810f6d498555c
|
||||
Subproject commit 44e024ba6d8d2197a2d1a56937e9931c8a046c55
|
Loading…
Reference in New Issue