I3 to Sway #1

Merged
dbroqua merged 112 commits from gentoo-sway into master 2021-10-21 21:40:49 +02:00
Showing only changes of commit a9078bb5b5 - Show all commits

View file

@ -20,9 +20,6 @@
"temperature#2", "temperature#2",
"temperature#3", "temperature#3",
"pulseaudio", "pulseaudio",
// "custom/multimedia_previous",
// "custom/multimedia_current",
// "custom/multimedia_next",
"mpd", "mpd",
"clock", "clock",
"tray" "tray"
@ -107,7 +104,6 @@
}, },
"mpd": { "mpd": {
"format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {title} ", "format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {title} ",
// "format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
"format-disconnected": "Disconnected ", "format-disconnected": "Disconnected ",
"format-stopped": "{randomIcon}{repeatIcon}{singleIcon} Stopped ", "format-stopped": "{randomIcon}{repeatIcon}{singleIcon} Stopped ",
"interval": 10, "interval": 10,
@ -146,26 +142,24 @@
"modules-left": [ "modules-left": [
"sway/workspaces", "sway/workspaces",
"sway/mode", "sway/mode",
], ],
"modules-center": [ "modules-center": [
"clock"
], ],
"modules-right": [ "modules-right": [
"disk#1", "disk#1",
"disk#2", "disk#2",
"network#openvpn",
"network", "network",
"cpu", "cpu",
"memory", "memory",
"temperature#1", "temperature",
"temperature#3",
"battery", "battery",
"backlight", "backlight",
"pulseaudio", "pulseaudio",
// "custom/multimedia_previous", "mpd",
// "custom/multimedia_current", "clock",
// "custom/multimedia_next",
"tray" "tray"
], ],
"sway/workspaces": { "sway/workspaces": {
"all-outputs": true "all-outputs": true
}, },
@ -205,6 +199,13 @@
"max-length": 50, "max-length": 50,
"tooltip": false "tooltip": false
}, },
"network#openvpn": {
"interface": "tun0",
"format": "🔒",
"format-disconnected": "🔓", //An empty format will hide the module.
"max-length": 50,
"tooltip": false
},
"cpu": { "cpu": {
"format": " {load}%", "format": " {load}%",
"tooltip": false "tooltip": false
@ -213,20 +214,15 @@
"format": " {percentage}%", "format": " {percentage}%",
"tooltip": false "tooltip": false
}, },
"temperature#1": { "temperature": {
"thermal-zone": 1, "thermal-zone": 1,
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input", "hwmon-path": "/sys/class/hwmon/hwmon0/temp1_input",
"format": " {temperatureC}°C" "format": " {temperatureC}°C"
}, },
"temperature#3": {
"thermal-zone": 1,
"hwmon-path": "/sys/class/hwmon/hwmon7/temp1_input",
"format": "{temperatureC}°C"
},
"backlight": { "backlight": {
"device": "intel_backlight", "device": "intel_backlight",
"format": "{percent}% {icon}", "format": "{percent}% {icon}",
"format-icons": ["", ""] "format-icons": ["", ""]
}, },
"pulseaudio": { "pulseaudio": {
"format": "♪ {volume}% {icon}", "format": "♪ {volume}% {icon}",
@ -245,19 +241,6 @@
"on-click": "pavucontrol", "on-click": "pavucontrol",
"tooltip": false "tooltip": false
}, },
"custom/multimedia_previous": {
"format": "",
"on-click": "~/bin/music.sh Previous"
},
"custom/multimedia_current": {
"interval": 10,
"exec": "~/bin/nowPlaying.sh",
"on-click": "~/bin/music.sh PlayPause"
},
"custom/multimedia_next": {
"format": "",
"on-click": "~/bin/music.sh Next"
},
"mpd": { "mpd": {
"format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ", "format": "{stateIcon}{randomIcon}{repeatIcon}{singleIcon} {artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ",
"format-disconnected": "Disconnected ", "format-disconnected": "Disconnected ",