bin: add sway_resize

This commit is contained in:
Konstantin Koslowski 2024-05-21 10:48:24 +02:00
parent 36f1a3557c
commit f3829160db
3 changed files with 95 additions and 13 deletions

View file

@ -83,9 +83,9 @@
"exec": "$HOME/.config/sway/bin/waybar_mediaplayer.py 2> /dev/null"
},
"clock": {
"format": "<span foreground='#ebdbb2'> </span>{:%H:%M, %b %d}",
"format": "<span foreground='#ebdbb2'></span>{: %H:%M, %b %d }",
"format-alt": "<span foreground='#ebdbb2'> </span>{:%A, %B %d, %Y (%R)}",
// "tooltip-format": "\n<span size='9pt'>{calendar}</span>",
"tooltip-format": "\n<span size='9pt'>{calendar}</span>",
// "calendar": {
// "mode" : "year",
// "mode-mon-col" : 3,
@ -99,7 +99,7 @@
// "weekdays": "<span color='#b8bb26'><b>{}</b></span>",
// "today": "<span color='#fb4934'><b><u>{}</u></b></span>"
// }
},
// },
"actions": {
"on-click-right": "mode",
"on-click-forward": "tz_up",
@ -160,6 +160,21 @@
"tooltip-format-disconnected": "{ifname} disconnected",
"on-click": "foot -T float nmtui"
},
"network#ub0": {
"interval": 2,
"interface": "ub0",
"format": "{ifname}",
"format-wifi": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-linked": "<span foreground='#ebdbb2'> </span>{ifname}",
"format-disconnected": "<span foreground='#606060'> </span>{ifname}",
"min-length": 8,
"max-length": 30,
"tooltip-format": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}",
"tooltip-format-ethernet": "{ifname}\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}",
"tooltip-format-wifi": "{ifname} {essid} ({signalStrength:3}%)\n\t{ipaddr}/{cidr}\n  \t{bandwidthDownBits}\n  \t{bandwidthUpBits}",
"tooltip-format-disconnected": "{ifname} disconnected",
"on-click": "foot -T float nmtui"
},
"network#wl0": {
"interval": 2,
"interface": "wl0",