Browse Source

tweak waybar

pull/2/head
JaKooLit 2 years ago
parent
commit
c3cf0e5cef
  1. 3
      config/waybar/configs/config-left
  2. 3
      config/waybar/configs/config-right
  3. 5
      config/waybar/configs/config-simple2
  4. 46
      config/waybar/modules

3
config/waybar/configs/config-left

@ -24,9 +24,10 @@
"modules-right": [ "modules-right": [
"tray", "tray",
"network",
"backlight#vertical", "backlight#vertical",
"pulseaudio#microphone_vertical", "pulseaudio#microphone_vertical",
"pulseaudio#vertical", "pulseaudio",
"custom/power_vertical", "custom/power_vertical",
"custom/menu", "custom/menu",
], ],

3
config/waybar/configs/config-right

@ -24,9 +24,10 @@
"modules-right": [ "modules-right": [
"tray", "tray",
"network",
"backlight#vertical", "backlight#vertical",
"pulseaudio#microphone_vertical", "pulseaudio#microphone_vertical",
"pulseaudio#vertical", "pulseaudio",
"custom/power_vertical", "custom/power_vertical",
"custom/menu", "custom/menu",
], ],

5
config/waybar/configs/config-simple2

@ -5,6 +5,7 @@
"width": 1050, "width": 1050,
"margin-bottom": 5, "margin-bottom": 5,
"margin-top": 5, "margin-top": 5,
"modules-left": [ "modules-left": [
"clock", "clock",
"custom/weather", "custom/weather",
@ -17,8 +18,8 @@
"modules-right": [ "modules-right": [
"custom/menu", "custom/menu",
"tray", "tray",
//"network", "network",
//"bluetooth", "bluetooth",
"backlight", "backlight",
"pulseaudio", "pulseaudio",
"battery", "battery",

46
config/waybar/modules

@ -215,22 +215,22 @@
"network": { "network": {
"format": "{ifname}", "format": "{ifname}",
"format-wifi": " {signalStrength}%", "format-wifi": "{icon}",
"format-ethernet": "󰈁 Wired", "format-ethernet": "󰌘",
"format-disconnected": "", //An empty format will hide the module. "format-disconnected": "󰌙",
"tooltip-format": "{ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}", "tooltip-format": "{ipaddr} {bandwidthUpBytes} {bandwidthDownBytes}",
"format-linked": "󰈁 {ifname} (No IP)", "format-linked": "󰈁 {ifname} (No IP)",
"tooltip-format-wifi": "{essid} ({signalStrength}%)", "tooltip-format-wifi": "{essid} {icon} {signalStrength}%",
"tooltip-format-ethernet": "{ifname} 󰈁", "tooltip-format-ethernet": "{ifname} 󰌘",
"tooltip-format-disconnected": "󰈂 Disconnected", "tooltip-format-disconnected": "󰌙 Disconnected",
"max-length": 50, "max-length": 50,
"format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"] "format-icons": ["󰤯","󰤟","󰤢","󰤥","󰤨"]
}, },
"pulseaudio": { "pulseaudio": {
"format": "{icon} {volume} %", "format": "{icon}",
"format-bluetooth": "{icon} {volume} %", "format-bluetooth": "{icon} {volume} %",
"format-muted": "", "format-muted": "󰖁",
"format-icons": { "format-icons": {
"headphone": "", "headphone": "",
"hands-free": "", "hands-free": "",
@ -251,7 +251,7 @@
"pulseaudio#microphone": { "pulseaudio#microphone": {
"format": "{format_source}", "format": "{format_source}",
"format-source": " {volume} %", "format-source": " {volume}%",
"format-source-muted": "", "format-source-muted": "",
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic", "on-click": "~/.config/hypr/scripts/Volume.sh --toggle-mic",
"on-click-right": "pavucontrol -t 4", "on-click-right": "pavucontrol -t 4",
@ -400,7 +400,10 @@
"align": 0, "align": 0,
"rotate": 0, "rotate": 0,
"format": "{icon}", "format": "{icon}",
"format-icons": ["󰃞", "󰃟", "󰃠"], "format-icons": ["󰛩", "󱩎", "󱩏", "󱩑", "󱩒", "󱩓", "󱩔", "󱩕", "󰛨"],
"tooltip-format": "{percent}%",
"icon-size": 10,
"on-update": "",
"icon-size": 10, "icon-size": 10,
"on-click": "", "on-click": "",
"on-click-middle": "", "on-click-middle": "",
@ -412,7 +415,7 @@
}, },
"clock#vertical": { "clock#vertical": {
"format": "{:\n%H\n%M\n\n \n%d\n%m\n%y}", "format": "{:\n%H\n%M\n%S\n\n \n%d\n%m\n%y}",
"interval": 1, "interval": 1,
//"format": "{:\n%I\n%M\n%p\n\n \n%d\n%m\n%y}", //"format": "{:\n%I\n%M\n%p\n\n \n%d\n%m\n%y}",
"tooltip": true, "tooltip": true,
@ -441,27 +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": "\n{icon}",
"format-bluetooth-muted": "\n󰖁",
"format-muted": "󰖁",
"format-icons": {
"headphone": "󰋋",
"hands-free": "󰋋",
"headset": "󰋋",
"phone": "",
"portable": "",
"car": "",
"default": ["", "", "󰕾", ""],
},
"on-click-right": "pavucontrol",
"on-click": "~/.config/hypr/scripts/Volume.sh --toggle",
"on-scroll-up": "~/.config/hypr/scripts/Volume.sh --inc",
"on-scroll-down": "~/.config/hypr/scripts/Volume.sh --dec",
"tooltip": true,
},
"pulseaudio#microphone_vertical": { "pulseaudio#microphone_vertical": {
"format": "{format_source}", "format": "{format_source}",
"format-source": "󰍬", "format-source": "󰍬",

Loading…
Cancel
Save