feat: add hypridle and hyprlock, update nixos config

This commit is contained in:
2024-11-29 20:47:59 +05:00
parent 4448991055
commit 4b023c9430
6 changed files with 79 additions and 17 deletions

View File

@@ -23,9 +23,7 @@
"temperature",
"backlight",
"keyboard-state",
"sway/language",
"battery",
"battery#bat2",
"clock",
"tray",
"custom/power"
@@ -37,7 +35,7 @@
"warp-on-scroll": false,
"format": "{name}: {icon}",
"format-icons": {
// "1": "",
"1": "",
// "2": "",
// "3": "",
// "4": "",
@@ -104,7 +102,7 @@
"spacing": 10
},
"clock": {
// "timezone": "America/New_York",
"timezone": "Asia/Karachi",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
@@ -130,7 +128,7 @@
},
"battery": {
"states": {
// "good": 95,
"good": 95,
"warning": 30,
"critical": 15
},
@@ -143,9 +141,6 @@
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"power-profiles-daemon": {
"format": "{icon}",
"tooltip-format": "Power profile: {profile}\nDriver: {driver}",
@@ -158,7 +153,6 @@
}
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",