mirror of
https://github.com/xsghetti/HyprCrux.git
synced 2025-07-03 05:40:38 -04:00
.config
This commit is contained in:
parent
91b15dcb7c
commit
0384c2b07e
43 changed files with 14696 additions and 0 deletions
262
.config/waybar/.OGstyle.css
Normal file
262
.config/waybar/.OGstyle.css
Normal file
|
@ -0,0 +1,262 @@
|
|||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: JetBrainsMono Nerd Font, Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
/*
|
||||
▄▄▄▄ ▄▄▄ ██▀███
|
||||
▓█████▄ ▒████▄ ▓██ ▒ ██▒
|
||||
▒██▒ ▄██▒██ ▀█▄ ▓██ ░▄█ ▒
|
||||
▒██░█▀ ░██▄▄▄▄██ ▒██▀▀█▄
|
||||
░▓█ ▀█▓ ▓█ ▓██▒░██▓ ▒██▒
|
||||
░▒▓███▀▒ ▒▒ ▓▒█░░ ▒▓ ░▒▓░
|
||||
▒░▒ ░ ▒ ▒▒ ░ ░▒ ░ ▒░
|
||||
░ ░ ░ ▒ ░░ ░
|
||||
░ ░ ░ ░
|
||||
░
|
||||
*/
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
color: #f4d9e1
|
||||
}
|
||||
|
||||
|
||||
/*▄▄▄▄ █ ██ ▄▄▄█████▓▄▄▄█████▓ ▒█████ ███▄ █ ██████
|
||||
▓█████▄ ██ ▓██▒▓ ██▒ ▓▒▓ ██▒ ▓▒▒██▒ ██▒ ██ ▀█ █ ▒██ ▒
|
||||
▒██▒ ▄██▓██ ▒██░▒ ▓██░ ▒░▒ ▓██░ ▒░▒██░ ██▒▓██ ▀█ ██▒░ ▓██▄
|
||||
▒██░█▀ ▓▓█ ░██░░ ▓██▓ ░ ░ ▓██▓ ░ ▒██ ██░▓██▒ ▐▌██▒ ▒ ██▒
|
||||
░▓█ ▀█▓▒▒█████▓ ▒██▒ ░ ▒██▒ ░ ░ ████▓▒░▒██░ ▓██░▒██████▒▒
|
||||
░▒▓███▀▒░▒▓▒ ▒ ▒ ▒ ░░ ▒ ░░ ░ ▒░▒░▒░ ░ ▒░ ▒ ▒ ▒ ▒▓▒ ▒ ░
|
||||
▒░▒ ░ ░░▒░ ░ ░ ░ ░ ░ ▒ ▒░ ░ ░░ ░ ▒░░ ░▒ ░ ░
|
||||
░ ░ ░░░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░
|
||||
░ ░ ░ ░ ░ ░
|
||||
░
|
||||
*/
|
||||
button {
|
||||
/* Use box-shadow instead of border so the text isn't offset */
|
||||
box-shadow: inset 0 -3px transparent;
|
||||
/* Avoid rounded borders under each button name */
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
button:hover {
|
||||
background: inherit;
|
||||
box-shadow: inset 0 -3px #e5809e;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
color: #e5809e;
|
||||
}P
|
||||
|
||||
#workspaces button.urgent {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: #64727D;
|
||||
border-bottom: 3px solid #ffffff;
|
||||
}
|
||||
/*
|
||||
███▄ ▄███▓ ▒█████ ▓█████▄ █ ██ ██▓ ▓█████ ██████
|
||||
▓██▒▀█▀ ██▒▒██▒ ██▒▒██▀ ██▌ ██ ▓██▒▓██▒ ▓█ ▀ ▒██ ▒
|
||||
▓██ ▓██░▒██░ ██▒░██ █▌▓██ ▒██░▒██░ ▒███ ░ ▓██▄
|
||||
▒██ ▒██ ▒██ ██░░▓█▄ ▌▓▓█ ░██░▒██░ ▒▓█ ▄ ▒ ██▒
|
||||
▒██▒ ░██▒░ ████▓▒░░▒████▓ ▒▒█████▓ ░██████▒░▒████▒▒██████▒▒
|
||||
░ ▒░ ░ ░░ ▒░▒░▒░ ▒▒▓ ▒ ░▒▓▒ ▒ ▒ ░ ▒░▓ ░░░ ▒░ ░▒ ▒▓▒ ▒ ░
|
||||
░ ░ ░ ░ ▒ ▒░ ░ ▒ ▒ ░░▒░ ░ ░ ░ ░ ▒ ░ ░ ░ ░░ ░▒ ░ ░
|
||||
░ ░ ░ ░ ░ ▒ ░ ░ ░ ░░░ ░ ░ ░ ░ ░ ░ ░ ░
|
||||
░ ░ ░ ░ ░ ░ ░ ░ ░ ░
|
||||
░
|
||||
*/
|
||||
|
||||
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#custom-media,
|
||||
#mode,
|
||||
#scratchpad,
|
||||
#network, #pulseaudio, #temperature, #custom-spotify, #workspaces, #tray {
|
||||
color: #e5809e;
|
||||
border-radius: 8px;
|
||||
margin: 5px 4px;
|
||||
padding: 2px 2px;
|
||||
margin-right: 6px;
|
||||
background-color: #28243b;
|
||||
}
|
||||
|
||||
#window {
|
||||
background-color: #1e1e2e;
|
||||
padding: 0 10px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
#workspaces { /*changes color of box around workspaces*/
|
||||
background-color: #28243b
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.modules-left > widget:first-child > #temperature {
|
||||
/* margin-left: 21; */
|
||||
}
|
||||
|
||||
.modules-left- > widget:first-child > #workspaces button.active {
|
||||
margin-left: 3;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
margin-right: 3;
|
||||
}
|
||||
|
||||
#custom-menu {
|
||||
color: #e5809e;
|
||||
background-color: #28243b;
|
||||
border-radius: 0px 0px 24px 0px;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0 20px 0 13px;
|
||||
/*border-right: solid 1px #282738;*/
|
||||
font-size: 20px;
|
||||
|
||||
}
|
||||
#custom-updates {
|
||||
color: #e5809e;
|
||||
/*background-color: #28243b;
|
||||
border-radius: 24px;
|
||||
padding: 0px 10px 0px 10px;
|
||||
font-size: 18px;
|
||||
*/
|
||||
}
|
||||
#custom-power {
|
||||
color: #e5809e;
|
||||
background-color: #28243b;
|
||||
padding: 0px 5px 0px 5px;
|
||||
margin-left: 5px;
|
||||
border-radius: 24px 0px 0px 0px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
color: #e5809e;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
color: #e5809e;
|
||||
border-width: 10px;
|
||||
border-radius: 0px 0px 0px 24px;
|
||||
padding-right: 10px;
|
||||
padding-left: 10px;
|
||||
background-color: #28243b;
|
||||
margin-right: 0px;
|
||||
margin-left: 0px;
|
||||
}
|
||||
|
||||
#clock, #mpd {
|
||||
color: #e5809e;
|
||||
background-color: #28243b;
|
||||
border-radius: 0px 0px 0px 0px;
|
||||
padding-left: 5px;
|
||||
padding-right: 10px;
|
||||
margin-right: 0px;
|
||||
margin-left: -8px;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
font-weight: bold;
|
||||
/*border-left: solid 1px #282738;*/
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: #f53c3c;
|
||||
color: #ffffff;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
label:focus {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
#custom-divider {
|
||||
color: #FFFFFF;
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
#custom-separator2 {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
#custom-weather {
|
||||
color: #a6e3a1;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background-color: #2ecc71;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#memory {
|
||||
background-color: #9b59b6;
|
||||
}
|
||||
|
||||
#disk {
|
||||
background-color: #964B00;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
background-color: #90b1b1;
|
||||
}
|
||||
|
||||
|
||||
#network.disconnected {
|
||||
background-color: #fcfafa;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
background-color: #90b1b1;
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
#wireplumber {
|
||||
background-color: #fff0f5;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#wireplumber.muted {
|
||||
background-color: #f53c3c;
|
||||
}
|
||||
#custom.name {
|
||||
text-shadow: 5px 5px #000000;
|
||||
|
||||
}
|
||||
|
||||
|
359
.config/waybar/.style.css
Normal file
359
.config/waybar/.style.css
Normal file
|
@ -0,0 +1,359 @@
|
|||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
transition-property: background-color;
|
||||
transition-duration: .5s;
|
||||
}
|
||||
|
||||
|
||||
window#waybar.hidden {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
/*
|
||||
window#waybar.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
window#waybar.solo {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
*/
|
||||
|
||||
window#waybar.termite {
|
||||
background-color: #3F3F3F;
|
||||
}
|
||||
|
||||
window#waybar.chromium {
|
||||
background-color: #000000;
|
||||
border: none;
|
||||
}
|
||||
|
||||
button {
|
||||
/* Use box-shadow instead of border so the text isn't offset */
|
||||
box-shadow: inset 0 -3px transparent;
|
||||
/* Avoid rounded borders under each button name */
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
||||
button:hover {
|
||||
background: transparent;
|
||||
box-shadow: inset 2px 2px 5px #000000;
|
||||
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 5px;
|
||||
background-color: transparent;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: rgba(103, 105, 109, 0.6);
|
||||
border-radius: 4px;
|
||||
margin: 2px 2px;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background-color: #64727D;
|
||||
box-shadow: inset 0 -3px #ffffff;
|
||||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: rgba(74, 75, 77, 1);
|
||||
border-radius: 4px;
|
||||
box-shadow: inset 2px 2px 2px #000000;
|
||||
margin: 2px 2px;
|
||||
color: #00BED3;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background-color: #64727D;
|
||||
border-bottom: 3px solid #ffffff;
|
||||
}
|
||||
|
||||
|
||||
#battery,
|
||||
#cpu,
|
||||
#memory,
|
||||
#disk,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#network,
|
||||
#pulseaudio,
|
||||
#wireplumber,
|
||||
#custom-media,
|
||||
#tray,
|
||||
#mode,
|
||||
#scratchpad,
|
||||
#mpd {
|
||||
color: rgb(255, 255, 255);
|
||||
/* border-radius: 8px; */
|
||||
margin: 5px 4px;
|
||||
padding: 2px 10px;
|
||||
margin-right: 6px;
|
||||
/* background-color: rgba(74, 75, 77, 0.5) */
|
||||
}
|
||||
|
||||
#window,
|
||||
#workspaces {
|
||||
/* margin-top: 10px; */
|
||||
background-color: rgba(104, 76, 76, 0.5);
|
||||
border-radius: 4px;
|
||||
padding: 0px 10px;
|
||||
}
|
||||
|
||||
/* If workspaces is the leftmost module, omit left margin */
|
||||
.modules-left > widget:first-child > #workspaces {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* If workspaces is the rightmost module, omit right margin */
|
||||
.modules-right > widget:last-child > #workspaces {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#clock {
|
||||
/* background-color: rgba(74, 75, 77, 0.5); */
|
||||
padding-right: 20px;
|
||||
padding-left: 10px;
|
||||
border-radius: 4px;
|
||||
background-color: rgba(74, 75, 77, 0.5);
|
||||
margin: 5px 5px;
|
||||
|
||||
}
|
||||
|
||||
#battery {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#battery.charging, #battery.plugged {
|
||||
color: #ffffff;
|
||||
background-color: #26A65B;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.critical:not(.charging) {
|
||||
background-color: #f53c3c;
|
||||
color: #ffffff;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
|
||||
label:focus {
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
#cpu {
|
||||
background-color: #2ecc71;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#memory {
|
||||
background-color: #9b59b6;
|
||||
}
|
||||
|
||||
#disk {
|
||||
background-color: #964B00;
|
||||
}
|
||||
|
||||
#backlight {
|
||||
background-color: #90b1b1;
|
||||
}
|
||||
|
||||
#network {
|
||||
/* background-color: #2980b9; */
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
background-color: #f53c3c;
|
||||
}
|
||||
|
||||
#pulseaudio {
|
||||
background-color: rgba(74, 75, 77, 0.5);
|
||||
border-radius: 4px;
|
||||
color: white;
|
||||
|
||||
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
background-color: rgba(255, 1, 1, 0.2);
|
||||
color: #ffffff;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
#wireplumber {
|
||||
background-color: #fff0f5;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
#wireplumber.muted {
|
||||
background-color: #f53c3c;
|
||||
}
|
||||
|
||||
#custom-media {
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
min-width: 100px;
|
||||
}
|
||||
|
||||
#custom-media.custom-spotify {
|
||||
background-color: #66cc99;
|
||||
}
|
||||
|
||||
#custom-media.custom-vlc {
|
||||
background-color: #ffa000;
|
||||
}
|
||||
|
||||
#temperature {
|
||||
/* background-color: #f0932b; */
|
||||
}
|
||||
|
||||
#temperature.critical {
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#tray {
|
||||
/* background-color: rgba(74, 75, 77, 0.5); */
|
||||
margin: 5px 4px;
|
||||
border-radius: 4px;
|
||||
background-color: rgba(74, 75, 77, 0.5)
|
||||
}
|
||||
|
||||
#tray > .passive {
|
||||
-gtk-icon-effect: dim;
|
||||
}
|
||||
|
||||
#tray > .needs-attention {
|
||||
-gtk-icon-effect: highlight;
|
||||
background-color: #eb4d4b;
|
||||
}
|
||||
|
||||
#idle_inhibitor {
|
||||
/* background-color: rgba(74, 75, 77, 0.5); */
|
||||
padding-left: 5px;
|
||||
padding-right: 10px;
|
||||
margin-left: -37px;
|
||||
}
|
||||
|
||||
/* #idle_inhibitor.activated {
|
||||
background-color: #ecf0f1;
|
||||
color: #2d3436;
|
||||
} */
|
||||
|
||||
#mpd {
|
||||
background-color: #66cc99;
|
||||
color: #2a5c45;
|
||||
}
|
||||
|
||||
#mpd.disconnected {
|
||||
background-color: #f53c3c;
|
||||
}
|
||||
|
||||
#mpd.stopped {
|
||||
background-color: #90b1b1;
|
||||
}
|
||||
|
||||
#mpd.paused {
|
||||
background-color: #51a37a;
|
||||
}
|
||||
|
||||
#language {
|
||||
background: #00b093;
|
||||
color: #740864;
|
||||
padding: 0 5px;
|
||||
margin: 0 5px;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state {
|
||||
background: #97e1ad;
|
||||
color: #000000;
|
||||
padding: 0 0px;
|
||||
margin: 0 5px;
|
||||
min-width: 16px;
|
||||
}
|
||||
|
||||
#keyboard-state > label {
|
||||
padding: 0 5px;
|
||||
}
|
||||
|
||||
#keyboard-state > label.locked {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#scratchpad.empty {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
/* Custom Modules */
|
||||
|
||||
#custom-menu{
|
||||
/* margin-top: 5px; */
|
||||
/* margin-bottom: 4px; */
|
||||
font-size: 16px;
|
||||
background-color: rgba(74, 75, 77, 0.5);
|
||||
padding-bottom: 2px;
|
||||
padding-left: 10px;
|
||||
padding-right: 15px;
|
||||
border-radius: 4px;
|
||||
color: white;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#custom-power{
|
||||
/* padding: 5px; */
|
||||
font-size: 15px;
|
||||
/* color: rgba(243, 23, 206, 0.945);
|
||||
background-color: rgba(74, 75, 77, 0.5);
|
||||
border-radius: 10px 0px 0px 10px;
|
||||
margin-right: 10px; */
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#custom-updates{
|
||||
padding: 10px;
|
||||
color: white;
|
||||
}
|
||||
.modules-right {
|
||||
background-color: rgba(74, 75, 77, 0.6);
|
||||
margin: 5px 0px;
|
||||
border-radius: 4px;
|
||||
margin-right: 10px
|
||||
}
|
||||
.modules-left{
|
||||
margin: 10px 5px;
|
||||
|
||||
}
|
||||
#custom-playerctl, #custom-playerlabel{
|
||||
background-color: rgba(179, 123, 164, .5);
|
||||
border-radius: 4px;
|
||||
padding: 5px;
|
||||
|
||||
}
|
228
.config/waybar/config
Normal file
228
.config/waybar/config
Normal file
|
@ -0,0 +1,228 @@
|
|||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
// "output": ["DP-1"],
|
||||
"position": "top", // Waybar position (top|bottom|left|right)
|
||||
// "height": 30, // Waybar height (to be removed for auto height)
|
||||
// "width": 1280, // Waybar width
|
||||
// "spacing": 4, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["custom/menu", "hyprland/workspaces",],
|
||||
"modules-center": ["custom/name"],
|
||||
"modules-right": ["network", "custom/div", "pulseaudio", "custom/div", "temperature", "custom/div", "clock", "tray"],
|
||||
|
||||
"keyboard-state": {
|
||||
"numlock": true,
|
||||
"capslock": true,
|
||||
"format": "{name} {icon}",
|
||||
"format-icons": {
|
||||
"locked": "",
|
||||
"unlocked": ""
|
||||
}
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
"sway/scratchpad": {
|
||||
"format": "{icon} {count}",
|
||||
"show-empty": false,
|
||||
"format-icons": ["", ""],
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{app}: {title}"
|
||||
},
|
||||
"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 ",
|
||||
"unknown-tag": "N/A",
|
||||
"interval": 2,
|
||||
"consume-icons": {
|
||||
"on": " "
|
||||
},
|
||||
"random-icons": {
|
||||
"off": "<span color=\"#f53c3c\"></span> ",
|
||||
"on": " "
|
||||
},
|
||||
"repeat-icons": {
|
||||
"on": " "
|
||||
},
|
||||
"single-icons": {
|
||||
"on": "1 "
|
||||
},
|
||||
"state-icons": {
|
||||
"paused": "",
|
||||
"playing": ""
|
||||
},
|
||||
"tooltip-format": "MPD (connected)",
|
||||
"tooltip-format-disconnected": "MPD (disconnected)"
|
||||
},
|
||||
"idle_inhibitor": {
|
||||
"format": ""
|
||||
|
||||
},
|
||||
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
"clock": {
|
||||
"format": "<span foreground='#C6AAE8'> </span>{:%H:%M}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
"cpu": {
|
||||
"format": "{usage}% ",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"format": "{}% "
|
||||
},
|
||||
"temperature": {
|
||||
"thermal-zone": 2,
|
||||
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"critical-threshold": 80,
|
||||
"format-critical": "{temperatureC}°C {icon}",
|
||||
"format": "{temperatureC}°C {icon}",
|
||||
"format-icons": ["", "", ""]
|
||||
},
|
||||
"network": {
|
||||
// "interface": "wlp2*", // (Optional) To force the use of this interface
|
||||
"format-wifi": " {essid}",
|
||||
"format-ethernet": " hardwired",
|
||||
"tooltip-format": " {ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
|
||||
"format-linked": " {ifname} (No IP)",
|
||||
"format-disconnected": " Disconnected",
|
||||
"format-alt": " {signalStrength}%",
|
||||
"interval": 5
|
||||
},
|
||||
"pulseaudio": {
|
||||
"scroll-step": 1, // %, can be a float,
|
||||
"format": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
"format-bluetooth-muted": " {icon} {format_source}",
|
||||
"format-muted": " {format_source}",
|
||||
"format-source": "{volume}% ",
|
||||
"format-source-muted": "",
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
},
|
||||
"on-click": "pavucontrol"
|
||||
},
|
||||
"custom/media": {
|
||||
"format": "{icon} {}",
|
||||
"return-type": "json",
|
||||
"max-length": 40,
|
||||
"format-icons": {
|
||||
"spotify": "",
|
||||
"default": "🎜"
|
||||
},
|
||||
"escape": true,
|
||||
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null", // Script in resources folder
|
||||
"exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null", // Filter player based on name
|
||||
},
|
||||
"custom/menu": {
|
||||
"format": "",
|
||||
"tooltip": false,
|
||||
"on-click": "rofi -show drun",
|
||||
},
|
||||
"hyprland/workspaces": {
|
||||
"active-only": false,
|
||||
"format": "{icon}",
|
||||
"format-icons": {
|
||||
"urgent": "",
|
||||
"active": "",
|
||||
"default": "",
|
||||
"sort-by-number": true,
|
||||
},
|
||||
|
||||
"persistent-workspaces":{
|
||||
"1": [
|
||||
"DP-1"
|
||||
],
|
||||
"2": [
|
||||
"DP-1"
|
||||
],
|
||||
"3": [
|
||||
"DP-1"
|
||||
],
|
||||
"4": [
|
||||
"DP-1"
|
||||
],
|
||||
"5": [
|
||||
"DP-1"
|
||||
],
|
||||
"6": [
|
||||
"HDMI-A-1"
|
||||
],
|
||||
"7": [
|
||||
"HDMI-A-1"
|
||||
],
|
||||
"8": [
|
||||
"HDMI-A-1"
|
||||
],
|
||||
"9": [
|
||||
"HDMI-A-1"
|
||||
],
|
||||
}
|
||||
|
||||
},
|
||||
"custom/div": {
|
||||
"format": "/",
|
||||
"tooltip": false,
|
||||
|
||||
},
|
||||
"custom/playerctl": {
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
"max-length": 64,
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"on-click-middle": "playerctl play-pause",
|
||||
"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#FFFFFF'> </span>",
|
||||
"Paused": "<span foreground='#FFFFFF'> </span>"
|
||||
},
|
||||
},
|
||||
"custom/playerlabel": {
|
||||
"format": "<span>{}</span>",
|
||||
"return-type": "json",
|
||||
"max-length": 40,
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"on-click-middle": "playerctl play-pause",
|
||||
"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
},
|
||||
},
|
||||
"custom/name": {
|
||||
"format": "ダンテコンピュータ",
|
||||
"tooltip":false,
|
||||
},
|
||||
"custom/power": {
|
||||
"format": " ⏻ ",
|
||||
"tooltip": false,
|
||||
"on-click": "wlogout --protocol layer-shell"
|
||||
},
|
||||
|
||||
"custom/updates": {
|
||||
"exec": "~/.config/hypr/scripts/systemupdate.sh",
|
||||
"return-type": "json",
|
||||
"format": " {}",
|
||||
"on-click": "~/.config/hypr/scripts/systemupdate.sh up",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true,
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
69
.config/waybar/config-taskbar
Normal file
69
.config/waybar/config-taskbar
Normal file
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
"layer": "top", // Waybar at top layer
|
||||
"position": "bottom", // Waybar position (top|bottom|left|right)
|
||||
"height": 30, // Waybar height (to be removed for auto height)
|
||||
// "width": 1280, // Waybar width
|
||||
// "spacing": 2, // Gaps between modules (4px)
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["wlr/taskbar"],
|
||||
"modules-center": ["custom/playerctl", "custom/playerlabel"],
|
||||
"modules-right": ["custom/updates", "custom/power"],
|
||||
// Modules configuration
|
||||
"wlr/taskbar": {
|
||||
"format": "{icon}",
|
||||
"icon-size": 15,
|
||||
//"icon-theme": "Numix-Circle",
|
||||
"tooltip-format": "{title}",
|
||||
"on-click": "activate",
|
||||
"on-click-middle": "close"
|
||||
},
|
||||
"custom/power": {
|
||||
"format": " ⏻ ",
|
||||
"tooltip": false,
|
||||
"on-click": "wlogout --protocol layer-shell"
|
||||
},
|
||||
|
||||
"custom/updates": {
|
||||
"exec": "~/.config/hypr/scripts/systemupdate.sh",
|
||||
"return-type": "json",
|
||||
"format": " {}",
|
||||
"on-click": "~/.config/hypr/scripts/systemupdate.sh up",
|
||||
"interval": 86400, // once every day
|
||||
"tooltip": true,
|
||||
},
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"spacing": 10
|
||||
},
|
||||
|
||||
"custom/playerctl": {
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
"max-length": 64,
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"on-click-middle": "playerctl play-pause",
|
||||
"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#FFFFFF'> </span>",
|
||||
"Paused": "<span foreground='#FFFFFF'> </span>"
|
||||
},
|
||||
},
|
||||
"custom/playerlabel": {
|
||||
"format": "<span>{}</span>",
|
||||
"return-type": "json",
|
||||
"max-length": 40,
|
||||
"exec": "playerctl -a metadata --format '{\"text\": \"{{artist}} - {{markup_escape(title)}}\", \"tooltip\": \"{{playerName}} : {{markup_escape(title)}}\", \"alt\": \"{{status}}\", \"class\": \"{{status}}\"}' -F",
|
||||
"on-click-middle": "playerctl play-pause",
|
||||
"on-click": "playerctl previous",
|
||||
"on-click-right": "playerctl next",
|
||||
"format-icons": {
|
||||
"Playing": "<span foreground='#E5B9C6'> </span>",
|
||||
"Paused": "<span foreground='#928374'> </span>"
|
||||
},
|
||||
"clock": {
|
||||
"format": "<span foreground='#C6AAE8'> </span>{:%H:%M}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
},
|
||||
}
|
182
.config/waybar/style.css
Normal file
182
.config/waybar/style.css
Normal file
|
@ -0,0 +1,182 @@
|
|||
|
||||
* {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-family: 'FiraCode Nerd Font';
|
||||
font-size: 13px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background: transparent;
|
||||
/* border-bottom: 3px solid rgba(100, 114, 125, 0.5); */
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
||||
tooltip {
|
||||
background: rgba(114, 101, 138, 0.5);
|
||||
border: 1px solid rgba(100, 114, 125, 0.5);
|
||||
}
|
||||
tooltip label {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#workspaces{
|
||||
background-color: rgba(114, 101, 138, 0.5);
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
border-radius: 4px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 5px 5px;
|
||||
background: transparent;
|
||||
color: white;
|
||||
border-bottom: 3px solid transparent;
|
||||
margin-top: 3px;
|
||||
margin-left: 3px;
|
||||
border-radius: 4px;
|
||||
|
||||
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background: #64727D;
|
||||
border-bottom: 3px solid white;
|
||||
}
|
||||
|
||||
#workspaces button:hover{
|
||||
border-radius: 6px;
|
||||
background-color: rgba(114, 101, 138, 0.8);
|
||||
|
||||
}
|
||||
|
||||
#mode, #clock, #battery {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background: #64727D;
|
||||
border-bottom: 3px solid white;
|
||||
}
|
||||
|
||||
#clock, #idle_inhibitor, #network, #pulseaudio, #tray, #temperature{
|
||||
background-color: rgba(114, 101, 138, 0.5);
|
||||
padding: 2px 10px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
#custom-div{
|
||||
background-color: rgba(114, 101, 138, 0.5);
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
#clock {
|
||||
padding-left: 15px;
|
||||
padding-right: 0;
|
||||
margin-right: 5px;
|
||||
}
|
||||
#idle_inhibitor{
|
||||
background-color: rgba(0, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
#battery {
|
||||
background-color: #ffffff;
|
||||
color: black;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: white;
|
||||
background-color: #26A65B;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: #ffffff;
|
||||
color: black;
|
||||
}
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
background: #f53c3c;
|
||||
color: white;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: steps(12);
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
}
|
||||
#custom-menu{
|
||||
padding-left: 8px;
|
||||
padding-right: 11px;
|
||||
background-color: rgba(114, 101, 138, 0.5);
|
||||
border-radius: 4px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
margin-left: 5px;
|
||||
|
||||
}
|
||||
|
||||
|
||||
#tray{
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
border-radius: 4px;
|
||||
margin-right: 2px
|
||||
}
|
||||
|
||||
#clock{
|
||||
border-radius:0px 4px 4px 0px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
#custom-updates{
|
||||
padding-right: 10px;
|
||||
|
||||
|
||||
}
|
||||
#pulseaudio.muted{
|
||||
color: rgb(189, 5, 5);
|
||||
font-weight: bold;
|
||||
|
||||
}
|
||||
|
||||
#custom-power{
|
||||
margin-right: 5px;
|
||||
margin-left: 2px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
border-radius: 4px;
|
||||
padding-right: 2px;
|
||||
background-color: rgba(114, 101, 138, 0.5);
|
||||
}
|
||||
#network{
|
||||
border-radius: 4px 0px 0px 4px;
|
||||
}
|
||||
|
||||
#custom-playerctl{
|
||||
padding-top: 5px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 5px;
|
||||
background-color: rgba(114, 101, 138, 0.8);
|
||||
margin-bottom: 3px;
|
||||
margin-top: 3px;
|
||||
margin-right: 5px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
#custom-name{
|
||||
border: solid 2px;
|
||||
border-color: rgba(156, 120, 223, 1);
|
||||
border-radius: 2pc 0px 2pc 0px;
|
||||
padding-left: 20px;
|
||||
padding-right: 20px;
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue