iter
This commit is contained in:
parent
769db9df6e
commit
8482d5dff3
8 changed files with 74 additions and 38 deletions
|
|
@ -7,12 +7,11 @@ EMOJI = {
|
|||
"grr": "😡",
|
||||
"blush": "😊",
|
||||
"clown": "🤡",
|
||||
"vorp": "😕",
|
||||
"aw": "😕",
|
||||
"drool": "🤤",
|
||||
"mindblow": "🤯",
|
||||
"blegh": "🤮",
|
||||
"huh": "🤨",
|
||||
"fearful": "😨",
|
||||
"vorp": "🤨",
|
||||
"relaxed": "☺",
|
||||
"boomerlol": "🤣",
|
||||
"scream": "😱",
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ dailies = [
|
|||
"https://games.oec.world/en/tradle/",
|
||||
"https://oec.world/en/games/connectrade/",
|
||||
"https://geoconnections.net/",
|
||||
"https://maptap.gg",
|
||||
"https://travle.earth/",
|
||||
"https://worldle.teuteuf.fr/",
|
||||
"https://globle-game.com/game/",
|
||||
|
|
|
|||
17
util/toggle_mon.xsh
Normal file
17
util/toggle_mon.xsh
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import json
|
||||
|
||||
status = json.loads($(swaymsg -t get_outputs --raw))
|
||||
|
||||
monitors = [mon["name"] for mon in status]
|
||||
focused = [mon["name"] for mon in status if mon.get("focused", False)][0]
|
||||
disabled = [mon["name"] for mon in status if not mon["active"]]
|
||||
|
||||
if disabled:
|
||||
for mon in disabled:
|
||||
print("enabling " + mon)
|
||||
swaymsg output @(mon) enable
|
||||
else:
|
||||
for mon in monitors:
|
||||
if mon != focused:
|
||||
print("disabling " + mon)
|
||||
swaymsg output @(mon) disable
|
||||
Loading…
Add table
Add a link
Reference in a new issue