Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-unified-theme-switcher
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-unified-theme-switcher
Commits
daf51c9b
Commit
daf51c9b
authored
Jun 30, 2024
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
implemented: "apply" button and the correct exiting
parent
0ee4fdfd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
ximper-unified-theme-switcher-gui.sh
ximper-unified-theme-switcher-gui.sh
+10
-1
No files found.
ximper-unified-theme-switcher-gui.sh
View file @
daf51c9b
...
...
@@ -93,7 +93,16 @@ NEW_SETTINGS=$(yad --form --columns=2 \
--field
=
"Kvantum light theme:CB"
"
$(
kv-themes-list light
)
"
\
--field
=
"Kvantum dark theme:CB"
"
$(
kv-themes-list dark
)
"
\
--field
=
"GTK3 light theme:CB"
"
$(
gtk3-themes-list light
)
"
\
--field
=
"GTK3 dark theme:CB"
"
$(
gtk3-themes-list dark
)
"
)
--field
=
"GTK3 dark theme:CB"
"
$(
gtk3-themes-list dark
)
"
\
\
--button
=
"yad-apply:0"
\
--button
=
"yad-cancel:1"
\
)
if
[[
$?
==
252
||
$?
==
1
]]
;
then
echo
"EXIT"
exit
0
fi
IFS
=
'|'
read
-r
KV_LIGHT KV_DARK GTK3_LIGHT GTK3_DARK
<<<
"
$NEW_SETTINGS
"
shell_config_set
"
$EDITABLE_CONFIG_FILE
"
KV_LIGHT_THEME
"
$KV_LIGHT
"
...
...
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