Add monitor comments.
This commit is contained in:
parent
dd8ec57e30
commit
74de045d51
|
@ -12,9 +12,9 @@ in {
|
||||||
spacing = 4;
|
spacing = 4;
|
||||||
start_hidden = false;
|
start_hidden = false;
|
||||||
output = [
|
output = [
|
||||||
"!Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622"
|
"!Huawei Technologies Co., Inc. ZQE-CBA 0xC080F622" # Desktop monitor.
|
||||||
"!AOC 24G2W1G4 ATNL61A129625"
|
"!AOC 24G2W1G4 ATNL61A129625" # Dasha monitor.
|
||||||
"!UGD Artist15.6Pro 20200316"
|
"!UGD Artist15.6Pro 20200316" # XP-Pen Tablet.
|
||||||
"*"
|
"*"
|
||||||
];
|
];
|
||||||
modules-left = [
|
modules-left = [
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
# Enable monitors.
|
# Enable monitors.
|
||||||
function monon() {
|
function monon() {
|
||||||
on() {
|
on() {
|
||||||
swaymsg "output \"ASUSTek COMPUTER INC ASUS VA24E R2LMTF127165\" power on"
|
swaymsg "output \"ASUSTek COMPUTER INC ASUS VA24E R2LMTF127165\" power on" # Desktop monitor.
|
||||||
swaymsg "output \"AU Optronics 0x418D Unknown\" power on"
|
swaymsg "output \"AU Optronics 0x418D Unknown\" power on" # Work monitor.
|
||||||
swaymsg "output \"AOC 24G2W1G4 ATNL61A129625\" power on"
|
swaymsg "output \"AOC 24G2W1G4 ATNL61A129625\" power on" # Dasha monitor.
|
||||||
swaymsg "output \"Chimei Innolux Corporation 0x1521 Unknown\" power on"
|
swaymsg "output \"Chimei Innolux Corporation 0x1521 Unknown\" power on" # Laptop monitor.
|
||||||
_monstate on
|
_monstate on
|
||||||
}
|
}
|
||||||
_sway_iterate_sockets on
|
_sway_iterate_sockets on
|
||||||
|
@ -15,10 +15,10 @@
|
||||||
# Disable monitors.
|
# Disable monitors.
|
||||||
function monoff() {
|
function monoff() {
|
||||||
off() {
|
off() {
|
||||||
swaymsg "output \"ASUSTek COMPUTER INC ASUS VA24E R2LMTF127165\" power off"
|
swaymsg "output \"ASUSTek COMPUTER INC ASUS VA24E R2LMTF127165\" power off" # Desktop monitor.
|
||||||
swaymsg "output \"AU Optronics 0x418D Unknown\" power off"
|
swaymsg "output \"AU Optronics 0x418D Unknown\" power off" # Work monitor.
|
||||||
swaymsg "output \"AOC 24G2W1G4 ATNL61A129625\" power off"
|
swaymsg "output \"AOC 24G2W1G4 ATNL61A129625\" power off" # Dasha monitor.
|
||||||
swaymsg "output \"Chimei Innolux Corporation 0x1521 Unknown\" power off"
|
swaymsg "output \"Chimei Innolux Corporation 0x1521 Unknown\" power off" # Laptop monitor.
|
||||||
_monstate off
|
_monstate off
|
||||||
}
|
}
|
||||||
_sway_iterate_sockets off
|
_sway_iterate_sockets off
|
||||||
|
|
Loading…
Reference in a new issue