This commit is contained in:
Stephan Raabe 2023-09-01 10:25:57 +02:00
parent a083ff013f
commit 21d263bbea
4 changed files with 47 additions and 12 deletions

View File

@ -9,6 +9,7 @@
// ----------------------------------------------------- // -----------------------------------------------------
// //
{ {
// General Settings
"layer": "top", "layer": "top",
"height": 16, "height": 16,
"margin-top": 14, "margin-top": 14,
@ -16,26 +17,44 @@
"margin-left": 0, "margin-left": 0,
"margin-right": 0, "margin-right": 0,
"spacing": 0, "spacing": 0,
// Load Modules
"include": ["~/dotfiles/waybar/modules.json"], "include": ["~/dotfiles/waybar/modules.json"],
// Modules Left
"modules-left": [ "modules-left": [
"custom/appmenu", "custom/appmenu",
"wlr/taskbar", "wlr/taskbar",
"custom/brave", "group/quicklinks",
"hyprland/window" "hyprland/window"
], ],
// Modules Center
"modules-center": [ "modules-center": [
"wlr/workspaces" "wlr/workspaces"
], ],
// Modules Right
"modules-right": [ "modules-right": [
"custom/updates", "custom/updates",
"pulseaudio", "pulseaudio",
"bluetooth", "bluetooth",
"network",
"battery", "battery",
"group/hardware", "group/hardware",
"custom/exit", "custom/exit",
"network",
"clock" "clock"
], ],
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/brave",
]
},
// Group Hardware
"group/hardware": { "group/hardware": {
"orientation": "horizontal", "orientation": "horizontal",
"modules": [ "modules": [

View File

@ -26,7 +26,7 @@
// Taskbar // Taskbar
"wlr/taskbar": { "wlr/taskbar": {
"format": "{icon}", "format": "{icon}",
"icon-size": 16, "icon-size": 18,
"tooltip-format": "{title}", "tooltip-format": "{title}",
"on-click": "activate", "on-click": "activate",
"on-click-middle": "close", "on-click-middle": "close",

View File

@ -36,6 +36,7 @@
// Modules Right // Modules Right
"modules-right": [ "modules-right": [
"custom/youtube",
"custom/updates", "custom/updates",
"pulseaudio", "pulseaudio",
"bluetooth", "bluetooth",
@ -51,8 +52,7 @@
"orientation": "horizontal", "orientation": "horizontal",
"modules": [ "modules": [
"custom/chatgpt", "custom/chatgpt",
"custom/lookingglass", "custom/lookingglass"
"custom/youtube"
] ]
}, },

View File

@ -119,12 +119,12 @@ window#waybar.empty #window {
#taskbar { #taskbar {
background: transparent; background: transparent;
margin: 3px 15px 3px 0px; margin: 3px 15px 3px 0px;
padding: 3px 3px 1px 3px; padding: 2px 3px 1px 3px;
border-radius: 14px; border-radius: 14px;
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
opacity:0.9; opacity:0.8;
border:3px solid #FFFFFF; border: 3px solid #FFFFFF;
} }
#taskbar button { #taskbar button {
@ -144,6 +144,15 @@ window#waybar.empty #window {
margin-right: 0; margin-right: 0;
} }
/* -----------------------------------------------------
* Custom Quicklinks
* ----------------------------------------------------- */
#custom-brave, #custom-outlook, #custom-teams, #custom-chatgpt, #custom-calculator, #custom-lookingglass {
margin-right:15px;
font-size:20px;
}
/* ----------------------------------------------------- /* -----------------------------------------------------
* Custom Modules * Custom Modules
* ----------------------------------------------------- */ * ----------------------------------------------------- */
@ -159,16 +168,19 @@ window#waybar.empty #window {
border:3px solid #FFFFFF; border:3px solid #FFFFFF;
} }
#custom-brave, #custom-outlook, #custom-teams, #custom-chatgpt, #custom-calculator, #custom-lookingglass { /* -----------------------------------------------------
margin-right:15px; * Custom Exit
font-size:16px; * ----------------------------------------------------- */
}
#custom-exit { #custom-exit {
margin: 0px 20px 0px 0px; margin: 0px 20px 0px 0px;
font-size:20px; font-size:20px;
} }
/* -----------------------------------------------------
* Custom Updates
* ----------------------------------------------------- */
#custom-updates { #custom-updates {
background-color: #FFFFFF; background-color: #FFFFFF;
font-size: 16px; font-size: 16px;
@ -179,6 +191,10 @@ window#waybar.empty #window {
opacity:0.8; opacity:0.8;
} }
/* -----------------------------------------------------
* Custom Youtube
* ----------------------------------------------------- */
#custom-youtube { #custom-youtube {
background-color: #FFFFFF; background-color: #FFFFFF;
font-size: 16px; font-size: 16px;