wifi, network, memory, change form. add htop autoopen when click on memory.
This commit is contained in:
parent
e804ea05a0
commit
0e868d4034
2 changed files with 18 additions and 12 deletions
|
@ -7,7 +7,7 @@
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"modules-left": ["clock", "network", "hyprland/workspaces" ],
|
"modules-left": ["clock", "network", "hyprland/workspaces" ],
|
||||||
"modules-center": ["hyprland/window"],
|
"modules-center": ["hyprland/window"],
|
||||||
"modules-right": [ "pulseaudio", "backlight", "battery", "tray"], // mpd, cpu, memory, keyboard-state, temperature, idle_inhibitor
|
"modules-right": [ "memory", "pulseaudio", "backlight", "battery", "tray"], // mpd, cpu, keyboard-state, temperature, idle_inhibitor
|
||||||
// Modules configuration
|
// Modules configuration
|
||||||
"hyprland/workspaces": {
|
"hyprland/workspaces": {
|
||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
|
@ -108,7 +108,10 @@
|
||||||
"tooltip": false
|
"tooltip": false
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": "{}% "
|
"interval": 1,
|
||||||
|
// "format": "{}% "
|
||||||
|
"format": " {used:0.1f}/{total:0.1f}G {swapUsed:0.1f}/{swapTotal:0.1f}G",
|
||||||
|
"on-click": "alacritty --class floating -e htop -t"
|
||||||
},
|
},
|
||||||
"temperature": {
|
"temperature": {
|
||||||
// "thermal-zone": 2,
|
// "thermal-zone": 2,
|
||||||
|
@ -142,12 +145,13 @@
|
||||||
// },
|
// },
|
||||||
"network": {
|
"network": {
|
||||||
"interface": "wlan*", // (Optional) To force the use of this interface
|
"interface": "wlan*", // (Optional) To force the use of this interface
|
||||||
"format-wifi": "{essid} ({signalStrength}%) ",
|
"interval": 1,
|
||||||
|
"format-wifi": " {signalStrength}%", //"{essid} ({signalStrength}%) ",
|
||||||
"format-ethernet": "{ipaddr}/{cidr} ",
|
"format-ethernet": "{ipaddr}/{cidr} ",
|
||||||
"tooltip-format": "{ifname} via {gwaddr} ",
|
"tooltip-format": "{essid} - {ifname} via {gwaddr} ",
|
||||||
"format-linked": "{ifname} (No IP) ",
|
"format-linked": "{ifname} (No IP) ",
|
||||||
"format-disconnected": "Disconnected ⚠",
|
"format-disconnected": "Disconnected ⚠",
|
||||||
"format-alt": "{ifname}: {ipaddr}/{cidr}"
|
"format-alt": " {ipaddr}/{cidr}"
|
||||||
},
|
},
|
||||||
"pulseaudio": {
|
"pulseaudio": {
|
||||||
// "scroll-step": 1, // %, can be a float
|
// "scroll-step": 1, // %, can be a float
|
||||||
|
@ -166,7 +170,7 @@
|
||||||
"car": "",
|
"car": "",
|
||||||
"default": ["", "", ""]
|
"default": ["", "", ""]
|
||||||
},
|
},
|
||||||
"on-click": "pavucontrol"
|
//"on-click": "pavucontrol"
|
||||||
}
|
}
|
||||||
// "custom/media": {
|
// "custom/media": {
|
||||||
// "format": "{icon} {}",
|
// "format": "{icon} {}",
|
||||||
|
|
|
@ -90,11 +90,11 @@ window#waybar.hidden {
|
||||||
|
|
||||||
#pulseaudio {
|
#pulseaudio {
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
margin-left: 8px;
|
/*margin-left: 8px;*/
|
||||||
padding-left: 16px;
|
/*padding-left: 16px;*/
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
border-radius: 26px 0px 0px 26px;
|
border-radius: 0px 0px 0px 0px;
|
||||||
transition: none;
|
transition: none;
|
||||||
/*color: #4d4d4d;*/
|
/*color: #4d4d4d;*/
|
||||||
/*background: #9aedfe;*/
|
/*background: #9aedfe;*/
|
||||||
|
@ -120,10 +120,12 @@ window#waybar.hidden {
|
||||||
padding-left: 16px;
|
padding-left: 16px;
|
||||||
padding-right: 16px;
|
padding-right: 16px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
border-radius: 26px;
|
border-radius: 26px 0px 0px 26px;
|
||||||
transition: none;
|
transition: none;
|
||||||
color: #4d4d4d;
|
/*color: #4d4d4d;*/
|
||||||
background: #ff6e67;
|
/*background: #ff6e67;*/
|
||||||
|
color: #ff6666;
|
||||||
|
background: #282a36;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cpu {
|
#cpu {
|
||||||
|
|
Loading…
Reference in a new issue