Merge pull request 'Add volume icon to waybar' (#27) from feature/volume-waybar into master
Reviewed-on: #27
This commit was merged in pull request #27.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
theme = "agnoster";
|
theme = "agnoster";
|
||||||
};
|
};
|
||||||
|
|
||||||
initExtra = ''
|
initContent = ''
|
||||||
# Use kitty's ssh helper if running inside kitty
|
# Use kitty's ssh helper if running inside kitty
|
||||||
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -21,11 +21,26 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
modules-right = [
|
modules-right = [
|
||||||
|
"pulseaudio"
|
||||||
"cpu"
|
"cpu"
|
||||||
"tray"
|
"tray"
|
||||||
"clock"
|
"clock"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
pulseaudio = {
|
||||||
|
format = "{icon} {volume}%";
|
||||||
|
format-muted = " muted";
|
||||||
|
tooltip = false;
|
||||||
|
|
||||||
|
scroll-step = 5;
|
||||||
|
|
||||||
|
format-icons = {
|
||||||
|
default = [ "" "" "" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle";
|
||||||
|
};
|
||||||
|
|
||||||
mpris = {
|
mpris = {
|
||||||
player = "spotify";
|
player = "spotify";
|
||||||
format = "{player_icon} {artist} - {title}";
|
format = "{player_icon} {artist} - {title}";
|
||||||
@@ -35,7 +50,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
cpu = {
|
cpu = {
|
||||||
format = "{usage}% ";
|
format = " {usage}%";
|
||||||
tooltip = false;
|
tooltip = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user