aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/waybar/config
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.config/waybar/config')
-rw-r--r--dotfiles/.config/waybar/config49
1 files changed, 18 insertions, 31 deletions
diff --git a/dotfiles/.config/waybar/config b/dotfiles/.config/waybar/config
index 7d7a192..65e8e99 100644
--- a/dotfiles/.config/waybar/config
+++ b/dotfiles/.config/waybar/config
@@ -1,6 +1,6 @@
// vim: filetype=json
{
- "layer": "bottom",
+ "layer": "top",
"height": 32,
"modules-left": [
"sway/workspaces",
@@ -15,16 +15,15 @@
],
"modules-right": [
"custom/rec-status",
- "niri/language",
"custom/swaykbd",
"custom/mail-status",
- "custom/pac-status",
"memory",
"backlight",
"battery#bat0",
"battery#bat1",
"custom/batwatt",
"network",
+ "niri/language",
"tray"
],
"sway/mode": {
@@ -74,7 +73,12 @@
"spacing": 10
},
"clock": {
- "format": "{:%Y-%m-%d %H:%M:%S}",
+ "format": "{:%Y年%m月%d日 %H:%M:%S}",
+ "tooltip-format": "{calendar}",
+ "calendar": {
+ "mode": "year",
+ "mode-mon-col": 3
+ },
"interval": 1
},
"cpu": {
@@ -99,7 +103,7 @@
"backlight": {
// "device": "acpi_video1",
"format": "<span color=\"#5b8277\">{icon}</span> {percent}%",
- "format-icons": ["", ""]
+ "format-icons": ["", ""]
},
"battery#bat0": {
"bat": "BAT0",
@@ -129,34 +133,13 @@
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
- "format-wifi": "<span color=\"#5b8277\"></span> {essid}",
- "format-ethernet": "<span color=\"#5b8277\"></span> {ifname}",
- "format-linked": "<span color=\"#5b8277\"></span> {ifname}",
- "format-disconnected": "<span color=\"#5b8277\">⚠</span> Disconnected",
+ "format-wifi": "<span color=\"#5b8277\"></span> {essid}",
+ "format-ethernet": "<span color=\"#5b8277\"></span> {ifname}",
+ "format-linked": "<span color=\"#5b8277\"></span> {ifname}",
+ "format-disconnected": "<span color=\"#5b8h277\">⚠</span> Disconnected",
"format-alt": "{ifname}: {ipaddr}/{cidr}",
"tooltip-format": "{ifname}: {ipaddr}/{cidr}"
},
- "custom/left-arrow-cyan": {
- "format": ""
- },
- "custom/right-arrow-cyan": {
- "format": ""
- },
- "custom/left-arrow-gray": {
- "format": ""
- },
- "custom/left-arrow-black": {
- "format": ""
- },
- "custom/right-arrow-black": {
- "format": ""
- },
- "custom/left-decorator-black": {
- "format": ""
- },
- "custom/right-decorator-black": {
- "format": ""
- },
"pulseaudio": {
"scroll-step": 2, // %, can be a float
"format": "<span color=\"#5b8277\">{icon}</span> {volume}%",
@@ -231,6 +214,10 @@
"tooltip": false
},
"niri/language": {
- "format": "⌨️ {short}"
+ "on-click": "niri msg action switch-layout next",
+ "on-click-right": "niri msg action switch-layout prev",
+ "format-en": " 🇺🇸 EN ",
+ "format-es": " 🇲🇽 ES ",
+ "format-ru": " 🇷🇺 RU "
}
}