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
1
Merge Requests
1
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-unified-theme-switcher
Commits
84f5734f
Commit
84f5734f
authored
Dec 04, 2024
by
Алексей Николаевич Пахомкин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ximper-unified-theme-switcher-service
parent
a9897544
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
ximper-unified-theme-switcher-service
service/bin/ximper-unified-theme-switcher-service
+8
-0
No files found.
service/bin/ximper-unified-theme-switcher-service
View file @
84f5734f
...
...
@@ -7,6 +7,12 @@ CONFIG_FILE="/etc/ximper-unified-theme-switcher/themes"
HOME_CONFIG_DIR
=
"
$HOME
/.config/ximper-unified-theme-switcher"
HOME_CONFIG_FILE
=
"
$HOME_CONFIG_DIR
/themes"
#Значение текущего режима цветовой схемы
{
"current_theme"
:
"light"
}
# Функция для создания конфига в домашнем каталоге (TODO: перенести в GUI)
create_home_config
()
{
mkdir
-p
"
$HOME_CONFIG_DIR
"
...
...
@@ -134,6 +140,8 @@ main() {
else
echo
"
$THEME
"
check_and_update_themes
CURRENT_THEME
=
$(
jq
-r
'.current_theme'
config.json
)
check_and_update_themes
"
$CURRENT_THEME
"
fi
fi
done
...
...
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