add new waybar config

im also doing my laptop thingies for uni!! i passed ;D
This commit is contained in:
Lucas Barbieri 2024-01-30 09:37:53 -03:00
parent 66bc632f98
commit e472ad085a
5 changed files with 309 additions and 123 deletions

View File

@ -6,7 +6,7 @@
"passtrough": false, "passtrough": false,
"gtk-layer-shell": true, "gtk-layer-shell": true,
"height": 0, "height": 0,
"output": "HDMI-A-1", /* "output": "DP-3", */
"modules-left": [ "modules-left": [
"hyprland/workspaces", "hyprland/workspaces",
@ -33,19 +33,19 @@
"on-click": "activate", "on-click": "activate",
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"1": "", "1": "1",
"2": "", "2": "2",
"3": "", "3": "3",
"4": "", "4": "4",
"5": "", "5": "5",
"6": "", "6": "6",
"7": "", "7": "7",
"8": "", "8": "8",
"9": "", "9": "9",
"10": "", "10": "10",
"11": "十一", "11": "11",
"12": "十二", "12": "12",
"13": "十三" "13": "13"
} }
}, },

View File

@ -0,0 +1,87 @@
{
"layer": "top",
"position": "top",
"mod": "dock",
"exclusive": true,
"passtrough": false,
"gtk-layer-shell": true,
"height": 0,
"output": "HDMI-A-1",
"modules-left": [
"hyprland/workspaces",
],
"modules-center": [
"hyprland/window"
],
"modules-right": [
"pulseaudio",
"clock",
"tray",
],
"hyprland/window": {
"format": "{}"
},
"hyprland/workspaces": {
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1",
"all-outputs": true,
"on-click": "activate",
"format": "{icon}",
"format-icons": {
"1": "一",
"2": "二",
"3": "三",
"4": "四",
"5": "五",
"6": "六",
"7": "七",
"8": "八",
"9": "九",
"10": "十",
"11": "十一",
"12": "十二",
"13": "十三"
}
},
"tray": {
"icon-size": 20,
"tooltip": false,
"spacing": 10
},
"clock": {
"format": "{:%a %b %d, %H:%M}",
"tooltip-format": "<big>{:%Y %B}</big>\n\n<tt><small>{calendar}</small></tt>"
},
"pulseaudio": {
"format": " {volume}%",
"tooltip": false,
"format-muted": " N/A",
"on-click": "pavucontrol &",
"scroll-step": 5
},
"network": {
"format-wifi": " {essid} {signalStrength}%",
"format-ethernet": " {signalStrength}%",
"format-disconnected": " N/A"
},
"battery": {
"states": {
"warning": 20,
"critical": 15
},
"format": "󰁹 {capacity}%",
"format-charging": "󰂄 {capacity}%",
"format-plugged": "󰂄 {capacity}%"
}
}

View File

@ -0,0 +1,50 @@
* {
border: none;
border-radius: 0;
padding: 0;
margin: 0;
font-size: 11px;
}
window#waybar {
background: #fff;
color: #292828;
}
#custom-logo {
font-size: 18px;
margin: 0;
margin-left: 7px;
margin-right: 12px;
padding: 0;
font-family: NotoSans Nerd Font Mono;
}
#workspaces button {
margin-left: 2px;
margin-right: 10px;
color: #292828;
}
#workspaces button:hover,
#workspaces button:active {
background-color: #fff;
color: #292828;
}
#workspaces button.focused {
background-color: #383737;
}
#language {
margin-right: 7px;
}
#battery {
margin-left: 7px;
margin-right: 3px;
}
#clock {
margin: 0px 6px;
}

View File

@ -1,129 +1,50 @@
* { * {
border: none; border: none;
border-radius: 0; border-radius: 0;
font-family: "Cartograph CF Nerd Font"; padding: 0;
font-weight: bold; margin: 0;
font-size: 16px; font-size: 11px;
min-height: 0;
margin: 1px;
} }
window#waybar { window#waybar {
background: rgba(75, 75, 75, 0); background: #292828;
color: #f1f1f1; color: #ffffff;
} }
tooltip { #custom-logo {
background: #595959; font-size: 18px;
border-radius: 0px; margin: 0;
margin-left: 7px;
margin-right: 12px;
padding: 0;
font-family: NotoSans Nerd Font Mono;
} }
#workspaces button { #workspaces button {
padding: 5px; margin-left: 2px;
color: #f1f1f1; margin-right: 10px;
color: #ffffff;
} }
#workspaces button.active { #workspaces button:hover,
background-color: #e16b53; #workspaces button:active {
border-radius: 10px; background-color: #292828;
color: #ffffff;
} }
#workspaces button.focused { #workspaces button.focused {
color: #f1f1f1; background-color: #383737;
background: #595959;
border-radius: 10px;
} }
#workspaces button.urgent { #language {
color: #f1f1f1; margin-right: 7px;
background: #595959;
border-radius: 10px;
} }
#workspaces button:hover { #battery {
background: #f1f1f1; margin-left: 7px;
color: #595959; margin-right: 3px;
border-radius: 10px;
}
#custom-language,
#custom-updates,
#custom-caffeine,
#custom-weather,
#window,
#clock,
#battery,
#pulseaudio,
#network,
#workspaces,
#tray,
#language,
#backlight {
background:
/*#F6821E*/
#444444;
padding: 0px 5px;
margin: 0px;
font-weight: 100;
}
#tray {
margin-right: 0px;
border-radius: 0px 10px 10px 0px;
}
#workspaces {
color: #f1f1f1;
margin-left: 0px;
padding-right: 0px;
padding-left: 5px;
border-radius: 10px;
}
#custom-caffeine {
color: #f1f1f1;
border-right: 0px;
margin-left: 10px;
}
#custom-language {
color: #f1f1f1;
border-left: 0px;
border-right: 0px;
}
#custom-updates {
color: #f1f1f1;
border-left: 0px;
border-right: 0px;
}
#window {
color: #f1f1f1;
background-color: #595959;
font-weight: 100;
border-radius: 10px;
margin-left: 0px;
margin-right: 60px;
} }
#clock { #clock {
color: #f1f1f1; margin: 0px 6px;
margin-left: 0px;
border-right: 0px;
padding: 0px 10px;
border-radius: 0px 10px 10px 0px;
}
#pulseaudio {
color: #f1f1f1;
border-left: 0px;
border-right: 0px;
padding-left: 10px;
border-radius: 10px 0px 0px 10px;
}
#pulseaudio.microphone {
color: #f1f1f1;
margin-right: 5px;
} }

View File

@ -0,0 +1,128 @@
* {
border: none;
border-radius: 0;
font-family: "Cartograph CF Nerd Font";
font-weight: bold;
font-size: 16px;
min-height: 0;
margin: 1px;
}
window#waybar {
background: rgba(75, 75, 75, 0);
color: #f1f1f1;
}
tooltip {
background: #595959;
border-radius: 0px;
}
#workspaces button {
padding: 5px;
color: #f1f1f1;
}
#workspaces button.active {
background-color: #e16b53;
border-radius: 10px;
}
#workspaces button.focused {
color: #f1f1f1;
background: #595959;
border-radius: 10px;
}
#workspaces button.urgent {
color: #f1f1f1;
background: #595959;
border-radius: 10px;
}
#workspaces button:hover {
background: #f1f1f1;
color: #595959;
border-radius: 10px;
}
#custom-language,
#custom-updates,
#custom-caffeine,
#custom-weather,
#window,
#clock,
#battery,
#pulseaudio,
#network,
#workspaces,
#tray,
#language,
#backlight {
background:
/*#F6821E*/
#444444;
padding: 0px 5px;
margin: 0px;
font-weight: 100;
}
#tray {
margin-right: 0px;
border-radius: 0px 10px 10px 0px;
}
#workspaces {
color: #f1f1f1;
margin-left: 0px;
padding-right: 0px;
padding-left: 5px;
border-radius: 10px;
}
#custom-caffeine {
color: #f1f1f1;
border-right: 0px;
margin-left: 10px;
}
#custom-language {
color: #f1f1f1;
border-left: 0px;
border-right: 0px;
}
#custom-updates {
color: #f1f1f1;
border-left: 0px;
border-right: 0px;
}
#window {
color: #f1f1f1;
background-color: #595959;
font-weight: 100;
border-radius: 10px;
margin-left: 0px;
margin-right: 60px;
}
#clock {
color: #f1f1f1;
margin-left: 0px;
border-right: 0px;
padding: 0px 10px;
}
#pulseaudio {
color: #f1f1f1;
border-left: 0px;
border-right: 0px;
padding-left: 10px;
border-radius: 10px 0px 0px 10px;
}
#pulseaudio.microphone {
color: #f1f1f1;
margin-right: 5px;
}