|
95 | 95 | on-click-right = "${pomodoro}/bin/pomodoro reset";
|
96 | 96 | exec = "${pomodoro}/bin/pomodoro status";
|
97 | 97 | };
|
98 |
| - clock = { |
99 |
| - locale = "en_GB.UTF-8"; |
100 |
| - format = "{:%H:%M} "; |
101 |
| - format-alt = "{:%A, %B %d, %Y (%R)} "; |
102 |
| - tooltip-format = "<tt><small>{calendar}</small></tt>"; |
103 |
| - calendar = { |
104 |
| - mode = "year"; |
105 |
| - mode-mon-col = 3; |
106 |
| - weeks-pos = "right"; |
107 |
| - on-scroll = 1; |
108 |
| - on-click-right = "mode"; |
109 |
| - format = { |
110 |
| - months = "<span color='#ffead3'><b>{}</b></span>"; |
111 |
| - days = "<span color='#ecc6d9'><b>{}</b></span>"; |
112 |
| - weeks = "<span color='#99ffdd'><b>W{}</b></span>"; |
113 |
| - weekdays = "<span color='#ffcc66'><b>{}</b></span>"; |
114 |
| - today = "<span color='#ff6699'><b><u>{}</u></b></span>"; |
115 |
| - }; |
116 |
| - }; |
117 |
| - actions = { |
118 |
| - on-click-right = "mode"; |
119 |
| - on-click-forward = "tz_up"; |
120 |
| - on-click-backward = "tz_down"; |
121 |
| - on-scroll-up = "shift_up"; |
122 |
| - on-scroll-down = "shift_down"; |
123 |
| - }; |
| 98 | + "custom/clock" = { |
| 99 | + exec = "date +'%Y-%m-%d %H:%M:%S'"; |
| 100 | + interval = 1; |
| 101 | + tooltip = false; |
124 | 102 | };
|
| 103 | + #clock = { |
| 104 | + # locale = "en_GB.UTF-8"; |
| 105 | + # format = "{:%H:%M} "; |
| 106 | + # format-alt = "{:%A, %B %d, %Y (%R)} "; |
| 107 | + # tooltip-format = "<tt><small>{calendar}</small></tt>"; |
| 108 | + # calendar = { |
| 109 | + # mode = "year"; |
| 110 | + # mode-mon-col = 3; |
| 111 | + # weeks-pos = "right"; |
| 112 | + # on-scroll = 1; |
| 113 | + # on-click-right = "mode"; |
| 114 | + # format = { |
| 115 | + # months = "<span color='#ffead3'><b>{}</b></span>"; |
| 116 | + # days = "<span color='#ecc6d9'><b>{}</b></span>"; |
| 117 | + # weeks = "<span color='#99ffdd'><b>W{}</b></span>"; |
| 118 | + # weekdays = "<span color='#ffcc66'><b>{}</b></span>"; |
| 119 | + # today = "<span color='#ff6699'><b><u>{}</u></b></span>"; |
| 120 | + # }; |
| 121 | + # }; |
| 122 | + # actions = { |
| 123 | + # on-click-right = "mode"; |
| 124 | + # on-click-forward = "tz_up"; |
| 125 | + # on-click-backward = "tz_down"; |
| 126 | + # on-scroll-up = "shift_up"; |
| 127 | + # on-scroll-down = "shift_down"; |
| 128 | + # }; |
| 129 | + #}; |
125 | 130 | idle_inhibitor = {
|
126 | 131 | format = "{icon}";
|
127 | 132 | format-icons = {
|
|
222 | 227 | border-bottom: 3px solid white;
|
223 | 228 | }
|
224 | 229 |
|
225 |
| - #clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray, #mode { |
| 230 | + #custom-clock, #clock, #battery, #cpu, #memory, #network, #pulseaudio, #custom-spotify, #tray, #mode { |
226 | 231 | padding: 0 3px;
|
227 | 232 | margin: 0 2px;
|
228 | 233 | }
|
|
0 commit comments