diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-11-14 12:49:44 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-11-14 13:01:42 +0800 |
commit | c4dd1c70e930a981a64947f8bd641538fe2b3cdd (patch) | |
tree | 061d38bbdbb33ebd5e92f54451f3a2b7b168a7b5 /X11/openbox | |
parent | 8aa314aa0b3ba61fa79124a6cd5610119126ec11 (diff) |
Update
Diffstat (limited to 'X11/openbox')
-rw-r--r-- | X11/openbox/rc.xml | 62 |
1 files changed, 28 insertions, 34 deletions
diff --git a/X11/openbox/rc.xml b/X11/openbox/rc.xml index 42b7200..c4d1ddf 100644 --- a/X11/openbox/rc.xml +++ b/X11/openbox/rc.xml | |||
@@ -27,38 +27,38 @@ | |||
27 | <keepBorder>yes</keepBorder> | 27 | <keepBorder>yes</keepBorder> |
28 | <animateIconify>yes</animateIconify> | 28 | <animateIconify>yes</animateIconify> |
29 | <font place="ActiveWindow"> | 29 | <font place="ActiveWindow"> |
30 | <name>Sans</name> | 30 | <name>Source Code Pro</name> |
31 | <size>20</size> | 31 | <size>16</size> |
32 | <weight>Bold</weight> | 32 | <weight>Bold</weight> |
33 | <slant>Normal</slant> | 33 | <slant>Normal</slant> |
34 | </font> | 34 | </font> |
35 | <font place="InactiveWindow"> | 35 | <font place="InactiveWindow"> |
36 | <name>Hack Nerd Font</name> | 36 | <name>Source Code Pro</name> |
37 | <size>20</size> | 37 | <size>16</size> |
38 | <weight>Normal</weight> | 38 | <weight>Normal</weight> |
39 | <slant>Normal</slant> | 39 | <slant>Normal</slant> |
40 | </font> | 40 | </font> |
41 | <font place="MenuHeader"> | 41 | <font place="MenuHeader"> |
42 | <name>Hack Nerd Font</name> | 42 | <name>Source Code Pro</name> |
43 | <size>20</size> | 43 | <size>16</size> |
44 | <weight>Bold</weight> | 44 | <weight>Bold</weight> |
45 | <slant>Normal</slant> | 45 | <slant>Normal</slant> |
46 | </font> | 46 | </font> |
47 | <font place="MenuItem"> | 47 | <font place="MenuItem"> |
48 | <name>Hack Nerd Font</name> | 48 | <name>Source Code Pro</name> |
49 | <size>20</size> | 49 | <size>16</size> |
50 | <weight>Normal</weight> | 50 | <weight>Normal</weight> |
51 | <slant>Normal</slant> | 51 | <slant>Normal</slant> |
52 | </font> | 52 | </font> |
53 | <font place="ActiveOnScreenDisplay"> | 53 | <font place="ActiveOnScreenDisplay"> |
54 | <name>Hack Nerd Font</name> | 54 | <name>Source Code Pro</name> |
55 | <size>20</size> | 55 | <size>16</size> |
56 | <weight>Bold</weight> | 56 | <weight>Bold</weight> |
57 | <slant>Normal</slant> | 57 | <slant>Normal</slant> |
58 | </font> | 58 | </font> |
59 | <font place="InactiveOnScreenDisplay"> | 59 | <font place="InactiveOnScreenDisplay"> |
60 | <name>Hack Nerd Font</name> | 60 | <name>Source Code Pro</name> |
61 | <size>20</size> | 61 | <size>16</size> |
62 | <weight>Normal</weight> | 62 | <weight>Normal</weight> |
63 | <slant>Normal</slant> | 63 | <slant>Normal</slant> |
64 | </font> | 64 | </font> |
@@ -546,26 +546,6 @@ | |||
546 | </command> | 546 | </command> |
547 | </action> | 547 | </action> |
548 | </keybind> | 548 | </keybind> |
549 | <keybind key="W-F1"> | ||
550 | <action name="Execute"> | ||
551 | <command> | ||
552 | sh -c ' | ||
553 | xdotool search --name "@inbox" windowactivate || \ | ||
554 | alacritty --title "@inbox" -e nvim ~/log/inbox.md | ||
555 | ' | ||
556 | </command> | ||
557 | </action> | ||
558 | </keybind> | ||
559 | <keybind key="W-F2"> | ||
560 | <action name="Execute"> | ||
561 | <command> | ||
562 | sh -c ' | ||
563 | xdotool search --name "@log" windowactivate || \ | ||
564 | alacritty --title "@log" --working-directory ~/log | ||
565 | ' | ||
566 | </command> | ||
567 | </action> | ||
568 | </keybind> | ||
569 | <keybind key="W-S-e"> | 549 | <keybind key="W-S-e"> |
570 | <action name="Execute"> | 550 | <action name="Execute"> |
571 | <command> | 551 | <command> |
@@ -601,6 +581,20 @@ | |||
601 | </command> | 581 | </command> |
602 | </action> | 582 | </action> |
603 | </keybind> | 583 | </keybind> |
584 | <keybind key="W-F1"> | ||
585 | <action name="Execute"> | ||
586 | <command> | ||
587 | ddcutil setvcp 60 0x01 | ||
588 | </command> | ||
589 | </action> | ||
590 | </keybind> | ||
591 | <keybind key="W-F2"> | ||
592 | <action name="Execute"> | ||
593 | <command> | ||
594 | ddcutil setvcp 60 0x03 | ||
595 | </command> | ||
596 | </action> | ||
597 | </keybind> | ||
604 | <keybind key="C-A-f"> | 598 | <keybind key="C-A-f"> |
605 | <action name="Execute"> | 599 | <action name="Execute"> |
606 | <command> | 600 | <command> |
@@ -641,8 +635,8 @@ | |||
641 | </keybind> | 635 | </keybind> |
642 | <keybind key="W-S-a"> | 636 | <keybind key="W-S-a"> |
643 | <action name="Execute"> | 637 | <action name="Execute"> |
644 | <command>ob-music</command> | 638 | <command>ob-music</command> |
645 | <backup> | 639 | <backup> |
646 | sh -c ' | 640 | sh -c ' |
647 | xdotool search --name MPD windowquit || \ | 641 | xdotool search --name MPD windowquit || \ |
648 | alacritty --title MPD -e ncmpcpp | 642 | alacritty --title MPD -e ncmpcpp |