aboutsummaryrefslogblamecommitdiff
path: root/.config/waybar/config
blob: 2ee477c0c9ff3f8b8d440206a42d04bba6930add (plain) (tree)
1
2
3
4
5
6
7
8
9
 

                       
                         
                                 
                                 

                           
                             


                             

                                 
                            
                          
                      
                         
                              

                           

                      








                                          















                                                                   













                                                                                




                                                             







































                                                                                                                                                                                                               
                             

                  
























                                                                                        








                                         
                                         
                                                     




                                 

                      
                                              



                                 


                           
                                   






                                                     






                                 

                       












                                                                          




                                      



                                         
{
	"layer": "top",
	"height": 40,
	"modules-left": [
		"wlr/workspaces",
		"sway/workspaces"
	],
	"modules-center": [
		"wlr/window",
		"sway/window"
	],
	"modules-right": [
		"idle_inhibitor",
		"pulseaudio",
		"backlight",
		"battery",
		"cpu",
		"memory",
		"temperature",
		"keyboard",
		"clock",
		"tray"
	],
	"sway/workspaces": {
		"max-width": 100,
		"disable-scroll": false,
		"all-outputs": false,
		"format": "{name} {icon}",
		"format-icons": {
			"urgent": "",
			"focused": "",
			"default": ""
		},
		"on-click": "activate"
	},
	"wlr/workspaces": {
		"max-width": 100,
		"disable-scroll": false,
		"all-outputs": false,
		"format": "{name} {icon}",
		"format-icons": {
			"urgent": "",
			"focused": "",
			"default": ""
		},
		"on-scroll-up": "hyprctl dispatch workspace e+1",
		"on-scroll-down": "hyprctl dispatch workspace e-1",
		"on-click": "activate"
	},
	"keyboard-state": {
		"numlock": true,
		"capslock": true,
		"format": "{name} {icon} {state}",
		"format-icons": {
			"locked": "",
			"unlocked": ""
		}
	},
	"sway/keyboard": {
		"format": "{short} {variant}",
		"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
	},
	"wlr/mode": {
		"format": "<span style=\"italic\">{}</span>",
		"max-length": 50,
		"tooltip": true
	},
	"sway/mode": {
		"format": "<span style=\"italic\">{}</span>",
		"max-length": 50,
		"tooltip": true
	},
	"mpd": {
		"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
		"format-disconnected": "Disconnected ",
		"format-stopped": "{consumeIcon}{randomIcon}{repeatIcon}{singleIcon}Stopped ",
		"unknown-tag": "N/A",
		"interval": 2,
		"consume-icons": {
			"on": " "
		},
		"random-icons": {
			"off": "<span color=\"#f53c3c\"></span> ",
			"on": " "
		},
		"repeat-icons": {
			"on": " "
		},
		"single-icons": {
			"on": "1 "
		},
		"state-icons": {
			"paused": "",
			"playing": ""
		},
		"tooltip-format": "MPD (connected)",
		"tooltip-format-disconnected": "MPD (disconnected)"
	},
	"idle_inhibitor": {
		"format": "{icon}",
		"format-icons": {
			"activated": "",
			"deactivated": ""
		}
	},
	"tray": {
		"icon-size": 21,
		"spacing": 12
	},
	"clock": {
		"format": "{:%H:%M:%S}  ",
                "interval": 1,
		"format-alt": "{:%A, %B %d, %Y (%H:%M:%S)}  ",
		"locale": "nb_NO.UTF-8",
		"tooltip-format": "\n<small><tt>{calendar}</tt></small>",
		"calendar": {
			"mode": "month",
			"mode-mon-col": 3,
			"weeks-pos": "left",
			"on-scroll": 1,
			"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"
		}
	},
	"cpu": {
		"format": "{usage}% ",
		"tooltip": false
	},
	"memory": {
		"format": "{}% "
	},
	"temperature": {
		"critical-threshold": 80,
		"format": "{temperatureC}°C {icon}",
		"format-icons": [
			"",
			"",
			""
		]
	},
	"backlight": {
		"format": "{percent}% {icon}",
		"format-icons": [
			"",
			""
		]
	},
	"battery": {
		"states": {
			"good": 95,
			"warning": 30,
			"critical": 15
		},
		"format": "{capacity}% {icon}",
		"format-charging": "{capacity}% ",
		"format-plugged": "{capacity}% ",
		"format-alt": "{time} {icon}",
		"format-icons": [
			"",
			"",
			"",
			"",
			""
		]
	},
	"pulseaudio": {
		"format": "{volume}% {icon} {format_source}",
		"format-bluetooth": "{volume}% {icon} {format_source}",
		"format-bluetooth-muted": " {icon} {format_source}",
		"format-muted": " {format_source}",
		"format-source": "{volume}% ",
		"format-source-muted": "",
		"format-icons": {
			"headphone": "",
			"hands-free": "",
			"headset": "",
			"phone": "",
			"portable": "",
			"car": "",
			"default": [
				"",
				"",
				""
			]
		},
		"on-click": "pavucontrol"
	}
}