Sway script is more useful

This commit is contained in:
Ezri 2024-03-07 14:20:18 -07:00
parent 636976baf8
commit 71413ed216
3 changed files with 61 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import asyncio
import json
import os
import sys
from socket import gethostname
from i3ipc.aio import Connection
from i3ipc import Event
from typing import List, Dict, Any, Union, Tuple
@ -103,7 +104,7 @@ data = {
"ws": {},
"mode": "default",
"current": {},
"context": "work",
"context": "work" if gethostname() == "tycho" else "personal",
"visible": {},
}

View File

@ -0,0 +1,3 @@
#-*-conf-space-*-
exec_always gsettings set $gnome-schema text-scaling-factor 1.25

View File

@ -0,0 +1,56 @@
{
"personal": {
"builtin": [
{
"index": 1,
"name": "terminal",
"exec": "alacritty"
},
{
"index": 2,
"name": "code",
"exec": "alacritty"
},
{
"index": 3,
"name": "internet",
"exec": "firefox --new-window"
},
{
"index": 4,
"name": "project",
"exec": "firefox --new-window"
},
{
"index": 5,
"name": "servers",
"exec": "virt-manager"
},
{
"index": 6,
"name": "steam",
"exec": "steam"
},
{
"index": 7,
"name": "media",
"exec": "jellyfinmediaplayer"
},
{
"index": 8,
"name": "real-time comms",
"exec": "discord"
},
{
"index": 9,
"name": "messages",
"exec": "thunderbird"
},
{
"index": 10,
"name": "config",
"exec": "pavucontrol"
}
]
}
}