diff --git a/config.jsonc b/config.jsonc index 788ce31..75dd9c6 100644 --- a/config.jsonc +++ b/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": "", + "none": "", + "dnd-notification": "", + "dnd-none": "", + "inhibited-notification": "", + "inhibited-none": "", + "dnd-inhibited-notification": "", + "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 } }