diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-02-27 21:40:46 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-02-27 21:40:46 +0800 |
commit | 73826942dc1b368bb76f8471d50dffd0e1a4b42f (patch) | |
tree | 256ed9b599c19ed307ae57951481d5e5f0e3adb8 /X11 | |
parent | 61281d2f806fa118a1c91f40208e3e144b353078 (diff) |
Improve timer
Diffstat (limited to 'X11')
-rw-r--r-- | X11/openbox/rc.xml | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index aa58b85..96e271e 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml | |||
@@ -499,14 +499,23 @@ | |||
499 | <keybind key="W-t"> | 499 | <keybind key="W-t"> |
500 | <action name="Execute"> | 500 | <action name="Execute"> |
501 | <command> | 501 | <command> |
502 | alacritty --title TIMER --hold | 502 | sh -c ' |
503 | -o "window.dimensions.columns=8" | 503 | xdotool search --name "TIMER" windowactivate || \ |
504 | -o "window.dimensions.lines=1" | 504 | alacritty --title TIMER --hold \ |
505 | -o "window.position.x=-0" | 505 | -o "window.dimensions.columns=8" \ |
506 | -o "window.position.y=0" | 506 | -o "window.dimensions.lines=1" \ |
507 | -o "window.opacity=0.6" | 507 | -o "window.position.x=-0" \ |
508 | -o "font.size=40" | 508 | -o "window.position.y=0" \ |
509 | -e ~/helper/bin/unix/timer.sh SIGINT | 509 | -o "window.opacity=0.6" \ |
510 | -o "font.size=40" \ | ||
511 | -e ~/helper/bin/unix/timer.sh SIGINT | ||
512 | ' | ||
513 | </command> | ||
514 | </action> | ||
515 | </keybind> | ||
516 | <keybind key="W-S-t"> | ||
517 | <action name="Execute"> | ||
518 | <command> | ||
510 | </command> | 519 | </command> |
511 | </action> | 520 | </action> |
512 | </keybind> | 521 | </keybind> |