{
    "position": "top", // Waybar position (top|bottom|left|right)
    "height": 28, // Waybar height (to be removed for auto height)
    "modules-left": ["custom/desktop-icon", "sway/workspaces"],
    "modules-right": ["custom/checkupdates", "custom/kernel", "custom/cpu", "custom/memory", "custom/getvolume", "custom/language", "custom/currentdate", "tray"],
    
    "sway/workspaces": {
         "all-outputs": false,
         "format": "{icon}",
         "icons-only": true,
         "format-icons": {
             "1: ": " ",
             "2:,": ",",
             "3: ": " ",
             "4: ": " ",
             "5: ": " ",
             "6: ": " ",
             "7: ": " ",
             "8: ": " ",
             "9: ": " ",
             "10: ": " ",
             "11: ": " ",
             "12: ": " ",
             //"urgent": " ",
             //"focused": " ",
             "default": " ",
         }
     },

    "custom/desktop-icon": {
	      "format": "{}",
	      "interval": 10,
	      "exec": "~/.config/waybar/scripts/show_desktop_icon.sh",
    },

    "custom/kernel": {
	      "format": "{}",
	      "interval": 10,
	      "exec": "~/.config/waybar/scripts/kernel_version.sh",
    },

    "custom/currentdate": {
	      "format": "{}",
	      "interval": 2,
	      "exec": "~/.config/waybar/scripts/current_date.sh",
    },

    "custom/getvolume": {
	      "format": "{}",
	      "interval": 2,
	      "exec": "~/.config/waybar/scripts/get_volume.sh",
    },

    "custom/language": {
	      "format": "{}",
	      "interval": 10,
	      "exec": "~/.config/waybar/scripts/get_lang.sh",
    },

    "custom/checkupdates": {
	      "format": "{}",
	      "interval": 1800,
	      "exec": "~/.config/waybar/scripts/checkUpdates.sh",
    },

    "custom/cpu": {
	      "format": "{}",
	      "interval": 2,
	      "exec": "~/.config/waybar/scripts/cpu_info.sh",
    },

    "custom/memory": {
	      "format": "{}",
	      "interval": 5,
	      "exec": "~/.config/waybar/scripts/mem_info.sh",
    },

    "custom/disk": {
	      "format": "{}",
	      "interval": 10,
	      "exec": "~/.config/waybar/scripts/disk_info.sh",
    },

    "tray": {
        // "icon-size": 21,
        "spacing": 5
    },

    "battery": {
        "states": {
            // "good": 95,
            "warning": 30,
            "critical": 15
        },
        "format": "{capacity}% {icon}",
        "format-charging": "{capacity}% ",
        "format-plugged": "{capacity}% ",
        "format-alt": "{time} {icon}",
        // "format-good": "", // An empty format will hide the module
        // "format-full": "",
        "format-icons": ["", "", "", "", ""]
    }
}
