move bin to .local/bin

This commit is contained in:
2023-09-15 15:46:04 -04:00
parent 2538eed296
commit 42c88c9eef
19 changed files with 248 additions and 21 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/sh
current_layout=$(dbus-send --print-reply=literal --dest=org.kde.keyboard \
/Layouts org.kde.KeyboardLayouts.getLayout | xargs | tr " " ":")
trap reset_layout 1 2 3 6 15
reset_layout() {
dbus-send --type=method_call --dest=org.kde.keyboard /Layouts org.kde.KeyboardLayouts.setLayout "$current_layout"
}
dbus-send --type=method_call --dest=org.kde.keyboard /Layouts org.kde.KeyboardLayouts.setLayout uint32:0
rofi-rbw --typer=dotool --target=totp
reset_layout