Skip to content

Commit

Permalink
🕶️ added active window icons to workspace widget in waybar
Browse files Browse the repository at this point in the history
  • Loading branch information
nimueller committed Jan 13, 2024
1 parent 8abf632 commit 22b76ef
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
18 changes: 18 additions & 0 deletions config/waybar/config
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,24 @@
"modules-left": ["hyprland/window"],
"modules-center": ["hyprland/workspaces"],
"modules-right": ["privacy", "pulseaudio#sink", "pulseaudio#source", "tray", "clock"],
"hyprland/workspaces": {
"format": "<sup>{id}</sup> {windows}",
"window-rewrite": {
"class<firefox>": "󰈹",
"class<brave-browser>": "",
"class<discord>": "󰙯",
"class<spotify>": "",
"class<org.keepassxc.KeePassXC>": "",
"class<nautilus>": "󰷏",
"class<geary>": "",
"class<virt-manager>": "󰢩",
"class<looking-glass-client>": "",
"class<jetbrains>": "󱃖",
"class<steam>": "󰓓",
"class<kitty>": "",
"class<lutris>": "󰊗"
}
},
"pulseaudio#sink": {
"format": " {icon} {volume}%",
"format-bluetooth": "{icon} {volume}% ",
Expand Down
12 changes: 6 additions & 6 deletions config/waybar/style.css
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
* {
#waybar {
font-family: JetBrainsMono Nerd Font;
font-size: 12px;
min-height: 0;
}

#waybar {
background: transparent;
color: #cad3f5;
}
Expand Down Expand Up @@ -32,9 +28,13 @@
border-radius: 10px;
}

#workspaces label {
font-size: 16px;
}

#workspaces button {
border-radius: 1rem;
padding: 0.4rem;
padding: 0 0.5rem 0 0.5rem;
}

#workspaces button.active {
Expand Down

0 comments on commit 22b76ef

Please sign in to comment.