fix(waybar): better icons
This commit is contained in:
parent
18d425813f
commit
02ca7d52b0
2 changed files with 7 additions and 7 deletions
|
|
@ -79,9 +79,9 @@ in
|
||||||
modules-left = [ "hyprland/workspaces" ];
|
modules-left = [ "hyprland/workspaces" ];
|
||||||
modules-center = [ "hyprland/window" ];
|
modules-center = [ "hyprland/window" ];
|
||||||
modules-right = [
|
modules-right = [
|
||||||
|
"tray"
|
||||||
"hyprland/language"
|
"hyprland/language"
|
||||||
"privacy"
|
"privacy"
|
||||||
"tray"
|
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"network"
|
"network"
|
||||||
"battery"
|
"battery"
|
||||||
|
|
@ -99,7 +99,7 @@ in
|
||||||
"hyprland/language" = {
|
"hyprland/language" = {
|
||||||
format = "";
|
format = "";
|
||||||
tooltip = true;
|
tooltip = true;
|
||||||
tooltip-format = "Keyboard Layout: {long}";
|
tooltip-format = "Layout: {}";
|
||||||
on-click = "ctl keyboard next";
|
on-click = "ctl keyboard next";
|
||||||
on-click-right = "ctl keyboard pick";
|
on-click-right = "ctl keyboard pick";
|
||||||
};
|
};
|
||||||
|
|
@ -134,7 +134,7 @@ in
|
||||||
};
|
};
|
||||||
signal = 1;
|
signal = 1;
|
||||||
tooltip = true;
|
tooltip = true;
|
||||||
tooltip-format = "Sink: {desc}\nLevel: {volume}%";
|
tooltip-format = "Volume: {volume}%\nOutput: {desc}";
|
||||||
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||||
on-click-right = "ctl audio out";
|
on-click-right = "ctl audio out";
|
||||||
on-scroll-up = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.0";
|
on-scroll-up = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ --limit 1.0";
|
||||||
|
|
@ -148,7 +148,7 @@ in
|
||||||
format-disabled = "";
|
format-disabled = "";
|
||||||
interval = 10;
|
interval = 10;
|
||||||
tooltip = true;
|
tooltip = true;
|
||||||
tooltip-format-wifi = "SSID: {essid}\nStrength: {signalStrength}%\nIP: {ipaddr}";
|
tooltip-format-wifi = "SSID: {essid}\nDown: {bandwidthDownBits}\nUp: {bandwidthUpBits}\nIP: {ipaddr}";
|
||||||
tooltip-format-ethernet = "{ifname} · {ipaddr}";
|
tooltip-format-ethernet = "{ifname} · {ipaddr}";
|
||||||
tooltip-format-disconnected = "disconnected";
|
tooltip-format-disconnected = "disconnected";
|
||||||
on-click = "rfkill toggle wifi";
|
on-click = "rfkill toggle wifi";
|
||||||
|
|
@ -205,8 +205,8 @@ in
|
||||||
|
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
font-family: "SF Pro Display", sans-serif;
|
font-family: "SF Pro Display", sans-serif;
|
||||||
padding: 0 10px;
|
padding: 0 7px;
|
||||||
min-width: 24px;
|
min-width: 20px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
transition: none;
|
transition: none;
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@ brightness)
|
||||||
bar=""
|
bar=""
|
||||||
i=0; while [ "$i" -lt "$filled" ]; do bar="${bar}━"; i=$((i + 1)); done
|
i=0; while [ "$i" -lt "$filled" ]; do bar="${bar}━"; i=$((i + 1)); done
|
||||||
i=0; while [ "$i" -lt "$empty" ]; do bar="${bar}─"; i=$((i + 1)); done
|
i=0; while [ "$i" -lt "$empty" ]; do bar="${bar}─"; i=$((i + 1)); done
|
||||||
notify-send -a ctl -t 2500 -r 5555 "☼ $bar"
|
notify-send -a ctl -t 2500 -r 5555 " $bar"
|
||||||
;;
|
;;
|
||||||
volume)
|
volume)
|
||||||
require wpctl notify-send
|
require wpctl notify-send
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue