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"
exec zoom&
exec kanshi&
{{- end }}
{{- if eq .chezmoi.hostname "dubnium" }}

View file

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