Fix clock and add notification center
This commit is contained in:
parent
8d2fcef218
commit
84b778b2f7
31
config.jsonc
31
config.jsonc
|
@ -8,7 +8,7 @@
|
|||
"height": 50,
|
||||
"modules-left": ["custom/launch_wofi","wlr/workspaces","cpu","memory","disk","hyprland/window"],
|
||||
"modules-center": ["custom/lock_screen","custom/updates","clock","custom/power_btn"],
|
||||
"modules-right": ["temperature","custom/power_profile","battery","backlight","pulseaudio","pulseaudio#microphone","tray","custom/weather","custom/light_dark"],
|
||||
"modules-right": ["temperature","custom/power_profile","battery","backlight","pulseaudio","pulseaudio#microphone","tray","custom/weather","custom/notification","custom/light_dark"],
|
||||
|
||||
"hyprland/window": {
|
||||
"format": "{}"
|
||||
|
@ -22,7 +22,7 @@
|
|||
|
||||
"custom/lock_screen": {
|
||||
"format": "",
|
||||
"on-click": "sh -c '(sleep 0.5s; cinnamon-screensaver-command --lock)' & disown",
|
||||
"on-click": "sh -c '(sleep 0.5s; swaylock -c 000000 -e -i ~/.config/hypr/wallpaper/RooftopSunset.jpeg)' & disown",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
|||
"path": "/",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "HDD - {used} used out of {total} on {path} ({percentage_used}%)",
|
||||
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
|
||||
"on-click": "nemo /"
|
||||
},
|
||||
|
||||
"memory": {
|
||||
|
@ -95,9 +95,9 @@
|
|||
},
|
||||
|
||||
"clock": {
|
||||
"format": "{: %H:%M %p}",
|
||||
"format": "{:%H:%M }",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{: %A, %e %B %Y}"
|
||||
"tooltip-format": "{:%A, %e %B %Y }"
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
|
@ -158,5 +158,26 @@
|
|||
"critical-threshold": 80,
|
||||
"format-critical": " {temperatureC}°C",
|
||||
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
|
||||
},
|
||||
|
||||
"custom/notification": {
|
||||
"tooltip": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"notification": "<span foreground='red'><sup></sup></span>",
|
||||
"none": "",
|
||||
"dnd-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-none": "",
|
||||
"inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"inhibited-none": "",
|
||||
"dnd-inhibited-notification": "<span foreground='red'><sup></sup></span>",
|
||||
"dnd-inhibited-none": ""
|
||||
},
|
||||
"return-type": "json",
|
||||
"exec-if": "which swaync-client",
|
||||
"exec": "swaync-client -swb",
|
||||
"on-click": "swaync-client -t -sw",
|
||||
"on-click-right": "swaync-client -d -sw",
|
||||
"escape": true
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue