improved waybar and new music player

This commit is contained in:
2024-05-11 00:30:24 +01:00
parent af1e260dc2
commit 9612bdf24f
6 changed files with 35 additions and 32 deletions

View File

@@ -99,6 +99,7 @@ alias ll='ls -lhi'
alias ta='tmux attach'
alias t='tmux'
alias v='nvim'
alias mp='ncmpcpp' #Music Player
set completion-ignore-case On

View File

@@ -9,7 +9,7 @@
"margin-left": 5,
"margin-bottom": 0,
// Choose the order of the modules
"modules-left": ["clock", "backlight", "battery", "tray"],
"modules-left": ["clock", "backlight", "battery", "sway/scratchpad", "mpd", "tray"],
"modules-center": ["sway/workspaces"],
"modules-right": ["wireplumber", "network", "cpu", "memory", "temperature"],
// Modules configuration
@@ -48,7 +48,7 @@
"mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon} Stopped ",
"unknown-tag": "N/A",
"interval": 2,
"consume-icons": {
@@ -126,7 +126,7 @@
// "thermal-zone": 2,
"hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input",
"critical-threshold": 80,
"format-critical": "{temperatureC}°C 󰈸",
"format-critical": "{temperatureC}°C 󰈸",
"format": "{temperatureC}°C {icon}",
"format-icons": ["󱃃", "󰔏"],
"interval": 1

View File

@@ -186,11 +186,11 @@ label:focus {
}
#backlight {
color: @pink;
color: @yellow;
}
#network {
color: @cyan;
color: @pink;
}
#network.disconnected {
@@ -198,7 +198,7 @@ label:focus {
}
#pulseaudio {
color: @green;
color: @cyan;
}
#pulseaudio.muted {
@@ -206,7 +206,7 @@ label:focus {
}
#wireplumber {
color: @pink;
color: @cyan;
}
#wireplumber.muted {
@@ -264,20 +264,21 @@ label:focus {
}
#mpd {
background-color: #66cc99;
color: @purple;
}
#mpd.disconnected {
background-color: #f53c3c;
background-color: @red;
color: @base;
box-shadow: inset 0px 0px 0px 3px @base;
}
#mpd.stopped {
background-color: #90b1b1;
color: @red;
}
#mpd.paused {
background-color: #51a37a;
color: @yellow;
}
#language {
@@ -299,9 +300,9 @@ label:focus {
}
#scratchpad {
background: rgba(0, 0, 0, 0.2);
color: @yellow;
}
#scratchpad.empty {
background-color: transparent;
color: @cyan;
}