diff --git a/config/waybar/config b/config/waybar/config
index 3a30cfc..5acccca 100644
--- a/config/waybar/config
+++ b/config/waybar/config
@@ -2,68 +2,56 @@
"ipc": true,
// "layer": "top", // Waybar at top layer
// "position": "bottom", // Waybar position (top|bottom|left|right)
- "height": 34, // Waybar height (to be removed for auto height)
- // "width": 1280, // Waybar width
- // Choose the order of the modules
- "modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
+ "height": 32, // Waybar height (to be removed for auto height)
+ "modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["custom/cmus"],
- "modules-right": ["tray", "network", "custom/stat", "memory", "temperature", "pulseaudio", "battery", "clock"],
+ "modules-right": ["tray", "custom/stat", "battery", "clock"],
+ "custom/run": {
+ "format": "Run",
+ "on-click": "wofi --show drun -p Search -n -i -I -W 66% -H 66% -s $HOME/.config/wofi.css"
+ },
"sway/window": {
},
"sway/mode": {
"format": "{}"
},
+ "wlr/taskbar": {
+ "format": "{icon}",
+ "icon-theme": "Papirus",
+ "icon-size": 22,
+ "on-click": "minimize-raise",
+ },
"tray": {
- "icon-size": 28,
- "spacing": 8
+ "icon-theme": "Papirus",
+ "icon-size": 22,
+ "spacing": 16
},
"clock": {
- "format": "{:%H:%M}",
"tooltip-format": "{:%Y %B}",
- "format-alt": "{:%A, %d.%m.%Y}",
+ "format-alt": "{:%Y-%m-%d}",
"tooltip": false
},
- "cpu": {
- "format": "CPU {usage}%",
- "tooltip": false
- },
- "memory": {
- "format": "MEM {}%",
- "tooltip": false
- },
- "temperature": {
- "thermal-zone": 0,
- // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
- "critical-threshold": 80,
- // "format-critical": "{temperatureC}°C {icon}",
- "format": "{temperatureC}°C"
- },
- "battery": {
- //"bat": "8xlifepo4",
- "interval": 30,
- "format": " {}%",
- "format-charging": " {}%",
- "format-full": " {}%"
- },
- "network": {
- // "interface": "wlp2*", // (Optional) To force the use of this interface
- "format-wifi": "直 {essid} {signalStrength}%",
- //"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
- "format-ethernet": " {ifname}",
- "format-linked": " {ifname} NO IP",
- "format-disconnected": " ×",
- "format": " ×",
- "on-click": "xfce4-terminal -e nmtui --title nmtui"
- },
"pulseaudio": {
// "scroll-step": 1,
- "format": "VOL {volume}%",
- "format-bluetooth": "{volume}% {icon} {format_source}",
- "format-bluetooth-muted": " {icon} {format_source}",
- "format-muted": "MUTED {format_source}",
- "format-source": "{volume}%",
- "format-source-muted": "MUTE",
- "on-click": "reform-pavucontrol"
+ "format": "Vol {volume}%",
+ "format-bluetooth": " {volume}%",
+ "format-bluetooth-muted": " Silent",
+ "format-muted": "Silent",
+ "format-source": "Vol {volume}%",
+ "format-source-muted": "Silent",
+ "on-click": "pavucontrol"
+ },
+ "battery": {
+ "format": " {capacity}%",
+ "format-charging": " {capacity}%",
+ "format-plugged": " {capacity}%",
+ "format-full": " }capacity}%"
+ },
+ "custom/cmus": {
+ "format": " {}",
+ "max-length": 30,
+ "interval": 1,
+ "exec": "cmus-remote -Q | grep 'tag title' | sed 's/tag title //g'"
},
"custom/stat": {
"format": "{}",
@@ -72,10 +60,4 @@
"exec": "reform-compstat -d 1 -i 0.3",
"on-click": "gnome-system-monitor"
},
- "custom/cmus": {
- "format": " {}",
- "max-length": 30,
- "interval": 1,
- "exec": "cmus-remote -Q | grep 'tag title' | sed 's/tag title //g'"
- }
-}
+ }
diff --git a/config/waybar/config_v3 b/config/waybar/config_v3
new file mode 100644
index 0000000..3a30cfc
--- /dev/null
+++ b/config/waybar/config_v3
@@ -0,0 +1,81 @@
+{
+ "ipc": true,
+ // "layer": "top", // Waybar at top layer
+ // "position": "bottom", // Waybar position (top|bottom|left|right)
+ "height": 34, // Waybar height (to be removed for auto height)
+ // "width": 1280, // Waybar width
+ // Choose the order of the modules
+ "modules-left": ["sway/workspaces", "sway/mode", "sway/window"],
+ "modules-center": ["custom/cmus"],
+ "modules-right": ["tray", "network", "custom/stat", "memory", "temperature", "pulseaudio", "battery", "clock"],
+ "sway/window": {
+ },
+ "sway/mode": {
+ "format": "{}"
+ },
+ "tray": {
+ "icon-size": 28,
+ "spacing": 8
+ },
+ "clock": {
+ "format": "{:%H:%M}",
+ "tooltip-format": "{:%Y %B}",
+ "format-alt": "{:%A, %d.%m.%Y}",
+ "tooltip": false
+ },
+ "cpu": {
+ "format": "CPU {usage}%",
+ "tooltip": false
+ },
+ "memory": {
+ "format": "MEM {}%",
+ "tooltip": false
+ },
+ "temperature": {
+ "thermal-zone": 0,
+ // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
+ "critical-threshold": 80,
+ // "format-critical": "{temperatureC}°C {icon}",
+ "format": "{temperatureC}°C"
+ },
+ "battery": {
+ //"bat": "8xlifepo4",
+ "interval": 30,
+ "format": " {}%",
+ "format-charging": " {}%",
+ "format-full": " {}%"
+ },
+ "network": {
+ // "interface": "wlp2*", // (Optional) To force the use of this interface
+ "format-wifi": "直 {essid} {signalStrength}%",
+ //"format-ethernet": " {ifname}: {ipaddr}/{cidr}",
+ "format-ethernet": " {ifname}",
+ "format-linked": " {ifname} NO IP",
+ "format-disconnected": " ×",
+ "format": " ×",
+ "on-click": "xfce4-terminal -e nmtui --title nmtui"
+ },
+ "pulseaudio": {
+ // "scroll-step": 1,
+ "format": "VOL {volume}%",
+ "format-bluetooth": "{volume}% {icon} {format_source}",
+ "format-bluetooth-muted": " {icon} {format_source}",
+ "format-muted": "MUTED {format_source}",
+ "format-source": "{volume}%",
+ "format-source-muted": "MUTE",
+ "on-click": "reform-pavucontrol"
+ },
+ "custom/stat": {
+ "format": "{}",
+ "max-length": 20,
+ "interval": 0,
+ "exec": "reform-compstat -d 1 -i 0.3",
+ "on-click": "gnome-system-monitor"
+ },
+ "custom/cmus": {
+ "format": " {}",
+ "max-length": 30,
+ "interval": 1,
+ "exec": "cmus-remote -Q | grep 'tag title' | sed 's/tag title //g'"
+ }
+}
diff --git a/install-reform.conf.yaml b/install-reform.conf.yaml
index 1033e8a..c6fcf6b 100644
--- a/install-reform.conf.yaml
+++ b/install-reform.conf.yaml
@@ -19,6 +19,10 @@
create: true
glob: true
path: config/cmus/**
+ ~/.config/waybar:
+ create: true
+ glob: true
+ path: config/waybar/**
~/.config/sway:
glob: true
create: true