Browse Source

tweaked waybar TL and TR layouts

pull/6/head
JaKooLit 2 years ago
parent
commit
c0ed89e014
  1. 18
      config/waybar/configs/config-dual-TL
  2. 81
      config/waybar/configs/config-dual-TR
  3. 32
      config/waybar/modules
  4. 3
      config/waybar/style/style-default_alter.css

18
config/waybar/configs/config-dual-TL

@ -4,7 +4,7 @@
"include": "~/.config/waybar/modules", "include": "~/.config/waybar/modules",
"layer": "top", "layer": "top",
//"mode": "dock", //"mode": "dock",
"width": 950, "width": 1200,
"exclusive": true, "exclusive": true,
"passthrough": false, "passthrough": false,
"position": "top", "position": "top",
@ -16,25 +16,25 @@
"margin-right": 8, "margin-right": 8,
"modules-left": [ "modules-left": [
"custom/menu", "temperature",
"idle_inhibitor",
"cpu", "cpu",
"temperature",
"memory", "memory",
"disk", "disk",
], ],
"modules-center": [ "modules-center": [
//"hyprland/window", //"hyprland/window",
"custom/lock", "custom/lock",
"custom/weather", "custom/menu",
] , "idle_inhibitor",
],
"modules-right": [ "modules-right": [
//"network", //"network",
//"bluetooth", //"bluetooth",
//"battery", "custom/weather",
//"backlight", "battery",
"backlight",
"pulseaudio", "pulseaudio",
//"wireplumber", //"wireplumber",
"pulseaudio#microphone", "pulseaudio#microphone",

81
config/waybar/configs/config-dual-TR

@ -1,72 +1,73 @@
// ### TOP and RIGHT PANEL ## // // ### TOP and LEFT PANEL ## //
[{ [{
"include": "~/.config/waybar/modules", "include": "~/.config/waybar/modules",
"layer": "top", "layer": "top",
//"mode": "dock", //"mode": "dock",
"width": 1200,
"exclusive": true, "exclusive": true,
"passthrough": false, "passthrough": false,
"position": "top", "position": "top",
"spacing": 3, "spacing": 3,
"fixed-center": true, "fixed-center": true,
"ipc": true, "ipc": true,
"padding": 2,
"margin-top": 6, "margin-top": 6,
"margin-left": 8, "margin-left": 8,
"margin-right": 8, "margin-right": 8,
"modules-left": [ "modules-left": [
"cpu", "temperature",
"temperature", "cpu",
"memory", "memory",
], "disk",
],
"modules-center": [ "modules-center": [
"hyprland/window", //"hyprland/window",
"custom/weather", "custom/lock",
], "custom/menu",
"idle_inhibitor",
"modules-right": [
"network",
"bluetooth",
//"cava",
"battery",
"backlight",
"pulseaudio",
//"wireplumber",
"pulseaudio#microphone",
"keyboard-state",
"custom/power",
], ],
"modules-right": [
//"network",
//"bluetooth",
"custom/weather",
"battery",
"backlight",
"pulseaudio",
//"wireplumber",
"pulseaudio#microphone",
"keyboard-state",
"custom/power",
],
}, },
{ {
"include": "~/.config/waybar/modules", "include": "~/.config/waybar/modules",
"layer": "top", "layer": "top",
"position": "right", "position": "right",
"height": 650,
"margin-top": 8, "margin-top": 8,
"margin-bottom": 8, "margin-bottom": 8,
"margin-left": 1, "margin-left": 8,
"margin-right": 8, "margin-right": 3,
"spacing": 3, "spacing": 3,
"fixed-center": true, "fixed-center": true,
"ipc": true, "ipc": true,
"gtk-layer-shell": true, //"gtk-layer-shell": true,
"modules-left": [ "modules-left": [
"custom/menu", "hyprland/workspaces#2",
"custom/light_dark", ],
],
"modules-center": [ "modules-center": [
"hyprland/workspaces#2", "clock#vertical",
], ],
"modules-right": [ "modules-right": [
"idle_inhibitor", "tray",
"custom/lock", "custom/light_dark",
"tray", ],
"clock#vertical",
],
}] }]

32
config/waybar/modules

@ -229,7 +229,7 @@
"pulseaudio": { "pulseaudio": {
"format": "{icon}", "format": "{icon}",
"format-bluetooth": "{icon} {volume}%", "format-bluetooth": "{icon} {volume} %",
"format-muted": "󰖁", "format-muted": "󰖁",
"format-icons": { "format-icons": {
"headphone": "", "headphone": "",
@ -263,8 +263,8 @@
"temperature": { "temperature": {
"interval": 10, "interval": 10,
"tooltip": false, "tooltip": false,
"hwmon-path": "/sys/class/hwmon/hwmon5/temp1_input", //"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
//"thermal-zone": 1, "thermal-zone": 0,
"critical-threshold": 82, "critical-threshold": 82,
"format-critical": "{temperatureC}°C {icon}", "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}",
@ -444,28 +444,6 @@
"on-click-right": "foot --title btop sh -c 'btop'", "on-click-right": "foot --title btop sh -c 'btop'",
}, },
"pulseaudio#vertical": {
"format": "{icon}",
"format-bluetooth": "{icon} ",
"format-muted": "󰖁",
"format-icons": {
"headphone": "",
"hands-free": "",
"headset": "",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", "󰕾", ""],
"ignored-sinks": ["Easy Effects Sink"],
},
"scroll-step": 5.0,
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle",
"on-click-right": "pavucontrol -t 3",
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"smooth-scrolling-threshold": 1,
},
"pulseaudio#microphone_vertical": { "pulseaudio#microphone_vertical": {
"format": "{format_source}", "format": "{format_source}",
"format-source": "󰍬", "format-source": "󰍬",
@ -482,8 +460,8 @@
"temperature#vertical": { "temperature#vertical": {
"interval": 10, "interval": 10,
"tooltip": true, "tooltip": true,
//"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", "hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
"thermal-zone": 0, //"thermal-zone": 0,
"critical-threshold": 80, "critical-threshold": 80,
"format-critical": "{icon}\n{temperatureC}°C", "format-critical": "{icon}\n{temperatureC}°C",
"format": " {icon}", "format": " {icon}",

3
config/waybar/style/style-default_alter.css

@ -238,7 +238,6 @@ label:focus {
color: @alert; color: @alert;
} }
#custom-light_dark,
#pulseaudio { #pulseaudio {
color: @accent4; color: @accent4;
} }
@ -278,7 +277,6 @@ label:focus {
color: #66cc99; color: #66cc99;
} }
#idle_inhibitor,
#custom-lock { #custom-lock {
color: #ffa000; color: #ffa000;
} }
@ -297,6 +295,7 @@ label:focus {
} }
#idle_inhibitor { #idle_inhibitor {
color: #f9e2af;
/*background-color: #2d3436;*/ /*background-color: #2d3436;*/
} }

Loading…
Cancel
Save