Make screens do shit

This commit is contained in:
Maximilian Friedersdorff 2025-04-23 16:34:06 +01:00
parent f2165935f8
commit 04dbb925d4
3 changed files with 44 additions and 18 deletions

View file

@ -0,0 +1,14 @@
profile desk {
output eDP-1 disable
output "Acer Technologies VG270U P 0x05217924" enable mode 2560x1440 position 0,0 adaptive_sync on
output "Acer Technologies VG270U P 0x9392CFAC" enable mode 2560x1440 position 2560,0 adaptive_sync on
}
profile portable {
output eDP-1 enable mode 2880x1800 position 0,0 scale 2
}
profile second_desk {
output "LG Electronics LG FULL HD" enable mode 1920x1080 position 0,0
output eDP-1 enable mode 2880x1800 position 0,1080 scale 2
}

View file

@ -356,6 +356,7 @@ workspace 1 output "Acer Technologies VG270U P 0x05217924"
workspace 2 output "Acer Technologies VG270U P 0x9392CFAC" workspace 2 output "Acer Technologies VG270U P 0x9392CFAC"
exec zoom& exec zoom&
exec kanshi&
{{- end }} {{- end }}
{{- if eq .chezmoi.hostname "dubnium" }} {{- if eq .chezmoi.hostname "dubnium" }}

View file

@ -23,8 +23,8 @@
"privacy", "privacy",
"idle_inhibitor", "idle_inhibitor",
"pulseaudio", "pulseaudio",
"network", "network#eth",
"power-profiles-daemon", "network#wifi",
"cpu", "cpu",
"memory", "memory",
"temperature", "temperature",
@ -109,16 +109,17 @@
"format-alt": "{:%Y-%m-%d}" "format-alt": "{:%Y-%m-%d}"
}, },
"cpu": { "cpu": {
"format": "{usage}% ", "format": "{usage}% @ {avg_frequency}GHz ",
"tooltip": false "tooltip": false,
"on-click": "foot btop"
}, },
"memory": { "memory": {
"format": "{}% " "format": "{}% "
}, },
"temperature": { "temperature": {
// "thermal-zone": 2, "thermal-zone": 4,
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input",
"critical-threshold": 80, "critical-threshold": 100,
// "format-critical": "{temperatureC}°C {icon}", // "format-critical": "{temperatureC}°C {icon}",
"format": "{temperatureC}°C {icon}", "format": "{temperatureC}°C {icon}",
"format-icons": [ "format-icons": [
@ -140,7 +141,8 @@
"", "",
"", "",
"" ""
] ],
"scroll-step": 5
}, },
"battery": { "battery": {
"states": { "states": {
@ -177,13 +179,20 @@
"power-saver": "" "power-saver": ""
} }
}, },
"network": { "network#eth": {
// "interface": "wlp2*", // (Optional) To force the use of this interface "interface": "enp*",
"format-wifi": "{essid} ({signalStrength}%) ",
"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) ",
"format-disconnected": "Disconnected ⚠", "format-disconnected": "<span foreground='#fb49s3'>⚠</span>",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"network#wifi": {
"interface": "wlo*",
"format-wifi": "{essid} ({signalStrength}%) ",
"tooltip-format": "{ifname} via {gwaddr} ",
"format-linked": "",
"format-disconnected": "",
"format-alt": "{ifname}: {ipaddr}/{cidr}" "format-alt": "{ifname}: {ipaddr}/{cidr}"
}, },
"pulseaudio": { "pulseaudio": {
@ -202,9 +211,9 @@
"portable": "", "portable": "",
"car": "", "car": "",
"default": [ "default": [
"", " ",
"", " ",
"" " "
] ]
}, },
"on-click": "pavucontrol", "on-click": "pavucontrol",
@ -215,12 +224,14 @@
"return-type": "json", "return-type": "json",
"max-length": 40, "max-length": 40,
"format-icons": { "format-icons": {
"spotify": "", "firefox": "",
"default": "🎜" "default": "🎜"
}, },
"escape": true, "escape": true,
"exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null" // Script in resources folder "exec": "$HOME/.config/waybar/mediaplayer.py 2> /dev/null",
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name "on-click-middle": "playerctl play-pause",
"on-click-right": "playerctl next",
"on-click": "playerctl previous"
}, },
"custom/power": { "custom/power": {
"format": "⏻ ", "format": "⏻ ",