refactor from 4 space tabs to 2

This commit is contained in:
willifan 2024-04-02 23:35:00 +02:00
parent 81503793b9
commit f46ab5cf14
3 changed files with 60 additions and 61 deletions

View file

@ -5,8 +5,6 @@
;; left
;; Test
(defwidget time []
(eventbox
:onclick ``

View file

@ -30,24 +30,23 @@ const std::map<std::string, int> specialWorkspaceMap = {
/*json workspacesOutput = json::parse(R"(
{
"normal": [
{
[
"normal":
{
"activeOn": str
"icon": str
"id": int
"occupied": int
}
],
"special": [
{
},
"special":
{
"activeOn": str
"icon": str
"id": str
"occupied": int
}
]
}
}
]
)");*/
@ -97,6 +96,8 @@ void generateIconMap()
initClass = "aguiienagi";
}
//TODO unjank
std::string cmd ="cd /home/willifan/.config/eww/scripts/ && ./test.sh ";
std::string test = std::string("cd /home/willifan/.config/eww/scripts/ && ./test.sh ") + initClass + " " + pid;
@ -149,7 +150,7 @@ json getWorkspace(json workspaceInput)
return workspaceOutput;
}
//TODO fix special workspaces
void getAllWorkspaces()
{
json workspacesInput = json::parse(command("hyprctl workspaces -j"));
@ -179,7 +180,7 @@ void getAllWorkspaces()
}
//TODO optimize whatever
void handle(std::string message)

Binary file not shown.