Move all config files to config directory and add corresponding changes to bootstrap script
This commit is contained in:
71
config/waybar/config
Normal file
71
config/waybar/config
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"position": "top",
|
||||
"modules-left": ["sway/workspaces", "custom/player", "sway/mode"],
|
||||
"modules-right": [
|
||||
"custom/weather",
|
||||
"custom/pacman-updates",
|
||||
"pulseaudio",
|
||||
"sway/language",
|
||||
"network",
|
||||
"clock",
|
||||
"tray",
|
||||
"custom/power-menu"
|
||||
],
|
||||
|
||||
"sway/workspaces": {
|
||||
"all-output": true,
|
||||
"format": "{index}"
|
||||
},
|
||||
"custom/player": {
|
||||
"exec": "playerctl metadata -f '{{emoji(status)}} {{title}} by {{artist}}'",
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-click-right": "pamixer -t",
|
||||
"restart-interval": 0,
|
||||
"tooltip": false,
|
||||
"max-length": 40
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "--{}--"
|
||||
},
|
||||
|
||||
"custom/weather": {
|
||||
"exec": "curl 'https://wttr.in/?format=1'",
|
||||
"interval": 60,
|
||||
"on-click": "firefox https://wttr.in",
|
||||
"tooltip": false
|
||||
},
|
||||
"custom/pacman-updates": {
|
||||
"exec": "pacman -Qu | wc -l",
|
||||
"interval": 60,
|
||||
"return-type": "{}",
|
||||
"format": "{} updates",
|
||||
"on-click": "alacritty -e sudo pacman -Syu",
|
||||
"tooltip": false
|
||||
},
|
||||
"pulseaudio": {
|
||||
"tooltip": false,
|
||||
"format-muted": "MUTE"
|
||||
},
|
||||
"sway/language": {
|
||||
"tooltip": false
|
||||
},
|
||||
"network": {
|
||||
"format": "{icon}",
|
||||
"format-icons": [""],
|
||||
"format-disconnected": "No network",
|
||||
"tooltip": false
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%d %b %H:%M, %A}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 16,
|
||||
"spacing": 10
|
||||
},
|
||||
"custom/power-menu": {
|
||||
"format": "{icon}",
|
||||
"format-icons": [""],
|
||||
"on-click": "wlogout -b 4 -m 450 -c 30"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user