ktns-dotfiles-2025/waybar/config.jsonc

354 lines
22 KiB
Plaintext
Raw Permalink Normal View History

2025-08-30 21:25:06 +00:00
{ "spacing": 0,
"reload_style_on_change": true,
"modules-left":[
"keyboard-state",
"sway/workspaces",
"mpris"
],
"modules-center":[
"custom/left-cap-lighter",
"clock",
"custom/phase",
"custom/clock",
"custom/right-cap-lighter"
],
"modules-right":[
"custom/power-cap#1",
"group/audio",
"group/power",
"network",
"custom/wl-gammarelay-applet",
"backlight",
"battery"
],
//############################################################################
"keyboard-state": {
"numlock": false,
"capslock": true,
"format": "{icon}",
"expand-right": true,
"format-icons": {
"locked": "  ",
"unlocked": ""
}
},
//////////////////////////////
"sway/workspaces": {
"sort-by-number": true,
"disable-scroll": true,
"format": "{name}",
},
//////////////////////////////
"mpris": {
"format-paused": "{status_icon}",
"format": "❪{artist} - {title}❫",
// "format": "❪ {artist} - {title} - {album}❫",
"artist-len": 35,
"title-len": 35,
// "album-len": 23,
"status-icons": {
"paused": " <span background='#6c7086' color='#11111b'>  </span>",
},
"ignored-players": ["firefox"]
},
//############################################################################
"custom/power-cap#2": {
"format": "<span color='#cba6f7' background='#1e1e2e' size='10pt'> 󰤁 </span><span color='#cba6f7' background='#1e1e2e' size='17pt'></span>",
"tooltip": false
},
"custom/left-cap-lighter": {
"format": "",
"tooltip": false
},
"custom/right-cap-lighter": {
"format": "",
"tooltip": false
},
//############################################################################
"custom/clock": {
"exec": "echo ' '$(TZ=$(TZ) date +%l:%M%p)''",
"on-click": "notify-send -w \"$(date +%R:%S%n)\" \"epoch:$(date +%s)\"",
"interval": 60,
"tooltip": false
},
//////////////////////////////
"custom/phase": {
"exec": "echo ''$(moon-phases -t)''",
"on-click": "alacritty --hold --class moon -e pyphoon",
"on-click-right": "alacritty --hold --class moon -e figlet -cf smpoison $(moon-phases -z)",
"tooltip": false,
"interval": 1000
},
//////////////////////////////
"clock": {
"format": "{:%a %b %D}",
"on-click":"$(zenity --calendar)",
"tooltip-format": "<small><tt>{calendar}</tt></small>",
"calendar": {
"mode": "month",
"on-scroll": 1,
"format": {
"months": "<span color='#ffead3'><b>{}</b></span>",
"days": "<span color='#ecc6d9'><b>{}</b></span>",
"weekdays":"<span color='#ffcc66'><b>{}</b></span>",
"today": "<span color='#ff6699'><b><u>{}</u></b></span>"
}
},
"actions": {
"on-scroll-up": "shift_up",
"on-scroll-down": "shift_down"
}
},
//############################################################################
"network": {
"format-wifi": "{bandwidthTotalBytes:>5} {icon}",
"format-icons":["󰤯", "󰤟", "󰤟", "󰤟", "󰤢", "󰤢", "󰤥", "󰤨"],
"format-ethernet": "{bandwidthTotalBytes:>5} 󰈀",
"format-disconnected": " ⚠ ",
"interval": 10,
"tooltip-format":
"<big>{essid} ({signalStrength}%)</big>\n<small>{ipaddr}/{cidr}</small> Speed: {bandwidthTotalOctets}",
"on-click": "alacritty --class wifis,wifis -e wavemon",
},
//////////////////////////////
"custom/wl-gammarelay-applet": {
"format":"{:5}",
// "format":"  ",
"tooltip-format": "Left click: Working screen. \nRight click: Minimum. \n\nMiddle Click: Manual Sliders. \nScroll: Temperature." ,
// "exec": "exec wl-gammarelay-rs watch ┋{t}┋{g}󱃮┋",
"exec": "tail -f -n1 ~/.cache/gammarelayoutput.log",
"on-click-middle": "wl-gammarelay-applet -c -b -i -p 10 -y 300",
"on-click": "sunsetter -w",
"on-click-right": "sunsetter -b",
// "on-click": "basuctl --user -- set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 5800 & basuctl --user -- set-property rs.wl-gammarelay / rs.wl.gammarelay Gamma d 1 & brillo -S 100",
// "on-click-right": "basuctl --user -- set-property rs.wl-gammarelay / rs.wl.gammarelay Temperature q 3200 & basuctl --user -- set-property rs.wl-gammarelay / rs.wl.gammarelay Gamma d 1.6 & brillo -S 10",
"on-scroll-up": "basuctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n +50",
"on-scroll-down": "basuctl --user -- call rs.wl-gammarelay / rs.wl.gammarelay UpdateTemperature n -50"
},
"backlight": {
"format": "{percent:3}%",
"tooltip": false,
"on-scroll-up": "brillo -A 0.01",
"on-scroll-down": "brillo -U 0.01",
},
//############################################################################
"group/power": {
"orientation": "horizontal",
"drawer": {
"transition-duration": 1400,
"children-class": "not-power",
"click-to-reveal": true,
},
"modules": [
"custom/power-cap#2",
"custom/reboot",
"custom/poweroff",
"custom/lock",
"custom/hibernate"
]
//////////////////////////////
},
"custom/hibernate": {
"format":"󰒲 ",
"tooltip-format": "Hibernate",
"on-click": "sudo ZZZ",
},
"custom/lock": {
"format":" ",
"tooltip-format": "Run Swaylock",
"on-click": "sleep 1 && swww kill && swaylock -e && sun-init",
},
"custom/poweroff": {
"format":"󰐥 ",
"tooltip-format": "Shut Down",
"on-click": "sudo -EA poweroff",
},
"custom/reboot": {
"format":"󰜉 ",
"tooltip-format": "Reboot",
"on-click": "sudo -EA reboot",
},
//############################################################################
"custom/power-cap#1": {
"format": " ",
"tooltip": false
},
"group/audio": {
"orientation": "horizontal",
"drawer": {
"children-class": "hid",
"transition-duration": 120,
"transition-left-to-right":true,
},
"modules": [
"pulseaudio#1",
"pulseaudio#2"
]
},
"pulseaudio#1": {
"format": "{volume:4}% {icon}",
"tooltip": false,
"format-muted": "<span color='#f38ba8'>muted 󰝟 </span>",
"format-icons": {
"default": [" "],
"headphone": ["󱡬"],
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
},
},
"pulseaudio#2": {
"format": "{icon}",
"format-icons": {
"default": [
"<span background='#a6e3a1'></span>░░░░░░░░░░░░░░░░ ",
"<span color='#a6e3a1'></span>░░░░░░░░░░░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▒</span>░░░░░░░░░░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▒</span>░░░░░░░░░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▒</span>░░░░░░░░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▒</span>░░░░░░░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▒</span>░░░░░░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▒</span>░░░░░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▒</span>░░░░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▒</span>░░░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▓▒</span>░░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▓▓▒</span>░░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▓▓▓▒</span>░░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▓▓▓▓▒</span>░░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▓▓▓▓▓▒</span>░░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▓▓▓▓▓▓▒</span>░░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒</span>░ ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒</span> ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓</span> ",
"<span color='#a6e3a1'></span><span background='#a6e3a1'>▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓</span><span color='#a6e3a1'> </span>",
],
},
"on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
"scroll-step": 3,
},
//
// "pulseaudio": {
// "format": "{icon}",
// // "format": "{volume:3}% {icon:37} ",
// "tooltip": false,
// "format-muted": "<span color='#f38ba8'>󰝟 ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░</span>",
// "format-icons": {
// "default": [
// " ▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓",
// ],
// "headphone": [
// " ▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░",
// " ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓",
// ]
// },
// "on-click": "pactl set-sink-mute @DEFAULT_SINK@ toggle",
// "scroll-step": 1,
// },
// // 
//############################################################################
"battery": {
"states": {
"good": 83,
"warning": 25,
"critical": 11
},
"format": "{capacity}% {icon}",
"format-full": "{icon}",
"format-charging": "{icon}",
"format-plugged": "",
"format-good": "{icon}",
"format-alt": "{time}",
"format-icons": ["󱊡", "󱊢", "󱊢", "󱊢", "󱊣", "󱊣"],
"tooltip-format": "{health}% Health.\n{capacity}% Charged.\n{timeTo}.\n{power} Watts."
}
}