Add dialog styles, update sway and waybar
This commit is contained in:
+162
-69
@@ -1,37 +1,25 @@
|
||||
|
||||
[
|
||||
// TOUCHSCREEN > RIGHT PANEL
|
||||
{
|
||||
//GLOBAL
|
||||
|
||||
|
||||
"layer": "top",
|
||||
|
||||
"position": "right", // or "left"
|
||||
"position": "right",
|
||||
"width": 100,
|
||||
|
||||
"output": "DSI-1",
|
||||
"modules-left": [
|
||||
"clock#time",
|
||||
"clock#date",
|
||||
//"battery", // broken for some reason...
|
||||
"sway/workspaces"
|
||||
"sway/workspaces",
|
||||
"tray"
|
||||
],
|
||||
|
||||
"modules-center": [
|
||||
],
|
||||
|
||||
"modules-right": [
|
||||
// "cpu",
|
||||
// "memory",
|
||||
// "disk",
|
||||
// "network",
|
||||
// "backlight",
|
||||
// "pulseaudio",
|
||||
"custom/terminal",
|
||||
"custom/kill",
|
||||
"tray"
|
||||
"custom/kill"
|
||||
],
|
||||
|
||||
//MODULES
|
||||
|
||||
"clock#time": {
|
||||
"interval": 10,
|
||||
"locale": "C",
|
||||
@@ -41,7 +29,6 @@
|
||||
"on-click": "termite -e swayphone_menuselect"
|
||||
},
|
||||
|
||||
|
||||
"clock#date": {
|
||||
"interval": 20,
|
||||
"locale": "C",
|
||||
@@ -52,49 +39,10 @@
|
||||
"on-click": "termite -e swayphone_menuselect"
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"interval": 1,
|
||||
"states": {
|
||||
"warning": 30,
|
||||
"critical": 15
|
||||
},
|
||||
/*
|
||||
// Connected to AC
|
||||
"format": " {capacity}%", // Icon: bolt
|
||||
// Not connected to AC
|
||||
"format-discharging": " {capacity}%",
|
||||
"format-icons": [
|
||||
"", // Icon: battery-full
|
||||
"", // Icon: battery-three-quarters
|
||||
"", // Icon: battery-half
|
||||
"", // Icon: battery-quarter
|
||||
"" // Icon: battery-empty
|
||||
],
|
||||
*/
|
||||
// Connected to AC
|
||||
"format": "CH {capacity}%", // Icon: bolt
|
||||
// Not connected to AC
|
||||
"format-discharging": "D {capacity}%",
|
||||
"format-icons": [
|
||||
"4/4", // Icon: battery-full
|
||||
"3/4", // Icon: battery-three-quarters
|
||||
"2/4", // Icon: battery-half
|
||||
"1/4", // Icon: battery-quarter
|
||||
"0/4" // Icon: battery-empty
|
||||
],
|
||||
|
||||
"tooltip": false,
|
||||
// "bat": "axp20x-battery",
|
||||
// "adapter": "axp20x-usb",
|
||||
"on-click": "termite -e \"~/battery.sh ; sleep 5\""
|
||||
},
|
||||
|
||||
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\"> {}</span>",
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
|
||||
"sway/workspaces": {
|
||||
"all-outputs": false,
|
||||
@@ -119,7 +67,7 @@
|
||||
|
||||
"custom/kill": {
|
||||
"on-click": "swaymsg kill",
|
||||
"format": "💀"
|
||||
"format": "☢"
|
||||
},
|
||||
|
||||
"custom/terminal": {
|
||||
@@ -127,6 +75,74 @@
|
||||
"format": "#>_"
|
||||
},
|
||||
|
||||
"network": {
|
||||
"interval": 5,
|
||||
"format-wifi": " {essid}", // Icon: wifi
|
||||
"format-ethernet": " {ifname}", // Icon: ethernet
|
||||
"format-disconnected": "Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}",
|
||||
"on-click": "swaymsg exec \"termite -e nmtui\""
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 22
|
||||
|
||||
//"spacing": 10
|
||||
},
|
||||
},
|
||||
// TOUCHSCREEN > LEFT PANEL
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "left",
|
||||
"width": 15,
|
||||
"output": "DSI-1",
|
||||
|
||||
"modules-left": [
|
||||
"cpu",
|
||||
"memory",
|
||||
//"battery", // broken for some reason...
|
||||
"custom/battery",
|
||||
"temperature",
|
||||
"disk",
|
||||
"backlight",
|
||||
"pulseaudio",
|
||||
],
|
||||
|
||||
"modules-center": [
|
||||
],
|
||||
|
||||
"modules-right": [
|
||||
//"custom/terminal",
|
||||
"custom/keyshow",
|
||||
"custom/keyhide"
|
||||
],
|
||||
|
||||
"custom/battery": {
|
||||
"exec": "waybar_battery",
|
||||
"interval": "2",
|
||||
"return-type": "json",
|
||||
"format": "⚛ {}"
|
||||
},
|
||||
|
||||
"custom/kill": {
|
||||
"on-click": "swaymsg kill",
|
||||
"format": "☠"
|
||||
},
|
||||
|
||||
"custom/keyshow": {
|
||||
"on-click": "swayphone_keyboard_show",
|
||||
"format": "K↥"
|
||||
},
|
||||
|
||||
"custom/keyhide": {
|
||||
"on-click": "swayphone_keyboard_hide",
|
||||
"format": "K↧"
|
||||
},
|
||||
|
||||
"custom/terminal": {
|
||||
"on-click": "termite",
|
||||
"format": ">_"
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
@@ -139,7 +155,6 @@
|
||||
"on-click": "termite -e \"htop --sort-key=PERCENT_CPU\""
|
||||
},
|
||||
|
||||
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": " {}%", // Icon: memory
|
||||
@@ -150,6 +165,14 @@
|
||||
"on-click": "termite -e \"htop --sort-key=PERCENT_MEM\""
|
||||
},
|
||||
|
||||
"temperature": {
|
||||
// "thermal-zone": 2,
|
||||
// "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
|
||||
"critical-threshold": 60,
|
||||
"format-critical": " {temperatureC}°C",
|
||||
"format": " {temperatureC}°C"
|
||||
},
|
||||
|
||||
"network": {
|
||||
"interval": 5,
|
||||
"format-wifi": " {essid}", // Icon: wifi
|
||||
@@ -178,27 +201,97 @@
|
||||
|
||||
"disk": {
|
||||
"interval": 5,
|
||||
"format": " {percentage_used:2}%",
|
||||
"format": "✇ {percentage_used:2}%", // alt:
|
||||
"path": "/"
|
||||
|
||||
},
|
||||
"backlight": {
|
||||
|
||||
"backlight": {
|
||||
// "device": "acpi_video1",
|
||||
"format": "{icon} {percent}% ",
|
||||
"states": [0,50],
|
||||
"format-icons": ["", ""],
|
||||
"on-click": "termite -e swayphone_backlightselect"
|
||||
},
|
||||
},
|
||||
// EXTERNAL MONITOR
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "bottom",
|
||||
"width": 100,
|
||||
"output": "!DSI-1",
|
||||
"modules-left": [
|
||||
"sway/workspaces#monitor"
|
||||
],
|
||||
|
||||
"modules-center": [
|
||||
"clock#time"
|
||||
],
|
||||
|
||||
"modules-right": [
|
||||
"tray",
|
||||
"clock#date"
|
||||
],
|
||||
|
||||
"clock#time": {
|
||||
"interval": 10,
|
||||
"locale": "C",
|
||||
"timezone": "Europe/Berlin",
|
||||
"format": " {:%H:%M}",
|
||||
"tooltip": false,
|
||||
"on-click": "termite -e swayphone_menuselect"
|
||||
},
|
||||
|
||||
"clock#date": {
|
||||
"interval": 20,
|
||||
"locale": "C",
|
||||
"timezone": "Europe/Berlin",
|
||||
"format": " {:%e %b %Y}", // Icon: calendar-alt
|
||||
//"tooltip-format": "{:%e %B %Y}"
|
||||
"tooltip": true,
|
||||
"on-click": "termite -e swayphone_menuselect"
|
||||
},
|
||||
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\"> {}</span>",
|
||||
"tooltip": true
|
||||
},
|
||||
|
||||
"sway/workspaces#monitor": {
|
||||
"all-outputs": false,
|
||||
"disable-scroll": true,
|
||||
/*"persistent_workspaces": {
|
||||
"6:": [],
|
||||
"7:": [],
|
||||
"8:": [],
|
||||
"9:": [],
|
||||
"0:": []
|
||||
},*/
|
||||
"format": "{name}",
|
||||
"format-icons": {
|
||||
//"1:T": "", // Icon: terminal
|
||||
"3:F": "龜", // Icon: firefox-browser
|
||||
"8:M": "", // Icon: mail
|
||||
"urgent": "",
|
||||
"focused": "",
|
||||
"default": ""
|
||||
}
|
||||
},
|
||||
|
||||
"network": {
|
||||
"interval": 5,
|
||||
"format-wifi": " {essid}", // Icon: wifi
|
||||
"format-ethernet": " {ifname}", // Icon: ethernet
|
||||
"format-disconnected": "Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}",
|
||||
"on-click": "swaymsg exec \"termite -e nmtui\""
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"icon-size": 22
|
||||
|
||||
//"spacing": 10
|
||||
},
|
||||
|
||||
|
||||
"custom/bar": {
|
||||
"format": "",
|
||||
"tooltip": false
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user