personal dotfiles: my Hyprland config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[modules]
left = [ "Workspaces" ]
center = [ ]
#[ [ "Clock", "SystemInfo" ], "MediaPlayer" ]
right = [ [ "Privacy", "SystemInfo", "CustomNotifications", "Settings" ] ]

[system]
indicators = ["Temperature"]

[clock]
format = "%H:%M"
 
[appearance]
scale_factor = 0.875
opacity = 0.75
style = "Solid"
# backdrop = 0.3

workspace_colors = ["#bbbbbb"]

[appearance.background_color]
base = "#000000"
#strong = "#448888"
#weak = "#448855"
#text = "#ffffff"

[appearance.primary_color]
base = "#4488ff"
#strong = "#448888"

[[CustomModule]]
# The name will link the module in your left/center/right definition
name = "CustomNotifications"
# The default icon for this custom module
icon = ""
# The command that will be executed on click
command = "swaync-client -t -sw"
# You can optionally configure your custom module to update the UI using another command
# The output right now follows the waybar json-style output, using the `alt` and `text` field
# E.g. `{"text": "3", "alt": "notification"}`
listen_cmd = "swaync-client -swb"
# You can define behavior for the `text` and `alt` fields
# Any number of regex can be used to change the icon based on the alt field
icons.'dnd.*' = ""
# Another regex can optionally show a red "alert" dot on the icon
alert = ".*notification"