reload: Fix rofi bug.

This commit is contained in:
Dylan Araps 2018-01-01 08:19:57 +11:00
parent e59c7f866e
commit ea7320c4b7
2 changed files with 6 additions and 11 deletions

View File

@ -17,7 +17,7 @@ def xrdb(xrdb_files=None):
os.path.join(CACHE_DIR, "colors-rofi.Xresources")]
if shutil.which("xrdb") and OS != "Darwin":
subprocess.Popen(["xrdb", "-merge", *xrdb_files],
subprocess.Popen(["xrdb", "-merge", "-nocpp", *xrdb_files],
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL).wait()

View File

@ -1,10 +1,5 @@
#define BG #FF{background.strip}
#define HI #FF{color10.strip}
#define FG {foreground}
#define TX {background}
! State: bg, fg, bg2, hlbg, hlfg
rofi.color-normal: BG, FG, BG, HI, TX
rofi.color-active: BG, FG, BG, HI, TX
rofi.color-urgent: BG, HI, BG, HI, FG
rofi.color-window: BG, BG, BG
! Rofi
rofi.color-normal: {background}, {foreground}, {background}, {color10}, {background}
rofi.color-active: {background}, {foreground}, {background}, {color10}, {background}
rofi.color-urgent: {background}, {color10}, {background}, {color10}, {foreground}
rofi.color-window: {background}, {background}, {background}