Collapsable hardware information plus kb layout

This commit is contained in:
Stephan Raabe 2023-12-06 09:42:58 +01:00
parent 5847171e7a
commit 0c16122ae3
9 changed files with 81 additions and 108 deletions

View File

@ -203,6 +203,12 @@
"format-alt": "{:%Y-%m-%d}"
},
// System
"custom/system": {
"format": "",
"tooltip": false
},
// CPU
"cpu": {
"format": "/ C {usage}% ",
@ -218,11 +224,56 @@
// Harddisc space used
"disk": {
"interval": 30,
"format": " {percentage_used}% ",
"format": "D {percentage_used}% ",
"path": "/",
"on-click": "alacritty -e htop"
},
"hyprland/language": {
"format": "/ K {short}"
},
// Group Hardware
"group/hardware": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"custom/system",
"disk",
"cpu",
"memory",
"hyprland/language"
]
},
// Group Settings
"group/settings": {
"orientation": "inherit",
"drawer": {
"transition-duration": 300,
"children-class": "not-memory",
"transition-left-to-right": false
},
"modules": [
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper"
]
},
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/filemanager",
"custom/browser"
]
},
// Network
"network": {
"format": "{ifname}",

View File

@ -22,7 +22,6 @@
"margin-bottom": 0,
"layer": "top",
"height": 40,
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
@ -33,9 +32,6 @@
// Modules Left
"modules-left": [
"custom/appmenu",
"custom/wallpaper",
"custom/waybarthemes",
"custom/settings",
"wlr/taskbar",
"group/quicklinks",
"hyprland/window"
@ -52,29 +48,11 @@
"pulseaudio",
"bluetooth",
"battery",
"group/hardware",
"custom/cliphist",
"network",
"group/hardware",
"group/settings",
"custom/cliphist",
"custom/exit",
"clock"
],
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/filemanager",
"custom/browser"
]
},
// Group Hardware
"group/hardware": {
"orientation": "horizontal",
"modules": [
"disk",
"cpu",
"memory"
]
}
]
}

View File

@ -22,7 +22,6 @@
// "margin-bottom": 14,
"layer": "top",
"height": 40,
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
@ -33,9 +32,9 @@
// Modules Left
"modules-left": [
"custom/appmenu",
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper",
"custom/waybarthemes",
"custom/settings",
"wlr/taskbar",
"group/quicklinks",
"hyprland/window"
@ -52,29 +51,10 @@
"pulseaudio",
"bluetooth",
"battery",
"network",
"group/hardware",
"custom/cliphist",
"network",
"custom/exit",
"clock"
],
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/filemanager",
"custom/browser"
]
},
// Group Hardware
"group/hardware": {
"orientation": "horizontal",
"modules": [
"disk",
"cpu",
"memory"
]
}
]
}

View File

@ -162,6 +162,7 @@ window#waybar.empty #window {
#custom-wallpaper,
#custom-settings,
#custom-wallpaper,
#custom-system,
#custom-waybarthemes {
margin-right: 23px;
font-size: 20px;
@ -170,7 +171,7 @@ window#waybar.empty #window {
color: @iconcolor;
}
#custom-waybarthemes {
#custom-waybarthemes,#custom-system {
margin-right:15px;
}
@ -246,14 +247,14 @@ window#waybar.empty #window {
* Hardware Group
* ----------------------------------------------------- */
#disk,#memory,#cpu {
#disk,#memory,#cpu,#language {
margin:0px;
padding:0px;
font-size:16px;
color:@iconcolor;
}
#memory {
#language {
margin-right:10px;
}

View File

@ -22,7 +22,6 @@
"margin-bottom": 14,
"layer": "top",
"height": 16,
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
@ -33,9 +32,9 @@
// Modules Left
"modules-left": [
"custom/appmenu",
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper",
"custom/waybarthemes",
"custom/settings",
"wlr/taskbar",
"group/quicklinks",
"hyprland/window"
@ -52,29 +51,10 @@
"pulseaudio",
"bluetooth",
"battery",
"network",
"group/hardware",
"custom/cliphist",
"network",
"custom/exit",
"clock"
],
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/filemanager",
"custom/browser"
]
},
// Group Hardware
"group/hardware": {
"orientation": "horizontal",
"modules": [
"disk",
"cpu",
"memory"
]
}
]
}

View File

@ -22,7 +22,6 @@
// "margin-bottom": 14,
"layer": "top",
"height": 16,
"margin-left": 0,
"margin-right": 0,
"spacing": 0,
@ -33,9 +32,9 @@
// Modules Left
"modules-left": [
"custom/appmenu",
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper",
"custom/waybarthemes",
"custom/settings",
"wlr/taskbar",
"group/quicklinks",
"hyprland/window"
@ -52,29 +51,10 @@
"pulseaudio",
"bluetooth",
"battery",
"network",
"group/hardware",
"custom/cliphist",
"network",
"custom/exit",
"clock"
],
// Group Quicklinks
"group/quicklinks": {
"orientation": "horizontal",
"modules": [
"custom/filemanager",
"custom/browser"
]
},
// Group Hardware
"group/hardware": {
"orientation": "horizontal",
"modules": [
"disk",
"cpu",
"memory"
]
}
]
}

View File

@ -162,7 +162,8 @@ window#waybar.empty #window {
#custom-cliphist,
#custom-wallpaper,
#custom-settings,
#custom-wallpaper,
#custom-wallpaper,
#custom-system,
#custom-waybarthemes {
margin-right: 23px;
font-size: 20px;
@ -171,7 +172,7 @@ window#waybar.empty #window {
color: @iconcolor;
}
#custom-waybarthemes {
#custom-waybarthemes, #custom-system {
margin-right:15px;
}
@ -248,14 +249,14 @@ window#waybar.empty #window {
* Hardware Group
* ----------------------------------------------------- */
#disk,#memory,#cpu {
#disk,#memory,#cpu,#language {
margin:0px;
padding:0px;
font-size:16px;
color:@iconcolor;
}
#memory {
#language {
margin-right:10px;
}

View File

@ -31,6 +31,9 @@
// Modules Left
"modules-left": [
"custom/appmenu",
"custom/settings",
"custom/waybarthemes",
"custom/wallpaper",
// "wlr/taskbar",
"group/quicklinks",
"hyprland/window",
@ -50,7 +53,6 @@
"battery",
"network",
"group/hardware",
"group/settings",
"custom/cliphist",
"custom/exit",
"clock"

View File

@ -88,7 +88,7 @@
// Wallpaper
"custom/starter": {
"format": "THEME STARTER: Copy the starter folder",
"format": "THEME STARTER",
"tooltip": false
},