You are not logged in.
Pages: 1
i have been working some more on this and i think it deserves its own thread now...
What's the idea of xappspicker?
Many applications are stylable, but do not follow your current GTK theme's style.
The idea is to extract a few key colors, namely
base foreground
base background
selected text foreground
selected text background
from your current GTK2 theme and apply them to these applications.
That is, if you like and use apps like tint2, dmenu, or Xapps like xpdf, xfontsel, xsetroot (and its use of 2-tone bitmaps).What does xappspicker do ?
By default, not much. It will only change background and foreground colors for some X apps, namely XFontSel, Display, Bitmap, Xmag, Xman, Xpdf, Xscreensaver.
There are many modules that aren't enabled by default.
You should copy the config file from the script's folder to $HOME/.config/xappspicker/config and make your adjustments.
originates from this thread.
whatever happened to kleiner_hussar?
Last edited by ohnonot (2021-07-03 10:22:02)
Offline
Nice one.
But needs to replace strong quoting with weak quoting so that variables get replaced by their values:
modified xappspicker
@@ -283,7 +283,7 @@ adjust_xsetroot "$xsetrootfg" "$xsetrootbg"
# which xapps will be affected?
# un/comment or add desired values.
# please keep in mind that a leading '!' means 'commented out'
-adjust_xapps '!!! background values
+adjust_xapps "!!! background values
! XCalc.ti.Command.background: ${fgbg[1]}
! XCal*background: ${fgbg[1]}
XFontSel*background: ${fgbg[1]}
@@ -309,7 +309,7 @@ Xmag*helpLabel*foreground: ${fgbg[1]}
Xman*foreground: ${fgbg[0]}
xpdf*foreground: ${fgbg[0]}
xscreensaver*foreground: ${fgbg[0]}
-! *foreground: ${fgbg[0]}'
+! *foreground: ${fgbg[0]}"
# adjusting dmenu is simpler, we take all 4 colors from the array:
# base fore/background, selected text fore/background.
Offline
i am a little embarassed about the state the script was in when i first published it.
i have made many changes.
it now sources a config file that makes it easy to switch functionality on/off.
i daresay it is pretty reliable now but i still have to test it on different systems.
also documentation needs more work.
Offline
Pages: 1