waybar config
This commit is contained in:
parent
eee7ade89b
commit
68d112a8a4
12 changed files with 171 additions and 70 deletions
1
hyprland/.config/hypr/README.md
Normal file
1
hyprland/.config/hypr/README.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
https://git.sr.ht/~robertgzr/dotfiles/tree/master/item/.config/waybar/config.jsonc
|
||||||
|
|
@ -33,8 +33,8 @@ exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CUR
|
||||||
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP #
|
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP #
|
||||||
##exec-once = hyprpaper
|
##exec-once = hyprpaper
|
||||||
exec-once = hypridle $ #
|
exec-once = hypridle $ #
|
||||||
##exec-once = ~/.config/hypr/scripts/waybar.sh
|
exec-once = ~/.config/hypr/scripts/waybar.sh
|
||||||
exec-once = waybar & #
|
#exec-once = waybar & #
|
||||||
exec-once = nm-applet --indicator & #
|
exec-once = nm-applet --indicator & #
|
||||||
exec-once = swaync & #
|
exec-once = swaync & #
|
||||||
exec-once = blueman-applet & #
|
exec-once = blueman-applet & #
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ configuration {
|
||||||
/* ---- Window ---- */
|
/* ---- Window ---- */
|
||||||
window {
|
window {
|
||||||
width: 60%;
|
width: 60%;
|
||||||
|
|
||||||
}
|
}
|
||||||
/* ---- Listview ---- */
|
/* ---- Listview ---- */
|
||||||
listview {
|
listview {
|
||||||
|
|
|
||||||
|
|
@ -1,69 +1,32 @@
|
||||||
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
|
|
||||||
|
|
||||||
// ### DEFAULT - Top ### //
|
|
||||||
{
|
{
|
||||||
"include": [
|
"layer":"top",
|
||||||
"$HOME/.config/waybar/Modules",
|
"position":"top",
|
||||||
"$HOME/.config/waybar/ModulesWorkspaces",
|
"modules-left":["hyprland/workspaces"],
|
||||||
],
|
"modules-center":["hyprland/window"],
|
||||||
"layer": "top",
|
"modules-right":["wireplumber","battery","clock"],
|
||||||
//"mode": "dock",
|
"battery":{
|
||||||
"exclusive": true,
|
"format":"{capacity}% {icon}",
|
||||||
"passthrough": false,
|
"format-icons": ["", "", "", "", ""],
|
||||||
"position": "top",
|
},
|
||||||
"spacing": 3,
|
"clock": {
|
||||||
"fixed-center": true,
|
"format":"{:%H:%M}",
|
||||||
"ipc": true,
|
"format-alt": "{:%Y-%m-%d %H:%M}"
|
||||||
"margin-top": 3,
|
},
|
||||||
"margin-left": 8,
|
"idle_inhibitor": {
|
||||||
"margin-right": 8,
|
"format": "{icon}",
|
||||||
|
"format-icons": {
|
||||||
"modules-left": [
|
"activated": "",
|
||||||
"hyprland/workspaces#pacman",
|
"deactivated": ""
|
||||||
"custom/separator#dot-line",
|
}
|
||||||
"cpu",
|
},
|
||||||
"custom/separator#dot-line",
|
"wireplumber": {
|
||||||
"temperature",
|
"format":"{volume}% {icon}",
|
||||||
"custom/separator#dot-line",
|
"format-muted": "",
|
||||||
"memory",
|
"scroll-step": 1,
|
||||||
"custom/separator#dot-line",
|
"on-click":"qpwgraph",
|
||||||
"custom/weather",
|
"format-icons": ["", "", ""],
|
||||||
"custom/separator#blank_3",
|
"tooltip":true,
|
||||||
"custom/cava_mviz",
|
"tooltip-format": "{volume}%"
|
||||||
],
|
}
|
||||||
|
|
||||||
"modules-center": [
|
|
||||||
"custom/menu",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"idle_inhibitor",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"clock",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"custom/light_dark",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"custom/lock",
|
|
||||||
//],
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"custom/hint",
|
|
||||||
],
|
|
||||||
|
|
||||||
"modules-right": [
|
|
||||||
"network#speed",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"custom/swaync",
|
|
||||||
"tray",
|
|
||||||
"mpris",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"bluetooth",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"pulseaudio",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"pulseaudio#microphone",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"keyboard-state",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"custom/keyboard",
|
|
||||||
"custom/separator#dot-line",
|
|
||||||
"custom/power",
|
|
||||||
],
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1,67 @@
|
||||||
@import "mocha.css";
|
* {
|
||||||
|
font-family: FontAwesome, NotoSans, Helvetica, Arial, sans-serif;
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar {
|
||||||
|
background-color: rgba(43,48,59,0.5);
|
||||||
|
color: #ffffff;
|
||||||
|
transition-property: background-color;
|
||||||
|
transition-duration: .5s;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar.hidden {
|
||||||
|
opacity: 0.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wireplumber,
|
||||||
|
#clock,
|
||||||
|
#battery {
|
||||||
|
padding: 0 0.625rem;
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#window,
|
||||||
|
#workspaces {
|
||||||
|
margin: 0 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-left > widget:first-child > #workspaces {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modules-right > widget:last-child > #workspaces {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#wireplumber,
|
||||||
|
#battery {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.plugged {
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #26A65B;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.discharging {
|
||||||
|
background-color: #ff1111;
|
||||||
|
}
|
||||||
|
|
||||||
|
#battery.charging {
|
||||||
|
background-color: #00ff00;
|
||||||
|
}
|
||||||
|
|
||||||
|
#clock {
|
||||||
|
background-color: #ffffff;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor.activated {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#idle_inhibitor.deactivated {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
|
||||||
69
hyprland/.config/waybar2/config
Normal file
69
hyprland/.config/waybar2/config
Normal file
|
|
@ -0,0 +1,69 @@
|
||||||
|
/* ---- 💫 https://github.com/JaKooLit 💫 ---- */
|
||||||
|
|
||||||
|
// ### DEFAULT - Top ### //
|
||||||
|
{
|
||||||
|
"include": [
|
||||||
|
"$HOME/.config/waybar/Modules",
|
||||||
|
"$HOME/.config/waybar/ModulesWorkspaces",
|
||||||
|
],
|
||||||
|
"layer": "top",
|
||||||
|
//"mode": "dock",
|
||||||
|
"exclusive": true,
|
||||||
|
"passthrough": false,
|
||||||
|
"position": "top",
|
||||||
|
"spacing": 3,
|
||||||
|
"fixed-center": true,
|
||||||
|
"ipc": true,
|
||||||
|
"margin-top": 3,
|
||||||
|
"margin-left": 8,
|
||||||
|
"margin-right": 8,
|
||||||
|
|
||||||
|
"modules-left": [
|
||||||
|
"hyprland/workspaces#pacman",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"cpu",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"temperature",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"memory",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"custom/weather",
|
||||||
|
"custom/separator#blank_3",
|
||||||
|
"custom/cava_mviz",
|
||||||
|
],
|
||||||
|
|
||||||
|
"modules-center": [
|
||||||
|
"custom/menu",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"idle_inhibitor",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"clock",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"custom/light_dark",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"custom/lock",
|
||||||
|
//],
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"custom/hint",
|
||||||
|
],
|
||||||
|
|
||||||
|
"modules-right": [
|
||||||
|
"network#speed",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"custom/swaync",
|
||||||
|
"tray",
|
||||||
|
"mpris",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"bluetooth",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"pulseaudio",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"pulseaudio#microphone",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"keyboard-state",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"custom/keyboard",
|
||||||
|
"custom/separator#dot-line",
|
||||||
|
"custom/power",
|
||||||
|
],
|
||||||
|
}
|
||||||
1
hyprland/.config/waybar2/style.css
Normal file
1
hyprland/.config/waybar2/style.css
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
@import "mocha.css";
|
||||||
Loading…
Add table
Reference in a new issue