dotfiles/waybar/config
Lihao Wang c665a9f1e4 On branch master
Initial commit

Changes to be committed:
	new file:   alacritty/alacritty.toml
	new file:   alacritty/themes/LICENSE
	new file:   alacritty/themes/README.md
	new file:   alacritty/themes/images/Cobalt2.png
	new file:   alacritty/themes/images/afterglow.png
	new file:   alacritty/themes/images/alabaster.png
	new file:   alacritty/themes/images/alabaster_dark.png
	new file:   alacritty/themes/images/alacritty_0_12.png
	new file:   alacritty/themes/images/argonaut.png
	new file:   alacritty/themes/images/ashes_dark.png
	new file:   alacritty/themes/images/ashes_light.png
	new file:   alacritty/themes/images/atom_one_light.png
	new file:   alacritty/themes/images/ayu_dark.png
	new file:   alacritty/themes/images/ayu_light.png
	new file:   alacritty/themes/images/baitong.png
	new file:   alacritty/themes/images/base16_default_dark.png
	new file:   alacritty/themes/images/blood_moon.png
	new file:   alacritty/themes/images/bluish.png
	new file:   alacritty/themes/images/breeze.png
	new file:   alacritty/themes/images/campbell.png
	new file:   alacritty/themes/images/carbonfox.png
	new file:   alacritty/themes/images/catppuccin_frappe.png
	new file:   alacritty/themes/images/catppuccin_latte.png
	new file:   alacritty/themes/images/catppuccin_macchiato.png
	new file:   alacritty/themes/images/catppuccin_mocha.png
	new file:   alacritty/themes/images/challenger_deep.png
	new file:   alacritty/themes/images/citylights.png
	new file:   alacritty/themes/images/cyber_punk_neon.png
	new file:   alacritty/themes/images/darcula.png
	new file:   alacritty/themes/images/dark_pastels.png
	new file:   alacritty/themes/images/deep_space.png
	new file:   alacritty/themes/images/doom_one.png
	new file:   alacritty/themes/images/dracula.png
	new file:   alacritty/themes/images/everforest_dark.png
	new file:   alacritty/themes/images/everforest_light.png
	new file:   alacritty/themes/images/falcon.png
	new file:   alacritty/themes/images/flat_remix.png
	new file:   alacritty/themes/images/flexoki.png
	new file:   alacritty/themes/images/github_dark.png
	new file:   alacritty/themes/images/github_dark_colorblind.png
	new file:   alacritty/themes/images/github_dark_default.png
	new file:   alacritty/themes/images/github_dark_dimmed.png
	new file:   alacritty/themes/images/github_dark_high_contrast.png
	new file:   alacritty/themes/images/github_dark_tritanopia.png
	new file:   alacritty/themes/images/github_light.png
	new file:   alacritty/themes/images/github_light_colorblind.png
	new file:   alacritty/themes/images/github_light_default.png
	new file:   alacritty/themes/images/github_light_high_contrast.png
	new file:   alacritty/themes/images/github_light_tritanopia.png
	new file:   alacritty/themes/images/gnome_terminal.png
	new file:   alacritty/themes/images/gotham.png
	new file:   alacritty/themes/images/gruvbox_dark.png
	new file:   alacritty/themes/images/gruvbox_light.png
	new file:   alacritty/themes/images/gruvbox_material_medium_dark.png
	new file:   alacritty/themes/images/gruvbox_material_medium_light.png
	new file:   alacritty/themes/images/hardhacker.png
	new file:   alacritty/themes/images/high_contrast.png
	new file:   alacritty/themes/images/horizon-dark.png
	new file:   alacritty/themes/images/hyper.png
	new file:   alacritty/themes/images/inferno.png
	new file:   alacritty/themes/images/iris.png
	new file:   alacritty/themes/images/iterm.png
	new file:   alacritty/themes/images/kanagawa_dragon.png
	new file:   alacritty/themes/images/kanagawa_wave.png
	new file:   alacritty/themes/images/konsole_linux.png
	new file:   alacritty/themes/images/low_contrast.png
	new file:   alacritty/themes/images/mariana.png
	new file:   alacritty/themes/images/marine_dark.png
	new file:   alacritty/themes/images/material_theme.png
	new file:   alacritty/themes/images/material_theme_mod.png
	new file:   alacritty/themes/images/meliora.png
	new file:   alacritty/themes/images/midnight-haze.png
	new file:   alacritty/themes/images/monokai-charcoal.png
	new file:   alacritty/themes/images/monokai_pro.png
	new file:   alacritty/themes/images/moonlight_ii_vscode.png
	new file:   alacritty/themes/images/msx.png
	new file:   alacritty/themes/images/night_owlish_light.png
	new file:   alacritty/themes/images/nightfox.png
	new file:   alacritty/themes/images/noctis-lux.png
	new file:   alacritty/themes/images/nord.png
	new file:   alacritty/themes/images/nord_light.png
	new file:   alacritty/themes/images/nordic.png
	new file:   alacritty/themes/images/oceanic_next.png
	new file:   alacritty/themes/images/omni.png
	new file:   alacritty/themes/images/one_dark.png
	new file:   alacritty/themes/images/palenight.png
	new file:   alacritty/themes/images/papercolor_dark.png
	new file:   alacritty/themes/images/papercolor_light.png
	new file:   alacritty/themes/images/papertheme.png
	new file:   alacritty/themes/images/pencil_dark.png
	new file:   alacritty/themes/images/pencil_light.png
	new file:   alacritty/themes/images/rainbow.png
	new file:   alacritty/themes/images/remedy_dark.png
	new file:   alacritty/themes/images/rose-pine-dawn.png
	new file:   alacritty/themes/images/rose-pine-moon.png
	new file:   alacritty/themes/images/rose-pine.png
	new file:   alacritty/themes/images/seashells.png
	new file:   alacritty/themes/images/smoooooth.png
	new file:   alacritty/themes/images/snazzy.png
	new file:   alacritty/themes/images/solarized_dark.png
	new file:   alacritty/themes/images/solarized_light.png
	new file:   alacritty/themes/images/taerminal.png
	new file:   alacritty/themes/images/tango_dark.png
	new file:   alacritty/themes/images/tender.png
	new file:   alacritty/themes/images/terminal_app.png
	new file:   alacritty/themes/images/thelovelace.png
	new file:   alacritty/themes/images/tokyo-night-storm.png
	new file:   alacritty/themes/images/tokyo-night.png
	new file:   alacritty/themes/images/tomorrow_night.png
	new file:   alacritty/themes/images/tomorrow_night_bright.png
	new file:   alacritty/themes/images/ubuntu.png
	new file:   alacritty/themes/images/wombat.png
	new file:   alacritty/themes/images/xterm.png
	new file:   alacritty/themes/images/zenburn.png
	new file:   alacritty/themes/print_colors.sh
	new file:   alacritty/themes/themes/Cobalt2.toml
	new file:   alacritty/themes/themes/Mariana.toml
	new file:   alacritty/themes/themes/afterglow.toml
	new file:   alacritty/themes/themes/alabaster.toml
	new file:   alacritty/themes/themes/alabaster_dark.toml
	new file:   alacritty/themes/themes/alacritty_0_12.toml
	new file:   alacritty/themes/themes/argonaut.toml
	new file:   alacritty/themes/themes/ashes_dark.toml
	new file:   alacritty/themes/themes/ashes_light.toml
	new file:   alacritty/themes/themes/atom_one_light.toml
	new file:   alacritty/themes/themes/ayu_dark.toml
	new file:   alacritty/themes/themes/ayu_light.toml
	new file:   alacritty/themes/themes/baitong.toml
	new file:   alacritty/themes/themes/base16_default_dark.toml
	new file:   alacritty/themes/themes/blood_moon.toml
	new file:   alacritty/themes/themes/bluish.toml
	new file:   alacritty/themes/themes/breeze.toml
	new file:   alacritty/themes/themes/campbell.toml
	new file:   alacritty/themes/themes/carbonfox.toml
	new file:   alacritty/themes/themes/catppuccin.toml
	new file:   alacritty/themes/themes/catppuccin_frappe.toml
	new file:   alacritty/themes/themes/catppuccin_latte.toml
	new file:   alacritty/themes/themes/catppuccin_macchiato.toml
	new file:   alacritty/themes/themes/catppuccin_mocha.toml
	new file:   alacritty/themes/themes/challenger_deep.toml
	new file:   alacritty/themes/themes/citylights.toml
	new file:   alacritty/themes/themes/cyber_punk_neon.toml
	new file:   alacritty/themes/themes/darcula.toml
	new file:   alacritty/themes/themes/dark_pastels.toml
	new file:   alacritty/themes/themes/deep_space.toml
	new file:   alacritty/themes/themes/doom_one.toml
	new file:   alacritty/themes/themes/dracula.toml
	new file:   alacritty/themes/themes/everforest_dark.toml
	new file:   alacritty/themes/themes/everforest_light.toml
	new file:   alacritty/themes/themes/falcon.toml
	new file:   alacritty/themes/themes/flat_remix.toml
	new file:   alacritty/themes/themes/flexoki.toml
	new file:   alacritty/themes/themes/github_dark.toml
	new file:   alacritty/themes/themes/github_dark_colorblind.toml
	new file:   alacritty/themes/themes/github_dark_default.toml
	new file:   alacritty/themes/themes/github_dark_dimmed.toml
	new file:   alacritty/themes/themes/github_dark_high_contrast.toml
	new file:   alacritty/themes/themes/github_dark_tritanopia.toml
	new file:   alacritty/themes/themes/github_light.toml
	new file:   alacritty/themes/themes/github_light_colorblind.toml
	new file:   alacritty/themes/themes/github_light_default.toml
	new file:   alacritty/themes/themes/github_light_high_contrast.toml
	new file:   alacritty/themes/themes/github_light_tritanopia.toml
	new file:   alacritty/themes/themes/gnome_terminal.toml
	new file:   alacritty/themes/themes/gotham.toml
	new file:   alacritty/themes/themes/gruvbox_dark.toml
	new file:   alacritty/themes/themes/gruvbox_light.toml
	new file:   alacritty/themes/themes/gruvbox_material.toml
	new file:   alacritty/themes/themes/gruvbox_material_medium_dark.toml
	new file:   alacritty/themes/themes/gruvbox_material_medium_light.toml
	new file:   alacritty/themes/themes/hardhacker.toml
	new file:   alacritty/themes/themes/high_contrast.toml
	new file:   alacritty/themes/themes/horizon-dark.toml
	new file:   alacritty/themes/themes/hyper.toml
	new file:   alacritty/themes/themes/inferno.toml
	new file:   alacritty/themes/themes/iris.toml
	new file:   alacritty/themes/themes/iterm.toml
	new file:   alacritty/themes/themes/kanagawa_dragon.toml
	new file:   alacritty/themes/themes/kanagawa_wave.toml
	new file:   alacritty/themes/themes/konsole_linux.toml
	new file:   alacritty/themes/themes/low_contrast.toml
	new file:   alacritty/themes/themes/marine_dark.toml
	new file:   alacritty/themes/themes/material_theme.toml
	new file:   alacritty/themes/themes/material_theme_mod.toml
	new file:   alacritty/themes/themes/meliora.toml
	new file:   alacritty/themes/themes/midnight-haze.toml
	new file:   alacritty/themes/themes/monokai_charcoal.toml
	new file:   alacritty/themes/themes/monokai_pro.toml
	new file:   alacritty/themes/themes/moonlight_ii_vscode.toml
	new file:   alacritty/themes/themes/msx.toml
	new file:   alacritty/themes/themes/night_owlish_light.toml
	new file:   alacritty/themes/themes/nightfox.toml
	new file:   alacritty/themes/themes/noctis-lux.toml
	new file:   alacritty/themes/themes/nord.toml
	new file:   alacritty/themes/themes/nord_light.toml
	new file:   alacritty/themes/themes/nordic.toml
	new file:   alacritty/themes/themes/oceanic_next.toml
	new file:   alacritty/themes/themes/omni.toml
	new file:   alacritty/themes/themes/onedark.toml
	new file:   alacritty/themes/themes/palenight.toml
	new file:   alacritty/themes/themes/papercolor_dark.toml
	new file:   alacritty/themes/themes/papercolor_light.toml
	new file:   alacritty/themes/themes/papertheme.toml
	new file:   alacritty/themes/themes/pencil_dark.toml
	new file:   alacritty/themes/themes/pencil_light.toml
	new file:   alacritty/themes/themes/rainbow.toml
	new file:   alacritty/themes/themes/remedy_dark.toml
	new file:   alacritty/themes/themes/rose-pine-dawn.toml
	new file:   alacritty/themes/themes/rose-pine-moon.toml
	new file:   alacritty/themes/themes/rose-pine.toml
	new file:   alacritty/themes/themes/seashells.toml
	new file:   alacritty/themes/themes/smoooooth.toml
	new file:   alacritty/themes/themes/snazzy.toml
	new file:   alacritty/themes/themes/solarized_dark.toml
	new file:   alacritty/themes/themes/solarized_light.toml
	new file:   alacritty/themes/themes/taerminal.toml
	new file:   alacritty/themes/themes/tango_dark.toml
	new file:   alacritty/themes/themes/tender.toml
	new file:   alacritty/themes/themes/terminal_app.toml
	new file:   alacritty/themes/themes/thelovelace.toml
	new file:   alacritty/themes/themes/tokyo-night-storm.toml
	new file:   alacritty/themes/themes/tokyo-night.toml
	new file:   alacritty/themes/themes/tomorrow_night.toml
	new file:   alacritty/themes/themes/tomorrow_night_bright.toml
	new file:   alacritty/themes/themes/ubuntu.toml
	new file:   alacritty/themes/themes/wombat.toml
	new file:   alacritty/themes/themes/xterm.toml
	new file:   alacritty/themes/themes/zenburn.toml
	new file:   hypr/hyprland.conf
	new file:   hypr/hyprpaper.conf
	new file:   waybar/config
	new file:   waybar/style.css

 Untracked files:
	.avalonia-build-tasks/
	BraveSoftware/
	Code - OSS/
	Code/
	Epic/
	GIMP/
	KDE/
	MangoHud/
	Motrix/
	Nibbler/
	OpenRGB/
	PlasmaDiscoverUpdates
	QtProject.conf
	Ryujinx/
	Softdeluxe/
	Thunar/
	Trolltech.conf
	UNIGINE/
	Unreal Engine/
	VirtualBox/
	VirtualBoxVMrc
	VirtualBoxrc
	akregatorrc
	arkrc
	autostart/
	baloofileinformationrc
	baloofilerc
	blender/
	bluedevilglobalrc
	cef_user_data/
	code-flags.conf
	cpupower_gui/
	dconf/
	device_automounter_kcmrc
	digikam_systemrc
	digikamrc
	discoverrc
	dolphinrc
	drkonqirc
	electron25-flags.conf
	elisarc
	emaildefaults
	fcitx/
	fcitx5/
	filelightrc
	filetypesrc
	gh/
	ghb/
	google-chrome/
	goverlay/
	gpicview/
	gtk-2.0/
	gtk-3.0/
	gtk-4.0/
	gtkrc
	gtkrc-2.0
	gwe/
	gwenviewrc
	htop/
	ibus/
	kactivitymanagerd-statsrc
	kactivitymanagerd-switcher
	kactivitymanagerdrc
	katemetainfos
	katerc
	kateschemarc
	katevirc
	kcmfonts
	kcminputrc
	kconf_updaterc
	kde.org/
	kded5rc
	kdedefaults/
	kdeglobals
	kdenlive-layoutsrc
	kdenliverc
	kdfrc
	kfontinstuirc
	kfontviewrc
	kgammarc
	kglobalshortcutsrc
	khotkeysrc
	kinfocenterrc
	kiorc
	kmixrc
	kolourpaintrc
	konsolerc
	konsolesshconfig
	krunnerrc
	kscreenlockerrc
	ksmserverrc
	ksplashrc
	ktimezonedrc
	kwalletrc
	kwinrc
	kwinrulesrc
	kwritemetainfos
	kwriterc
	kxkbrc
	libaccounts-glib/
	libreoffice/
	lsp-plugins/
	mate/
	menus/
	mimeapps.list
	mirage/
	neofetch/
	nomacs/
	nwg-look/
	obs-studio/
	partitionmanagerrc
	pavucontrol.ini
	plasma-localerc
	plasma-nm
	plasma-org.kde.plasma.desktop-appletsrc
	plasma-welcomerc
	plasmanotifyrc
	plasmaparc
	plasmarc
	plasmashellrc
	powerdevilrc
	powermanagementprofilesrc
	pulse/
	qBittorrent/
	qt5ct/
	remmina/
	session/
	showfoto_systemrc
	showfotorc
	signond/
	soffice.binrc
	spectaclerc
	systemd/
	systemmonitorrc
	systemsettingsrc
	tlpui/
	trashrc
	user-dirs.dirs
	user-dirs.locale
	vlc/
	vlcrc
	whatsapp-for-linux/
	wlogout/
	xdg-desktop-portal-kderc
	xfce4/
	xnviewmp/
	xsettingsd/
	zoom.conf
	zoomus.conf
	zotify/
2024-02-28 09:03:08 +08:00

185 lines
6 KiB
Text

{
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
"height": 30, // Waybar height (to be removed for auto height)
// "width": 1280, // Waybar width
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode", "sway/scratchpad", "custom/media", "custom/wlogout"],
"modules-center": ["sway/window"],
"modules-right": ["bluetooth", "mpd", "idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "sway/language", "clock", "tray"],
// Modules configuration
// "sway/workspaces": {
// "disable-scroll": true,
// "all-outputs": true,
// "warp-on-scroll": false,
// "format": "{name}: {icon}",
// "format-icons": {
// "1": "",
// "2": "",
// "3": "",
// "4": "",
// "5": "",
// "urgent": "",
// "focused": "",
// "default": ""
// }
// },
"keyboard-state": {
"numlock": true,
"capslock": true,
"format": "{name} {icon}",
"format-icons": {
"locked": "",
"unlocked": ""
}
},
"sway/mode": {
"format": "<span style=\"italic\">{}</span>"
},
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
"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": 10
},
"clock": {
// "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}"
},
"cpu": {
"format": "{usage}% ",
"tooltip": false
},
"memory": {
"format": "{}% "
},
"temperature": {
// "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80,
// "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""]
},
"backlight": {
// "device": "acpi_video1",
"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-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
"format-wifi": "{essid} ({signalStrength}%) ",
"format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"pulseaudio": {
// "scroll-step": 1, // %, can be a float
"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"
},
"custom/media": {
"format": "{icon} {}",
"return-type": "json",
"max-length": 40,
"format-icons": {
"spotify": "",
"default": "🎜"
},
"escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
},
"custom/wlogout": {
"format": "",
"on-click": "wlogout"
},
"custom/blueman": {
"format": "BT",
"on-click": "blueman-manager"
},
"bluetooth": {
"format": " {status}",
"format-disabled": "", // an empty format will hide the module
"format-connected": " {num_connections}",
"tooltip-format": "{device_alias}",
"tooltip-format-connected": " {device_enumerate}",
"tooltip-format-enumerate-connected": "{device_alias}",
"on-click": "blueman-manager"
}
}