Add Waybar configuration files to branch stable.
This commit is contained in:
parent
6ae489148d
commit
6036116617
157
desktop/waybar/config
Normal file
157
desktop/waybar/config
Normal file
@ -0,0 +1,157 @@
|
||||
// Inferencium
|
||||
// Waybar - Configuration
|
||||
|
||||
// Copyright 2022-2023 Jake Winters
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
// Version: 1.0.0.4
|
||||
|
||||
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"height": 30,
|
||||
|
||||
"modules-left": [
|
||||
"clock#date",
|
||||
"clock#time",
|
||||
],
|
||||
|
||||
"modules-center": [
|
||||
"sway/workspaces",
|
||||
"sway/mode",
|
||||
],
|
||||
|
||||
"modules-right": [
|
||||
"pulseaudio",
|
||||
"sway/language",
|
||||
"cpu",
|
||||
"temperature",
|
||||
"memory",
|
||||
"disk",
|
||||
"network",
|
||||
],
|
||||
|
||||
"clock#date": {
|
||||
"interval": 1,
|
||||
"format": "{:%Y-%m-%d}",
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"clock#time": {
|
||||
"interval": 1,
|
||||
"format": "{:%H:%M:%S}",
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"interval": 1,
|
||||
"format": " {capacity}%",
|
||||
"format-discharging": " {capacity}%",
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": " {usage:3}% {avg_frequency:0.03} GHz",
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"sway/language": {
|
||||
"format": " {short}",
|
||||
"min-length": 4,
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"interval": 1,
|
||||
"format": " {used:0.02f} GiB / {total:0.02f} GiB",
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"disk": {
|
||||
"interval": 1,
|
||||
"format": " {used} / {total}",
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"network": {
|
||||
"interface": "enp37s0",
|
||||
"interval": 1,
|
||||
"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
|
||||
"format-disconnected": " {ifname}",
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"sway/workspaces": {
|
||||
"format": "{name}",
|
||||
"all-outputs": false,
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"sway/mode": {
|
||||
"format": " {}" ,
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"format": " {volume:3}%",
|
||||
"format-muted": " {volume:3}%",
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"backlight": {
|
||||
"device": "amdgpu_bl0",
|
||||
"format": " {percent:3}%",
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
"temperature": {
|
||||
"interval": 1,
|
||||
"thermal-zone": 0,
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
||||
"critical-threshold": 90,
|
||||
"format": "{temperatureC:3}°C",
|
||||
"disable-hover": true,
|
||||
"disable-click": true,
|
||||
"disable-scroll": true,
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
}
|
109
desktop/waybar/style.css
Normal file
109
desktop/waybar/style.css
Normal file
@ -0,0 +1,109 @@
|
||||
/* Inferencium */
|
||||
/* Waybar - Style */
|
||||
|
||||
/* Copyright 2022-2023 Jake Winters */
|
||||
/* SPDX-License-Identifier: GPL-3.0-or-later */
|
||||
|
||||
/* Version: 1.0.0.2 */
|
||||
|
||||
|
||||
* {
|
||||
font-family: Terminus;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: rgba(0, 0, 0, 100);
|
||||
border-bottom: 3px solid rgba(0, 0, 0, 100);
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#clock {
|
||||
padding: 0 12px;
|
||||
background-color: #000000;
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 12px;
|
||||
background-color: #000000;
|
||||
color: #bcbcbc;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #bcbcbc;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #ffa600;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
padding: 0 12px;
|
||||
background-color: #000000;
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
padding: 0 12px;
|
||||
background-color: #000000;
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
padding: 0 12px;
|
||||
background-color: #000000;
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#language {
|
||||
padding: 0 12px;
|
||||
background-color: #000000;
|
||||
color: #bcbcbc;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
padding: 0 12px;
|
||||
background-color: #003487;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
padding: 0 12px;
|
||||
background-color: #003487;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#memory {
|
||||
padding: 0 12px;
|
||||
background-color: #a60000;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#disk {
|
||||
padding: 0 12px;
|
||||
background-color: #c79500;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#network {
|
||||
padding: 0 12px;
|
||||
background-color: #007a00;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
padding: 0 12px;
|
||||
background-color: #007a00;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#battery {
|
||||
padding: 0 12px;
|
||||
background-color: #000000;
|
||||
color: #bcbcbc;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user