control: update config with new style changes
This commit is contained in:
+142
@@ -0,0 +1,142 @@
|
||||
[
|
||||
{
|
||||
"name": "main",
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 38,
|
||||
"spacing": 4,
|
||||
"margin-top": 0,
|
||||
"margin-bottom": 0,
|
||||
"output": "eDP-1",
|
||||
"reload_style_on_change": true,
|
||||
"modules-left": [
|
||||
"disk",
|
||||
"memory",
|
||||
"cpu",
|
||||
"temperature",
|
||||
"pulseaudio"
|
||||
],
|
||||
"modules-center": ["hyprland/workspaces"],
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"network#wifi",
|
||||
"custom/weather",
|
||||
"battery",
|
||||
"clock",
|
||||
"custom/poweroff"
|
||||
],
|
||||
"battery": {
|
||||
"interval": 20,
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{icon} {capacity}%",
|
||||
"format-icons": [" ", " ", " ", " ", " "],
|
||||
"max-length": 25
|
||||
},
|
||||
"clock": {
|
||||
"interval": 1,
|
||||
"format": "<b>{:%I:%M:%S %p}</b>",
|
||||
"format-alt": "{:%Y-%m-%d}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
"cpu": {
|
||||
"format": " {usage}%",
|
||||
"tooltip": false
|
||||
},
|
||||
"disk": {
|
||||
"format": " {}%",
|
||||
"tooltip-format": "{used} / {total} used"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"memory": {
|
||||
"format": " {}%",
|
||||
"tooltip-format": "{used:0.1f}G / {total:0.1f}G used"
|
||||
},
|
||||
"temperature": {
|
||||
"critical-threshold": 80,
|
||||
"format": "{icon} {temperatureC}°C",
|
||||
"format-icons": ["", "", "", "", ""],
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input"
|
||||
},
|
||||
"network#wifi": {
|
||||
"interface": "wlo1",
|
||||
"format-wifi": " {signalStrength}%",
|
||||
"format-disconnected": "",
|
||||
"tooltip-format": "{ifname}: {ipaddr}/{cidr}"
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"format": "{icon}",
|
||||
"sort-by-number": true,
|
||||
"all-outputs": true,
|
||||
"disable-scroll": true,
|
||||
"active-only": false,
|
||||
"format-icons": {
|
||||
"default": "",
|
||||
"persistent": "",
|
||||
"active": ""
|
||||
},
|
||||
"persistent-workspaces": {
|
||||
"1": [ ],
|
||||
"2": [ ],
|
||||
"3": [ ],
|
||||
"4": [ ],
|
||||
"5": [ ]
|
||||
}
|
||||
},
|
||||
"wlr/taskbar": {
|
||||
"format": "{name}",
|
||||
"icon-size": 32,
|
||||
"tooltip": false,
|
||||
"on-click": "activate",
|
||||
"on-click-right": "close",
|
||||
"all-outputs": true,
|
||||
"ignore-list": [
|
||||
"xwaylandvideobridge"
|
||||
],
|
||||
"rewrite": {
|
||||
"(.*)Firefox Web Browser": "",
|
||||
"(.*)Discord": "",
|
||||
"(.*)Alacritty": "",
|
||||
"Steam(.*)": "",
|
||||
"(.*)Spotify": ""
|
||||
}
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": " {volume}%",
|
||||
"format-muted": " 0%",
|
||||
"max-volume": 100,
|
||||
"scroll-step": 0
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
"custom/spotify": {
|
||||
"interval": 1,
|
||||
"return-type": "json",
|
||||
"exec": "~/.config/waybar/scripts/spotify.sh",
|
||||
"exec-if": "pgrep spotify",
|
||||
"escape": true
|
||||
},
|
||||
"custom/poweroff": {
|
||||
"tooltip": false,
|
||||
"format": " ",
|
||||
"on-click": "bash ~/.config/waybar/scripts/poweroff.sh"
|
||||
},
|
||||
"custom/weather": {
|
||||
"exec": "~/.config/waybar/scripts/get_weather.sh Belleville+Illinois",
|
||||
"return-type": "json",
|
||||
"format": "{}",
|
||||
"tooltip": true,
|
||||
"interval": 3600
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
*
|
||||
* Catppuccin Frappe palette
|
||||
* Maintainer: rubyowo
|
||||
*
|
||||
*/
|
||||
|
||||
@define-color base #303446;
|
||||
@define-color mantle #292c3c;
|
||||
@define-color crust #232634;
|
||||
|
||||
@define-color text #c6d0f5;
|
||||
@define-color subtext0 #a5adce;
|
||||
@define-color subtext1 #b5bfe2;
|
||||
|
||||
@define-color surface0 #414559;
|
||||
@define-color surface1 #51576d;
|
||||
@define-color surface2 #626880;
|
||||
|
||||
@define-color overlay0 #737994;
|
||||
@define-color overlay1 #838ba7;
|
||||
@define-color overlay2 #949cbb;
|
||||
|
||||
@define-color blue #8caaee;
|
||||
@define-color lavender #babbf1;
|
||||
@define-color sapphire #85c1dc;
|
||||
@define-color sky #99d1db;
|
||||
@define-color teal #81c8be;
|
||||
@define-color green #a6d189;
|
||||
@define-color yellow #e5c890;
|
||||
@define-color peach #ef9f76;
|
||||
@define-color maroon #ea999c;
|
||||
@define-color red #e78284;
|
||||
@define-color mauve #ca9ee6;
|
||||
@define-color pink #f4b8e4;
|
||||
@define-color flamingo #eebebe;
|
||||
@define-color rosewater #f2d5cf;
|
||||
+13
-46
@@ -1,4 +1,4 @@
|
||||
@import "latte.css";
|
||||
@import "frappe.css";
|
||||
|
||||
* {
|
||||
border: none;
|
||||
@@ -10,39 +10,30 @@
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
color: @peach;
|
||||
/*border-bottom: 4px solid @crust;*/
|
||||
background: alpha(@mantle, 0.6);
|
||||
border-radius: 0px;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
#workspaces {
|
||||
margin: 4px 0;
|
||||
border-radius: 5px;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: @overlay0;
|
||||
background: transparent;
|
||||
color: @peach;
|
||||
transition: all 0.1s ease;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: @peach;
|
||||
border-top: 2px solid @peach;
|
||||
background-color: alpha(@peach, 0.2);
|
||||
border-radius: 2px;
|
||||
transition: all 0.1s ease;
|
||||
}
|
||||
|
||||
.modules-left,
|
||||
.modules-center,
|
||||
.modules-right {
|
||||
padding: 4px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 6px;
|
||||
}
|
||||
|
||||
#battery,
|
||||
@@ -57,38 +48,14 @@ window#waybar.hidden {
|
||||
#custom-poweroff,
|
||||
#custom-weather {
|
||||
background-color: @base;
|
||||
border-radius: 6px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid @overlay0;
|
||||
margin-left: 6px;
|
||||
margin-right: 6px;
|
||||
padding: 0 10px;
|
||||
color: @peach;
|
||||
min-width: 60px;
|
||||
}
|
||||
|
||||
/*
|
||||
#pulseaudio {
|
||||
color: @sapphire;
|
||||
#clock {
|
||||
min-width: 100px;
|
||||
}
|
||||
#disk {
|
||||
color: @peach;
|
||||
}
|
||||
#memory {
|
||||
color: @teal;
|
||||
}
|
||||
#cpu {
|
||||
color: @lavender;
|
||||
}
|
||||
#temperature {
|
||||
color: @sky;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: alpha(@peach, 0.2);
|
||||
border-radius: 2px;
|
||||
margin-bottom: 2px;
|
||||
transition: all 0.1s ease;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user