Přidání nových skriptů a konfiguračních souborů

This commit is contained in:
archos
2024-05-01 07:13:49 +02:00
parent 4984384a94
commit f86f4cb729
12 changed files with 698 additions and 0 deletions

6
.config/i3/scripts/keyhint-2 Executable file
View File

@ -0,0 +1,6 @@
I3_CONFIG=$HOME/.config/i3/config
mod_key=$(sed -nre 's/^set \$mod (.*)/\1/p' ${I3_CONFIG})
grep "^bindsym" ${I3_CONFIG} \
| sed "s/-\(-\w\+\)\+//g;s/\$mod/${mod_key}/g;s/Mod1/Alt/g;s/exec //;s/bindsym //;s/^\s\+//;s/^\([^ ]\+\) \(.\+\)$/\2: \1/;s/^\s\+//" \
| tr -s ' ' \
| rofi -dmenu -theme ~/.config/rofi/rofikeyhint.rasi