a decent working guix config
This commit is contained in:
parent
ae77d05e2f
commit
0ebbec7644
22 changed files with 2302 additions and 279 deletions
|
@ -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
|
||||
|
|
|
@ -36,19 +36,21 @@ window {
|
|||
}
|
||||
|
||||
window#waybar > box {
|
||||
padding-top: 3px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 3px;
|
||||
padding-left: 3px;
|
||||
padding-right: 10px;
|
||||
color: @base05;
|
||||
box-shadow: 2px 2px 5px 5px #101010;
|
||||
box-shadow: 5px 5px 3px 3px #101010;
|
||||
margin: 12px 14px 14px 14px;
|
||||
background: @base00;
|
||||
background: @backtransparent;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
border-radius: 20px;
|
||||
margin-left: 10px;
|
||||
padding-right: 10px;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
|
@ -56,7 +58,7 @@ window#waybar > box {
|
|||
border-radius: 20px;
|
||||
margin-left: 6px;
|
||||
padding-right: 10px;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
|
@ -112,7 +114,7 @@ window#waybar > box {
|
|||
border-radius: 20px;
|
||||
transition: none;
|
||||
color: @base0B;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
|
@ -123,7 +125,7 @@ window#waybar > box {
|
|||
border-radius: 20px;
|
||||
transition: none;
|
||||
color: @base08;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#battery.warning {
|
||||
|
@ -144,7 +146,7 @@ window#waybar > box {
|
|||
border-radius: 20px;
|
||||
transition: none;
|
||||
color: @base09;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#network {
|
||||
|
@ -153,7 +155,7 @@ window#waybar > box {
|
|||
border-radius: 20px;
|
||||
transition: none;
|
||||
color: @base0B;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
|
@ -162,7 +164,7 @@ window#waybar > box {
|
|||
border-radius: 20px;
|
||||
transition: none;
|
||||
color: @base09;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#battery {
|
||||
|
@ -171,7 +173,7 @@ window#waybar > box {
|
|||
border-radius: 20px;
|
||||
transition: none;
|
||||
color: @base0D;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#battery.bat2 {
|
||||
|
@ -184,7 +186,7 @@ window#waybar > box {
|
|||
border-radius: 20px;
|
||||
transition: none;
|
||||
color: @base0C;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
|
@ -193,7 +195,7 @@ window#waybar > box {
|
|||
border-radius: 20px;
|
||||
transition: none;
|
||||
color: @base0E;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#tray {
|
||||
|
@ -202,6 +204,6 @@ window#waybar > box {
|
|||
border-radius: 20px;
|
||||
transition: none;
|
||||
color: @base0E;
|
||||
background: @backtransparent;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue