a decent working guix config

This commit is contained in:
Chris Cochrun 2023-06-23 10:02:12 -05:00
parent ae77d05e2f
commit 0ebbec7644
22 changed files with 2302 additions and 279 deletions

View file

@ -1,12 +1,12 @@
{
// "layer": "top", // Waybar at top layer
"layer": "top", // Waybar at top layer
"position": "bottom", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
"height": 35, // Waybar height (to be removed for auto height)
"width": 1400, // Waybar width
// Choose the order of the modules "custom/wintitle",
"modules-left": ["workspaces", "hyprland/window"],
"modules-left": ["wlr/workspaces", "workspaces", "hyprland/window"],
"modules-center": ["clock"],
"modules-right": ["pulseaudio", "backlight", "network", "memory", "cpu", "battery", "battery#bat2", "tray"],
"modules-right": ["pulseaudio", "backlight", "temperature", "memory", "cpu", "battery", "tray"],
"margin-top": -5,
"margin-bottom": 8,
"margin-left": 6,
@ -31,11 +31,16 @@
"num-tags": 8
},
"hyprland/window": {
"format": " {}"
"format": " <span style='italic'>{}</span>"
},
"workspaces": {
"format": " {name} "
},
"wlr/workspaces": {
"format": "{icon}",
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1"
},
"sway/mode": {
"format": "<span style=\"italic\"> {}</span>"
},
@ -54,25 +59,25 @@
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}",
"format": "{:%a %b%e, %I:%M %p}"
"format": "{:%a %b %e, %I:%M %p}"
},
"cpu": {
"format": " {usage}%",
"format": " {usage}%",
},
"memory": {
"format": " {}%"
"format": " {}%"
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""]
"format": "{icon} {temperatureC}°C",
"format-icons": ["", "", ""]
},
"backlight": {
// "device": "acpi_video1",
"format": "{icon} {percent}%",
"format": "{icon} {percent}%",
"format-icons": ["", ""]
},
"battery": {
@ -82,13 +87,13 @@
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": " {capacity}%",
"format-charging": "{icon} {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{time} {icon}",
"format-good": "", // An empty format will hide the module
"format-full": "",
"format-icons": [" ", " ", " ", " ", " "],
"format-charging-icons": [" ", " ", " ", " ", " "]
"format-good": "{icon} {capacity}%", // An empty format will hide the module
"format-full": "󰁹 {capacity}%",
"format-icons": ["󰁺", "󰁼", "󰁾", "󰂀", "󰂂"],
"format-charging-icons": ["󰢜", "󰂇", "󰢝", "󰢞", "󰂋"]
},
"battery#bat2": {
"bat": "BAT2",
@ -108,11 +113,11 @@
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": " {essid} ({signalStrength}%)",
"format-wifi": " ({signalStrength}%)",
"format-ethernet": " {ipaddr}",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
"format-alt": "{ifname}: {essid} {ipaddr}/{cidr}",
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float