wifi, network, memory, change form. add htop autoopen when click on memory.

This commit is contained in:
primardj 2024-01-26 17:30:43 +00:00
parent e804ea05a0
commit 0e868d4034
2 changed files with 18 additions and 12 deletions

View file

@ -7,7 +7,7 @@
// Choose the order of the modules
"modules-left": ["clock", "network", "hyprland/workspaces" ],
"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
"hyprland/workspaces": {
"disable-scroll": true,
@ -108,7 +108,10 @@
"tooltip": false
},
"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": {
// "thermal-zone": 2,
@ -142,12 +145,13 @@
// },
"network": {
"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} ",
"tooltip-format": "{ifname} via {gwaddr} ",
"tooltip-format": "{essid} - {ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
"format-alt": " {ipaddr}/{cidr}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
@ -166,7 +170,7 @@
"car": "",
"default": ["", "", ""]
},
"on-click": "pavucontrol"
//"on-click": "pavucontrol"
}
// "custom/media": {
// "format": "{icon} {}",

View file

@ -90,11 +90,11 @@ window#waybar.hidden {
#pulseaudio {
margin-top: 8px;
margin-left: 8px;
padding-left: 16px;
/*margin-left: 8px;*/
/*padding-left: 16px;*/
padding-right: 16px;
margin-bottom: 0;
border-radius: 26px 0px 0px 26px;
border-radius: 0px 0px 0px 0px;
transition: none;
/*color: #4d4d4d;*/
/*background: #9aedfe;*/
@ -120,10 +120,12 @@ window#waybar.hidden {
padding-left: 16px;
padding-right: 16px;
margin-bottom: 0;
border-radius: 26px;
border-radius: 26px 0px 0px 26px;
transition: none;
color: #4d4d4d;
background: #ff6e67;
/*color: #4d4d4d;*/
/*background: #ff6e67;*/
color: #ff6666;
background: #282a36;
}
#cpu {