remove automatic desktop entry (#652)

This commit is contained in:
ReenigneArcher 2022-12-30 09:31:50 -05:00 committed by GitHub
parent 8b3b00059e
commit 8aaf9fd141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 23 additions and 6 deletions

View File

@ -446,11 +446,6 @@ void refresh(const std::string &file_name) {
auto proc_opt = proc::parse(file_name);
if(proc_opt) {
{
proc::ctx_t ctx;
ctx.name = "Desktop"s;
proc_opt->get_apps().emplace(std::begin(proc_opt->get_apps()), std::move(ctx));
}
proc = std::move(*proc_opt);
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -3,8 +3,13 @@
"PATH": "$(PATH):$(HOME)/.local/bin"
},
"apps": [
{
"name": "Desktop",
"image-path": "desktop.png"
},
{
"name": "Low Res Desktop",
"image-path": "desktop.png",
"prep-cmd": [
{
"do": "xrandr --output HDMI-1 --mode 1920x1080",

View File

@ -2,5 +2,18 @@
"env": {
"PATH": "$(PATH):$(HOME)/.local/bin"
},
"apps": []
"apps": [
{
"name": "Desktop",
"image-path": "desktop.png"
},
{
"name": "Steam BigPicture",
"output": "steam.txt",
"detached": [
"open steam://open/bigpicture"
],
"image-path": "steam.png"
}
]
}

View File

@ -3,6 +3,10 @@
"PATH": "$(PATH);$(ProgramFiles(x86))\\Steam"
},
"apps": [
{
"name": "Desktop",
"image-path": "desktop.png"
},
{
"name": "Steam BigPicture",
"output": "steam.txt",