我在 XMonad 中使用 Gentoo 并在.Xresources
文件中设置所有颜色。问题在于,对于某些应用程序设置*.background
并且*.foreground
不够,因为它们覆盖了某些字段的设置。下面是一个错误的例子:
背景应该类似于深色窗口元素,但它是白色和灰色的。
设置对话框窗口颜色的其他一些 xresources 变量是什么?解决这个问题的正确方法是什么?
我当前的.Xresources
文件:
! Solarized colorscheme for Xresources
! ====================================
! To choose between light/dark bakground:
! - Define the choice in ``.Xresources`` by hardcoding
! #define SOLARIZED_LIGHT
! or
! #define SOLARIZED_DARK
! - Define the symbol when loading ``.Xresources`` with ``xrdb``:
! $ xrdb -DSOLARIZED_LIGHT -merge ~/.Xresources
#if !defined(SOLARIZED_LIGHT) && !defined(SOLARIZED_DARK)
#define SOLARIZED_DARK
#elif defined(SOLARIZED_LIGHT) && defined(SOLARIZED_DARK)
#undef SOLARIZED_LIGHT
#endif
! Define Solarized …
Run Code Online (Sandbox Code Playgroud)