redid waybar in new style in tokyonight colors, updated sway and rofi configs with tokyonight colors too
This commit is contained in:
parent
664f0b6e1a
commit
c9ab46a674
4 changed files with 273 additions and 256 deletions
|
@ -1,144 +1,165 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
"modules-left":
|
||||
[
|
||||
"sway/workspaces",
|
||||
"sway/scratchpad",
|
||||
"sway/window"
|
||||
],
|
||||
"modules-center":
|
||||
[
|
||||
"clock"
|
||||
],
|
||||
[
|
||||
"custom/logo",
|
||||
"clock",
|
||||
"cpu",
|
||||
"disk",
|
||||
"memory",
|
||||
"temperature",
|
||||
"sway/window"
|
||||
],
|
||||
"modules-center":
|
||||
[
|
||||
"sway/workspaces"
|
||||
],
|
||||
"modules-right":
|
||||
[
|
||||
"tray",
|
||||
"custom/temp2",
|
||||
"custom/notification",
|
||||
"custom/pacman",
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"idle_inhibitor",
|
||||
"battery"
|
||||
],
|
||||
"spacing": 0,
|
||||
[
|
||||
"tray",
|
||||
"custom/notification",
|
||||
"custom/updates",
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
"network",
|
||||
"bluetooth",
|
||||
"idle_inhibitor",
|
||||
"battery"
|
||||
],
|
||||
"reload_style_on_change": true,
|
||||
|
||||
"clock":
|
||||
{
|
||||
"clock": {
|
||||
"interval": 60,
|
||||
"tooltip": true,
|
||||
"format": "{:%a %b %d %I:%M %p}",
|
||||
"tooltip-format": "<tt><small>{calendar}</small></tt>",
|
||||
"calendar":
|
||||
{
|
||||
"mode" : "year",
|
||||
"mode-mon-col" : 3,
|
||||
"weeks-pos" : "right",
|
||||
"on-scroll" : 1,
|
||||
"on-click-right" : "mode",
|
||||
"format" :
|
||||
{
|
||||
"months" : "<span color='#FFEAD3'><b>{}</b></span>",
|
||||
"days" : "<span color='#ECC6D9'><b>{}</b></span>",
|
||||
"weeks" : "<span color='#99FFDD'><b>W{}</b></span>",
|
||||
"weekdays" : "<span color='#FFCC66'><b>{}</b></span>",
|
||||
"today" : "<span color='#FF6699'><b><u>{}</u></b></span>"
|
||||
"format": "{:%a %b %e %I:%M}",
|
||||
"tooltip-format": "<tt>{calendar}</tt>",
|
||||
"calendar": {
|
||||
"mode" : "year",
|
||||
"mode-mon-col": 3,
|
||||
"weeks-pos" : "right",
|
||||
"on-scroll" : 1,
|
||||
"format": {
|
||||
"months" : "<span color='#ffc777'><b>{}</b></span>",
|
||||
"days" : "<span color='#c8d3f5'><b>{}</b></span>",
|
||||
"weeks" : "<span color='#4fd6be'><b>W{}</b></span>",
|
||||
"weekdays" : "<span color='#c099ff'><b>{}</b></span>",
|
||||
"today" : "<span color='#ff757f'><b>{}</b></span>"
|
||||
}
|
||||
},
|
||||
"actions":
|
||||
{
|
||||
"on-click-right" : "mode",
|
||||
"on-click-forward" : "tz_up",
|
||||
"on-click-backward" : "tz_down",
|
||||
"on-scroll-up" : "shift_up",
|
||||
"on-scroll-down" : "shift_down"
|
||||
}
|
||||
},
|
||||
|
||||
"custom/bg":
|
||||
{
|
||||
"format": "",
|
||||
"exec": "~/Scripts/background-changer.sh",
|
||||
"interval": 3600,
|
||||
"on-click": "exec",
|
||||
"tooltip": true,
|
||||
"tooltip-format": "Click to Randomize Wallpaper"
|
||||
"custom/logo": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
},
|
||||
|
||||
"battery":
|
||||
{
|
||||
"interval": 60,
|
||||
"states":
|
||||
{
|
||||
"disk": {
|
||||
"interval": 30,
|
||||
"format": " {percentage_used}%",
|
||||
"path": "/"
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"format": " {percentage}%"
|
||||
},
|
||||
|
||||
"temperature": {
|
||||
"format": " {temperatureC}°C",
|
||||
"format-critical": " {temperatureC}°C",
|
||||
"interval": 1,
|
||||
"critical-threshold": 80,
|
||||
"on-click": "foot top"
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "{icon}{usage}%",
|
||||
"min-length": 6,
|
||||
"max-length": 6,
|
||||
"format-icons": ["▁", "▂", "▃", "▄", "▅", "▆", "▇", "█"]
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"interval": 1,
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
"format-charging": "{capacity}% ",
|
||||
"format-plugged": "{capacity}% ",
|
||||
"format-alt": "{time} {icon}",
|
||||
"format-icons": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
]
|
||||
},
|
||||
|
||||
"sway/workspaces":
|
||||
{
|
||||
"disable-scroll": false,
|
||||
"all-outputs": true,
|
||||
"format": "{name}"
|
||||
"sway/workspaces": {
|
||||
"format": "{icon}",
|
||||
"on-click": "activate",
|
||||
"format-icons": {
|
||||
"persistent": "",
|
||||
"urgent": "",
|
||||
"default": ""
|
||||
},
|
||||
"sort-by-number": true,
|
||||
"persistent-workspaces": {
|
||||
"1": [],
|
||||
"2": [],
|
||||
"3": [],
|
||||
"4": [],
|
||||
"5": [] }
|
||||
},
|
||||
|
||||
"sway/window":
|
||||
{
|
||||
"format": "{}",
|
||||
"sway/window": {
|
||||
"format": "{app_id}",
|
||||
"max-length": 50,
|
||||
"icon": false
|
||||
},
|
||||
|
||||
"sway/scratchpad":
|
||||
{
|
||||
"format": "{icon} {count}",
|
||||
"show-empty": true,
|
||||
"format-icons": ["",""],
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{app}: {title}"
|
||||
},
|
||||
|
||||
"idle_inhibitor":
|
||||
{
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"format-icons":
|
||||
{
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"timeout": 30.5
|
||||
}
|
||||
},
|
||||
|
||||
"network":
|
||||
{
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "{signalStrength}% ",
|
||||
"format-ethernet": "{ifname} ",
|
||||
"format-disconnected": ""
|
||||
"network": {
|
||||
"format-wifi": " ",
|
||||
"format-ethernet": " ",
|
||||
"format-disconnected": " ",
|
||||
"tooltip-format": "{ipaddr}",
|
||||
"tooltip-format-wifi": "{essid} ({signalStrength}%) | {ipaddr}",
|
||||
"tooltip-format-ethernet": "{ifname} | {ipaddr}",
|
||||
"on-click": "bash /home/emge/Source/rofi-wifi-menu/rofi-wifi-menu.sh"
|
||||
},
|
||||
|
||||
"pulseaudio":
|
||||
{
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon} ",
|
||||
"format-muted": "",
|
||||
"format-icons":
|
||||
{
|
||||
"pulseaudio": {
|
||||
"format": "{icon}",
|
||||
"format-bluetooth": " ",
|
||||
"format-muted": " ",
|
||||
"format-icons": {
|
||||
"default": ["", ""]
|
||||
},
|
||||
"scroll-step": 1
|
||||
"justify": "center",
|
||||
"tooltip-format": "{icon} {volume}%"
|
||||
},
|
||||
|
||||
"backlight":
|
||||
{
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["","",""],
|
||||
"on-scroll-up": "brightnessctl set 1+",
|
||||
"on-scroll-down": "brightnessctl set 1-",
|
||||
"scroll-step": 0.5
|
||||
"backlight": {
|
||||
"format": "{icon}",
|
||||
"format-icons": [
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
""
|
||||
],
|
||||
"tooltip-format": "{percent}% {icon}"
|
||||
},
|
||||
|
||||
"custom/notification": {
|
||||
|
@ -162,29 +183,28 @@
|
|||
"escape": true
|
||||
},
|
||||
|
||||
"custom/pacman": {
|
||||
"format": "{icon}{}",
|
||||
"custom/updates": {
|
||||
"format": "{icon}",
|
||||
"return-type": "json",
|
||||
"format-icons": {
|
||||
"pending-updates": " ",
|
||||
"has-updates": " ",
|
||||
"updated": ""
|
||||
},
|
||||
"exec-if": "which waybar-updates",
|
||||
"exec": "waybar-updates"
|
||||
"exec-if": "which waybar-module-pacman-updates",
|
||||
"exec": "waybar-module-pacman-updates --interval-seconds 5 --network-interval-seconds 300"
|
||||
},
|
||||
|
||||
"temperature": {
|
||||
"thermal-zone": 0,
|
||||
"critical-threshold": 80,
|
||||
"formate-critical": "{temperatureC}°C",
|
||||
"format": "{temperatureC}°C"
|
||||
},
|
||||
|
||||
"custom/temp2": {
|
||||
"hwmon-path": ["/sys/class/hwmon/hwmon2/temp1_input", "/sys/class/thermal/thermal_zone0/temp"],
|
||||
"critical-threshold": 80,
|
||||
"formate-critical": "{temperatureC}°C",
|
||||
"format": "{temperatureC}°C"
|
||||
"bluetooth": {
|
||||
"format-on": "",
|
||||
"format-off": "",
|
||||
"format-disabled": "",
|
||||
"format-connection": "",
|
||||
"format-connected-battery": "{device_battery_percentage}% ",
|
||||
"tooltip-format": "{controller_alias}\t{controller_address}\n\n{num_connections} connected",
|
||||
"tooltip-format-connected": "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}",
|
||||
"tooltip-format-enumerate-connected": "{device_alias}\t{device_address}",
|
||||
"tooltip-format-enumerate-connected-battery": "{device_alias}\t{device_address}\t{device_battery_percentage}%",
|
||||
"on-click": "rofi-bluetooth"
|
||||
},
|
||||
|
||||
"tray": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue