Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
branding-etersoft-ximper
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
branding-etersoft-ximper
Commits
a06afc48
Commit
a06afc48
authored
Jun 07, 2011
by
Sergey V Turchin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- get colors from KDE4
parent
0a805b00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
configure.ac
configure.ac
+3
-3
fetch_color
fetch_color
+22
-1
No files found.
configure.ac
View file @
a06afc48
AC_INIT( [branding], [0.1], [http://bugzilla.altlinux.ru] )
PROGRESS_COLOR=`./fetch_color
selectBackground
` #MIDDLE_COLOR_DEC
TITLE_COLOR=`./fetch_color
handle
`
INACTIVE_COLOR=`./fetch_color
inactiveTitleBtnBg
`
PROGRESS_COLOR=`./fetch_color
Colors:Selection::BackgroundNormal
` #MIDDLE_COLOR_DEC
TITLE_COLOR=`./fetch_color
WM::activeBackground
`
INACTIVE_COLOR=`./fetch_color
WM::inactiveBackground
`
LIGHT_COLOR_HEX=F5F5F5 #new
MIDDLE_COLOR_HEX=30c4a2 #new
DARK_COLOR_HEX=005650
...
...
fetch_color
View file @
a06afc48
#!/bin/bash
grep
$1
kde3-settings/apps/kdisplay/color-schemes/scheme.kcsrc.in |
cut
-d
=
-f
2|
tr
,
' '
| xargs
printf
"%x%x%x
\n
"
SECTION
=
`
echo
$1
|
sed
's|::.*||'
`
PARAMETER
=
`
echo
$1
|
sed
's|.*::||'
`
VALUE
=
SECTION_FOUND
=
while
read
LINE
do
if
[
-z
"
$SECTION_FOUND
"
]
;
then
if
[
"
$LINE
"
==
"[
$SECTION
]"
]
;
then
SECTION_FOUND
=
1
else
continue
fi
fi
if
echo
"
$LINE
"
|
grep
-q
"^
${
PARAMETER
}
="
;
then
VALUE
=
`
echo
"
$LINE
"
|
sed
's|.*=||'
`
break
fi
done
< graphics/kde4/kdm-color-scheme.colors
echo
"
$VALUE
"
|
tr
,
' '
| xargs
printf
"%0.2x%0.2x%0.2x
\n
"
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