Additional configuration for river tags

This commit is contained in:
Andrew Scott 2023-06-17 01:32:09 -04:00
parent d1f95edd20
commit 5556b760e9
Signed by: a
GPG key ID: 7CD5A5977E4931C1
3 changed files with 60 additions and 3 deletions

View file

@ -213,6 +213,7 @@ swayidle -w timeout 600 "waylock -fork-on-lock -init-color 0x000000" &
{{- end }} {{- end }}
gammastep -r & gammastep -r &
waybar-launcher & waybar-launcher &
river-tag-overlay &
blueman-applet & blueman-applet &
evolution & evolution &
mattermost-desktop & mattermost-desktop &

View file

@ -20,6 +20,7 @@
"river/window" "river/window"
], ],
{{- if eq .chezmoi.hostname "hydrus"}}
"modules-right": [ "modules-right": [
"idle_inhibitor", "idle_inhibitor",
"pulseaudio", "pulseaudio",
@ -31,6 +32,17 @@
"clock", "clock",
"tray" "tray"
], ],
{{- else }}
"modules-right": [
"idle_inhibitor",
"backlight",
"pulseaudio",
"network",
"battery",
"clock",
"tray"
],
{{- end }}
"keyboard-state": { "keyboard-state": {
"numlock": false, "numlock": false,
@ -66,7 +78,7 @@
"clock": { "clock": {
"format": "{:%H:%M}", "format": "{:%H:%M}",
"timezone": "America/New_York", // "timezone": "America/New_York",
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>", "tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>",
"format-alt": "{:%Y-%m-%d}" "format-alt": "{:%Y-%m-%d}"
}, },
@ -81,9 +93,15 @@
}, },
"temperature": { "temperature": {
{{- if eq .chezmoi.hostname "helix" }}
"thermal-zone": 0,
"hwmon-path": "/sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp1_input",
"critical-threshold": 90,
{{- else }}
// "thermal-zone": 2, // "thermal-zone": 2,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"critical-threshold": 80, // "critical-threshold": 80,
{{- end }}
// "format-critical": "{temperatureC}°C {icon}", // "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}",
"format-icons": ["", "", ""] "format-icons": ["", "", ""]
@ -97,7 +115,9 @@
"battery": { "battery": {
"states": { "states": {
// "good": 95, {{- if eq .chezmoi.hostname "helix"}}
"good": 59,
{{- end }}
"warning": 30, "warning": 30,
"critical": 15 "critical": 15
}, },
@ -116,7 +136,11 @@
"network": { "network": {
// "interface": "wlan0", // "interface": "wlan0",
{{- if eq .chezmoi.hostname "hydrus" }}
"format-wifi": "{essid} ({signalStrength}%) ", "format-wifi": "{essid} ({signalStrength}%) ",
{{- else }}
"format-wifi": "{signalStrength}% ",
{{- end }}
"format-ethernet": "{ipaddr}/{cidr} ", "format-ethernet": "{ipaddr}/{cidr} ",
"tooltip-format": "{ifname} via {gwaddr} ", "tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "{ifname} (No IP) ", "format-linked": "{ifname} (No IP) ",

View file

@ -285,3 +285,35 @@ label:focus {
#scratchpad.empty { #scratchpad.empty {
background-color: transparent; background-color: transparent;
} }
/* River */
#mode.normal {
background-color: #323d43;
color: #d0bf9b;
}
#mode.passthrough {
background-color: #d0bf9b;
color: #4a555b;
}
#tags button {}
#tags button.occupied {
background-color: #525c62;
color: #d8caac;
}
#tags button.focused {
background-color: #d0bf9b;
color: #4a555b;
}
#tags button.urgent {
background-color: #e26c6e;
}
#window {
font-size: 10px;
}