Compare commits
3 Commits
47a5d2b779
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd3d5d8a97 | ||
|
|
1002876f3a | ||
|
|
707ba07778 |
28
config.jsonc
28
config.jsonc
@@ -7,8 +7,8 @@
|
|||||||
"gtk-layer-shell": true,
|
"gtk-layer-shell": true,
|
||||||
"height": 50,
|
"height": 50,
|
||||||
"modules-left": ["custom/launch_wofi","hyprland/workspaces","hyprland/window","cpu","memory","disk"],
|
"modules-left": ["custom/launch_wofi","hyprland/workspaces","hyprland/window","cpu","memory","disk"],
|
||||||
"modules-center": ["custom/lock_screen","custom/updates","clock","custom/power_btn"],
|
"modules-center": ["custom/lock_screen","clock","custom/power_btn"],
|
||||||
"modules-right": ["temperature","custom/power_profile","battery","backlight","pulseaudio","pulseaudio#microphone","tray","custom/weather","custom/notification","custom/light_dark"],
|
"modules-right": ["temperature","custom/power_profile","battery","backlight","network","pulseaudio","pulseaudio#microphone","tray","custom/weather","custom/notification"],
|
||||||
|
|
||||||
"hyprland/window": {
|
"hyprland/window": {
|
||||||
"format": "{}"
|
"format": "{}"
|
||||||
@@ -26,6 +26,12 @@
|
|||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
|
|
||||||
|
"custom/light_dark": {
|
||||||
|
"format": "",
|
||||||
|
"on-click": "~/.config/waybar/scripts/baraction light",
|
||||||
|
"tooltip": false
|
||||||
|
},
|
||||||
|
|
||||||
"custom/power_btn": {
|
"custom/power_btn": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"on-click": "sh -c '(sleep 0.5s; wlogout --protocol layer-shell)' & disown",
|
"on-click": "sh -c '(sleep 0.5s; wlogout --protocol layer-shell)' & disown",
|
||||||
@@ -57,14 +63,6 @@
|
|||||||
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
|
"on-click": "kitty --start-as=fullscreen --title btop sh -c 'btop'"
|
||||||
},
|
},
|
||||||
|
|
||||||
"custom/updates": {
|
|
||||||
"format": "{}",
|
|
||||||
"exec": "~/.config/waybar/scripts/update-sys",
|
|
||||||
"on-click": "~/.config/waybar/scripts/update-sys update",
|
|
||||||
"interval": 300,
|
|
||||||
"tooltip": true
|
|
||||||
},
|
|
||||||
|
|
||||||
"custom/power_profile": {
|
"custom/power_profile": {
|
||||||
//shows the current power profile and switches to next on click
|
//shows the current power profile and switches to next on click
|
||||||
"exec": "echo ?",
|
"exec": "echo ?",
|
||||||
@@ -181,5 +179,13 @@
|
|||||||
},
|
},
|
||||||
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
"on-scroll-up": "hyprctl dispatch workspace e+1",
|
||||||
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
"on-scroll-down": "hyprctl dispatch workspace e-1"
|
||||||
}
|
},
|
||||||
|
"network": {
|
||||||
|
"format-wifi": " {essid}",
|
||||||
|
"format-ethernet": " {ipaddr}",
|
||||||
|
"format-linked": " {ifname}",
|
||||||
|
"format-disconnected": "",
|
||||||
|
"tooltip-format": "{ifname} via {gwaddr}",
|
||||||
|
"on-click": "nm-connection-editor"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user