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 Linux
ximper-unified-theme-switcher
Commits
82227444
Commit
82227444
authored
Aug 26, 2025
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
some fixes
parent
016024e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
main.go
service/src/main.go
+2
-16
No files found.
service/src/main.go
View file @
82227444
...
...
@@ -224,25 +224,11 @@ func main() {
Usage
:
"Unified theme switcher for desktop environments"
,
Flags
:
[]
cli
.
Flag
{
&
cli
.
BoolFlag
{
Name
:
"force-file-reaction"
,
Aliases
:
[]
string
{
"f"
},
Usage
:
"Force reaction to config file changes"
,
},
&
cli
.
BoolFlag
{
Name
:
"help"
,
Aliases
:
[]
string
{
"h"
},
Usage
:
"Show this help message"
,
Name
:
"force-file-reaction"
,
Aliases
:
[]
string
{
"f"
},
Usage
:
"Force reaction to config file changes"
,
},
},
Action
:
func
(
ctx
context
.
Context
,
cmd
*
cli
.
Command
)
error
{
if
cmd
.
Bool
(
"help"
)
{
fmt
.
Println
(
"Usage:"
,
cmd
.
Name
,
"[options]"
)
fmt
.
Println
(
"Options:"
)
fmt
.
Println
(
" --help, -h Show this help message"
)
fmt
.
Println
(
" --force-file-reaction, -f Force reaction to config file changes"
)
return
nil
}
forceFileReaction
:=
cmd
.
Bool
(
"force-file-reaction"
)
configPath
,
err
:=
getConfigPath
()
if
err
!=
nil
{
...
...
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