Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
079eee12
Commit
079eee12
authored
Mar 05, 2025
by
Erik Reider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed scripts not executing due to long env variables containing image data
parent
a90528ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
configModel.vala
src/configModel/configModel.vala
+3
-0
No files found.
src/configModel/configModel.vala
View file @
079eee12
...
...
@@ -248,6 +248,9 @@ namespace SwayNotificationCenter {
spawn_env
+=
"SWAYNC_TIME=%s"
.
printf
(
param
.
time
.
to_string
());
spawn_env
+=
"SWAYNC_DESKTOP_ENTRY=%s"
.
printf
(
param
.
desktop_entry
??
""
);
foreach
(
string
hint
in
param
.
hints
.
get_keys
())
{
if
(
hint
.
contains
(
"image"
)
||
hint
.
contains
(
"icon"
))
{
continue
;
}
spawn_env
+=
"SWAYNC_HINT_%s=%s"
.
printf
(
hint
.
up
().
replace
(
"-"
,
"_"
),
param
.
hints
[
hint
].
print
(
false
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment