This commit is contained in:
Le_Foucheur committed 2024-09-15 22:10:50 +02:00
1 parent bd49911eca
commit e3de01bde8
3742 files changed
+64316

No files matched your search

+145
View File
@@ -0,0 +1,145 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec alacritty -T 'nmcli' -e nmcli d w l"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+140
View File
@@ -0,0 +1,140 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezone": "Europe/Paris"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+145
View File
@@ -0,0 +1,145 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+144
View File
@@ -0,0 +1,144 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[class=Deezer-enhanced]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+140
View File
@@ -0,0 +1,140 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"custom/clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y '%z+0200'}"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y %z}",
"timezones":[
"Europe/Paris",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+145
View File
@@ -0,0 +1,145 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec alacritty -T 'nmcli' -e nmcli d w l"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
}
}
+145
View File
@@ -0,0 +1,145 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec alacritty -T 'nmcli' --hold -e nmcli d w l"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+144
View File
@@ -0,0 +1,144 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezones":["Europe/Paris","Etc/UTC"],
"action":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezones":[
"Europe/Paris",
"Etc/UTC"
],
"action":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"exec": "{:%H:%M:%S | %d %a %Y}"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y '%z+0200'}",
"timezones":[
"Europe/Paris",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"custom/clock": {
"interval": 5,
"exec": "date +'%H:%M:%S | %d %a %Y'"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+144
View File
@@ -0,0 +1,144 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[class=Deezer-enhanced]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+144
View File
@@ -0,0 +1,144 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[class=deezer enhanced]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
}
+140
View File
@@ -0,0 +1,140 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y %z+0200}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"custom/clock": {
"interval": 5,
"exec": "date +'%H:%M:%S '|' %d %a %Y'"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y %Z FRS}",
"timezones":[
"%Z",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+142
View File
@@ -0,0 +1,142 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezones":["Europe/Paris","Etc/UTC"],
"on-click":"tz_up",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+145
View File
@@ -0,0 +1,145 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w l"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y %z+0200}",
"timezones":[
"Europe/Paris",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+144
View File
@@ -0,0 +1,144 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[class=DeezerEnhanced]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezones":[
"Europe/Paris",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+144
View File
@@ -0,0 +1,144 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezone": "Europe/Paris"
},
"custom/clock": {
"interval": 5,
"exec": "{:%H:%M:%S | %d %a %Y}"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+144
View File
@@ -0,0 +1,144 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezone": "Europe/Paris"
},
"custom/clock": {
"interval": 5,
"exec": "date +' %H:%M:%S | %d %a %Y '"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"custom/clock": {
"interval": 5,
"exec": "date +'%H:%M:%S | %d %a %Y'"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezones":[
"Europe/Paris",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{':%H:%M:%S | %d %a %Y %z'}",
"timezones":[
"Europe/Paris",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
}
}
+142
View File
@@ -0,0 +1,142 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezone":"Europe/Paris",
"timezone-alt":"utc",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"custom/clock": {
"interval": 5,
"exec": "date +'%H:%M:%S | %d %a %Y'"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
@@ -0,0 +1 @@
{"version":1,"resource":"file:///home/jvj/.config/waybar/config","entries":[{"id":"julw","timestamp":1724264979280},{"id":"Csi8","timestamp":1724711542363},{"id":"1H7h","timestamp":1724711603628},{"id":"D51k","timestamp":1724711639019},{"id":"rJEN","timestamp":1724711655223},{"id":"JXv4","timestamp":1724711816666},{"id":"pLr5","timestamp":1724712369975},{"id":"080v","timestamp":1724713415720},{"id":"63WQ","timestamp":1724713458260},{"id":"67At","timestamp":1724713652469},{"id":"HRFU","timestamp":1724792011827},{"id":"10nN","timestamp":1724792034750},{"id":"EWKQ","timestamp":1725220207508},{"id":"EUuK","timestamp":1725220230438},{"id":"653I","timestamp":1725220286863},{"id":"klN7","timestamp":1725220327670},{"id":"awyI","timestamp":1725220343074},{"id":"9fSj","timestamp":1725276626546},{"id":"2RJi","timestamp":1725276648863},{"id":"zH4p","timestamp":1725287517019},{"id":"dcsp","timestamp":1725294920551},{"id":"z17r","timestamp":1725295010287},{"id":"lpet","timestamp":1725295096544},{"id":"H0Ov","timestamp":1725295207505},{"id":"p9Ac","timestamp":1725295367867},{"id":"7VWF","timestamp":1725295383200},{"id":"BANZ","timestamp":1725295421636},{"id":"MgLg","timestamp":1725295487747},{"id":"GeWY","timestamp":1726167065137},{"id":"w62i","timestamp":1726167095792},{"id":"vjcb","timestamp":1726167147535},{"id":"hn8G","timestamp":1726167176024},{"id":"EYhz","timestamp":1726167199660},{"id":"UGyR","source":"undoRedo.source","timestamp":1726167337880},{"id":"tQTW","timestamp":1726168330123},{"id":"5Jlk","timestamp":1726168367546},{"id":"HWjG","timestamp":1726168396103},{"id":"a1X5","timestamp":1726168424946},{"id":"C7ln","timestamp":1726168445859},{"id":"5Flt","timestamp":1726168671995},{"id":"CqAo","timestamp":1726168696935},{"id":"EbYW","timestamp":1726168714989},{"id":"Tcep","timestamp":1726168753410},{"id":"glBF","timestamp":1726168776690},{"id":"eFUz","timestamp":1726168827829},{"id":"wWLg","timestamp":1726168838315},{"id":"Bnhf","timestamp":1726247518754},{"id":"0E7W","timestamp":1726247558330},{"id":"SLrz","timestamp":1726249215685},{"id":"SsR7","timestamp":1726249243890}]}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"custom/clock": {
"interval": 5,
"exec": "date +'%H:%M:%S | %d %a %Y"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y %z+0200}",
"timezones":[
"+%z+0200",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+144
View File
@@ -0,0 +1,144 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[class=Spotify]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+145
View File
@@ -0,0 +1,145 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+141
View File
@@ -0,0 +1,141 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezones":["Europe/Paris","Etc/UTC"],
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+142
View File
@@ -0,0 +1,142 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezones":["Europe/Paris","Etc/UTC"],
"action":{"on-click":"tz_up"},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+144
View File
@@ -0,0 +1,144 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+144
View File
@@ -0,0 +1,144 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%d-%m-%Y %H:%M:%S}",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"]
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[class=Deezer Enhanced]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": "{variant}"
},
"custom/clock": {
"exec": "date +' %H:%M:%S | %d %a %Y '",
"interval": 5,
"tooltip": false
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y %:::z}",
"timezones":[
"Europe/Paris",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y %z+0200}",
"timezones":[
"%Z",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+147
View File
@@ -0,0 +1,147 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y %Z:FR}",
"timezones":[
"%Z",
"Etc/UTC"
],
"actions":{
"on-click":"tz_up"
},
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+139
View File
@@ -0,0 +1,139 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"custom/clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"custom/clock": {
"interval": 5,
"exec": "date +' %H:%M:%S | %d %a %Y '"
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+141
View File
@@ -0,0 +1,141 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezones":["Europe/Paris",""],
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}
+141
View File
@@ -0,0 +1,141 @@
{
"layer": "bottom",
"position": "bottom",
"height": 30,
"modules-center": [
"sway/workspaces",
"sway/mode"
],
"modules-left": [
"cpu",
"custom/separator",
"disk",
"custom/separator",
"memory",
"custom/separator",
"temperature",
"custom/separator",
"sway/language"
],
"modules-right": [
"custom/spotify",
"network",
"custom/separator",
"pulseaudio",
"bluetooth",
"custom/separator",
"battery",
"custom/separator",
"clock"
],
"sway/mode": {
"format": "{}"
},
"sway/workspaces": {
"format": "{name}",
"disable-scroll": true
},
"custom/separator": {
"format": "¦",
"tooltip": false
},
"clock": {
"interval": 5,
"format": "{:%H:%M:%S | %d %a %Y}",
"timezone":"Europe/Paris",
"tooltip": false
},
"battery": {
"format": "{icon} {capacity}%",
"format-alt": "{time}",
"format-charging": "{icon} {capacity}%",
"format-icons":{
"default":["󰂎", "󰁺", "󰁻", "󰁼", "󰁽","󰁾","󰁿","󰂀","󰂁","󰂁","󰂂","󰁹"],
"charging":["󰢟", "󰢜","󰂆", "󰂇", "󰂈", "󰢝", "󰢝","󰂉","󰢞", "󰂊","󰂋","󰂅"],
"full":"󰁹"
},
"format-full": "{icon}",
"interval": 1,
"states": {
"good": 80,
"warning": 30,
"critical": 15
},
"tooltip": false
},
"network": {
"interval": 15,
"format": "{signalStrength}% {icon}",
"format-disconnected": "⚠ Déconécté",
"tooltip": true,
"states": {
"nice": 80,
"good": 30,
"bad": 15
},
"tooltip-format": " {essid} \n ↑ - {bandwidthUpOctets} \n ↓ - {bandwidthDownOctets} \n {ipaddr}",
"format-icons": ["\udb82\udd2f", "\udb82\udd1f", "\udb82\udd22", "\udb82\udd25", "\udb82\udd28"],
"on-click": "exec nmcli d w c Gas"
},
"pulseaudio": {
"format": "{icon} {volume}%",
"format-muted": "",
"scroll-step": 1,
"format-icons":["", "", ""],
"on-click": "process=$(pidof pavucontrol) ; if [[ -z $process ]]; then pavucontrol& else swaymsg '[app_id=pavucontrol]' focus; fi",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": false
},
"bluetooth": {
"format": "",
"format-on": "\uf293",
"format-connected": "\uf293",
"format-connected-battery": "\uf293",
"on-click": "exec alacritty -T 'Alacritty - bluetoothctl' -e bluetoothctl&",
"on-click-right": "if [[ $(bluetoothctl show | grep PowerState | cut -c14-) = 'on' ]]; then bluetoothctl power off; else bluetoothctl power on; fi",
"tooltip": true,
"tooltip-format-connected": "{device_alias}",
"tooltip-format-connected-battery": "{device_alias} {device_battery_percentage}%"
},
"custom/spotify": {
"format": "{} <span fgcolor='#d9d8d880' font_weight='bold'>¦</span>",
"interval": 1,
"return-type": "json",
"exec": "~/.config/waybar/modules/spotify.sh",
"exec-if": "pgrep deezer-enhanced",
"escape": true,
"on-click": "swaymsg '[title=\"Deezer Enhanced\"]' focus"
},
"disk": {
"interval": 30,
"tooltip": false,
"format": "{free}",
"path": "/"
},
"memory": {
"interval": 15,
"format": "{used:.1f} GiB/{total:.1f} GiB",
"tooltip": false,
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"cpu": {
"interval": 5,
"format": "cpu {usage:02}%",
"states": {
"warning": 80,
"critical": 95
},
"on-click": "process=$(pidof htop) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - htop' -e htop& else swaymsg '[title=\"Alacritty - htop\"]' focus; fi"
},
"temperature": {
"interval": 10,
"format": "{icon} {temperatureC}°C",
"tooltip": false,
"critical-threshold": 90,
"format-icons":["","", "","",""],
"on-click": "process=$(pidof watch sensors) ; if [[ -z $process ]]; then exec alacritty -T 'Alacritty - sensors' -e watch sensors& else swaymsg '[title=\"Alacritty - sensors\"]' focus; fi"
},
"sway/language": {
"format": " {variant}"
}
}