diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2023-04-06 17:25:36 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2023-04-06 17:25:36 +0800 |
commit | ff3dfc91aebd454323a25baf6ffd8c9145747564 (patch) | |
tree | 32024bc96f75ca08abbf45eac7f150f5eafb39fa /X11/openbox | |
parent | f3235977b05980f40dea1d3acc53ed68e0825d70 (diff) |
WIP
Diffstat (limited to 'X11/openbox')
-rw-r--r-- | X11/openbox/rc.xml | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index f08a79c..7b923cd 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml | |||
@@ -514,21 +514,7 @@ | |||
514 | </keybind> | 514 | </keybind> |
515 | <keybind key="W-t"> | 515 | <keybind key="W-t"> |
516 | <action name="Execute"> | 516 | <action name="Execute"> |
517 | <command> | 517 | <command>~/helper/X11/show_timer.sh</command> |
518 | sh -c ' | ||
519 | origin=`xdotool getactivewindow`; \ | ||
520 | xdotool search --name "TIMER" windowactivate || \ | ||
521 | alacritty --title TIMER --hold \ | ||
522 | -o "window.dimensions.columns=8" \ | ||
523 | -o "window.dimensions.lines=1" \ | ||
524 | -o "window.position.x=-0" \ | ||
525 | -o "window.position.y=0" \ | ||
526 | -o "window.opacity=0.6" \ | ||
527 | -o "font.size=40" \ | ||
528 | -e ~/helper/bin/unix/timer.sh SIGINT \ | ||
529 | "xdotool windowactivate $origin" | ||
530 | ' | ||
531 | </command> | ||
532 | </action> | 518 | </action> |
533 | </keybind> | 519 | </keybind> |
534 | <keybind key="W-e"> | 520 | <keybind key="W-e"> |