Text · 1579 bytes Raw Blame History
1 {
2 // -------------------------------------------------------------------------
3 // Global configuration - Portrait monitor
4 // -------------------------------------------------------------------------
5
6 "layer": "top",
7 "position": "top",
8 "margin-left": 5,
9 "margin-bottom": 0,
10 "margin-right": 5,
11 "spacing": 3,
12
13 // Only show on portrait monitor
14 "output": ["HDMI-A-2"],
15
16 "modules-left": [
17 "hyprland/workspaces"
18 ],
19 "modules-center": [
20 "clock#portrait"
21 ],
22 "modules-right": [
23 "tray"
24 ],
25
26 // -------------------------------------------------------------------------
27 // Modules for portrait monitor (simplified)
28 // -------------------------------------------------------------------------
29
30 "clock#portrait": {
31 "format": "{:%H:%M}",
32 "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
33 "today-format": "<b>{}</b>"
34 },
35
36 "hyprland/workspaces": {
37 "format": "{name}",
38 "format-icons": {
39 "1": "一",
40 "2": "二",
41 "3": "三",
42 "4": "四",
43 "5": "五",
44 "6": "六",
45 "7": "七",
46 "8": "八",
47 "9": "九",
48 "10": "十"
49 },
50 "on-scroll-up": "hyprctl dispatch workspace e+1 1>/dev/null",
51 "on-scroll-down": "hyprctl dispatch workspace e-1 1>/dev/null",
52 "sort-by-number": true,
53 "active-only": false
54 },
55
56 "tray": {
57 "icon-size": 12,
58 "spacing": 3
59 }
60 }