added waybar config files
This commit is contained in:
parent
dde4e08c8d
commit
9ddd144474
2 changed files with 261 additions and 0 deletions
136
.config/waybar/config
Normal file
136
.config/waybar/config
Normal file
|
@ -0,0 +1,136 @@
|
|||
{
|
||||
"layer": "top",
|
||||
"modules-left": ["sway/workspaces","sway/scratchpad","sway/window"],
|
||||
"modules-center": ["clock"],
|
||||
"modules-right": ["backlight","pulseaudio","network","idle_inhibitor","battery"],
|
||||
"spacing": 0,
|
||||
|
||||
"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>"
|
||||
}
|
||||
},
|
||||
"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/pacman":
|
||||
{
|
||||
"format": "{} ",
|
||||
"interval": 3600,
|
||||
"exec": "checkupdates | wc -l",
|
||||
"exec-if": "exit 0"
|
||||
},
|
||||
|
||||
"battery":
|
||||
{
|
||||
"interval": 60,
|
||||
"states":
|
||||
{
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
"format": "{capacity}% {icon}",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
|
||||
"sway/workspaces":
|
||||
{
|
||||
"disable-scroll": false,
|
||||
"all-outputs": true,
|
||||
"format": "{name}"
|
||||
},
|
||||
|
||||
"sway/window":
|
||||
{
|
||||
"format": "{}",
|
||||
"max-length": 50,
|
||||
"icon": false
|
||||
},
|
||||
|
||||
"sway/scratchpad":
|
||||
{
|
||||
"format": "{icon} {count}",
|
||||
"show-empty": true,
|
||||
"format-icons": ["",""],
|
||||
"tooltip": true,
|
||||
"tooltip-format": "{app}: {title}"
|
||||
},
|
||||
|
||||
"idle_inhibitor":
|
||||
{
|
||||
"format": "{icon}",
|
||||
"format-icons":
|
||||
{
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
},
|
||||
"timeout": 30.5
|
||||
},
|
||||
|
||||
"network":
|
||||
{
|
||||
"format": "{ifname}",
|
||||
"format-wifi": "{signalStrength}% ",
|
||||
"format-ethernet": "{ifname} ",
|
||||
"format-disconnected": ""
|
||||
},
|
||||
|
||||
"pulseaudio":
|
||||
{
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon} ",
|
||||
"format-muted": "",
|
||||
"format-icons":
|
||||
{
|
||||
"default": ["", ""]
|
||||
},
|
||||
"scroll-step": 1
|
||||
},
|
||||
|
||||
"backlight":
|
||||
{
|
||||
"format": "{percent}% {icon}",
|
||||
"format-icons": ["","",""],
|
||||
"on-scroll-up": "brightnessctl set 1+",
|
||||
"on-scroll-down": "brightnessctl set 1-",
|
||||
"scroll-step": 0.5
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
# vi: ft=json
|
Loading…
Add table
Add a link
Reference in a new issue