diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2022-09-25 23:45:04 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2022-09-25 23:45:04 +0800 |
| commit | ca8344ad75605d4961dd0bb806e17f5634c37948 (patch) | |
| tree | c6ac6d8f5af1a11549448d8d4d129a0c69ae0540 /misc/openbox | |
| parent | 418677fd6fd792dc4d52631120e561e635eb083c (diff) | |
Update
Diffstat (limited to 'misc/openbox')
| -rw-r--r-- | misc/openbox/rc.xml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/misc/openbox/rc.xml b/misc/openbox/rc.xml index e008e0e..db18a56 100644 --- a/misc/openbox/rc.xml +++ b/misc/openbox/rc.xml | |||
| @@ -522,6 +522,11 @@ | |||
| 522 | <command>alacritty -e ncmpcpp</command> | 522 | <command>alacritty -e ncmpcpp</command> |
| 523 | </action> | 523 | </action> |
| 524 | </keybind> | 524 | </keybind> |
| 525 | <keybind key="W-S-m"> | ||
| 526 | <action name="Execute"> | ||
| 527 | <command>alacritty -o "window.dimensions.lines=32" -o "window.dimensions.columns=90" -e mutt</command> | ||
| 528 | </action> | ||
| 529 | </keybind> | ||
| 525 | <keybind key="W-x"> | 530 | <keybind key="W-x"> |
| 526 | <action name="Execute"> | 531 | <action name="Execute"> |
| 527 | <command>~/.config/openbox/rofi/bin/powermenu</command> | 532 | <command>~/.config/openbox/rofi/bin/powermenu</command> |
| @@ -558,7 +563,7 @@ | |||
| 558 | <command>~/.config/openbox/rofi/bin/runner</command> | 563 | <command>~/.config/openbox/rofi/bin/runner</command> |
| 559 | </action> | 564 | </action> |
| 560 | </keybind> | 565 | </keybind> |
| 561 | <keybind key="W-p"> | 566 | <keybind key="W-g"> |
| 562 | <action name="Execute"> | 567 | <action name="Execute"> |
| 563 | <command>color-gpick</command> | 568 | <command>color-gpick</command> |
| 564 | </action> | 569 | </action> |
| @@ -568,6 +573,22 @@ | |||
| 568 | <command>alacritty --hold -o "window.padding.x=100" -o "window.padding.y=70" -o "window.dimensions.columns=64" -o "window.dimensions.lines=9" -e cal -3</command> | 573 | <command>alacritty --hold -o "window.padding.x=100" -o "window.padding.y=70" -o "window.dimensions.columns=64" -o "window.dimensions.lines=9" -e cal -3</command> |
| 569 | </action> | 574 | </action> |
| 570 | </keybind> | 575 | </keybind> |
| 576 | <keybind key="W-p"> | ||
| 577 | <action name="Execute"> | ||
| 578 | <command> | ||
| 579 | alacritty --hold -e bash -c ' | ||
| 580 | echo Use find or grep to search password | ||
| 581 | echo | ||
| 582 | while read -e target extra; do | ||
| 583 | if [[ "$target" == "" || "$target" == "find" || "$target" == "grep" ]]; then | ||
| 584 | pass $target $extra >/dev/tty | ||
| 585 | else | ||
| 586 | pass $target $extra && break; | ||
| 587 | fi | ||
| 588 | done | tee >(echo; sed 1d >/dev/tty) | head -1 | xsel -ib' | ||
| 589 | </command> | ||
| 590 | </action> | ||
| 591 | </keybind> | ||
| 571 | <!-- CLI Apps --> | 592 | <!-- CLI Apps --> |
| 572 | <!-- | 593 | <!-- |
| 573 | <keybind key="C-A-t"> | 594 | <keybind key="C-A-t"> |