mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-25 17:33:09 +01:00
reload: Fix rofi bug.
This commit is contained in:
parent
e59c7f866e
commit
ea7320c4b7
@ -17,7 +17,7 @@ def xrdb(xrdb_files=None):
|
|||||||
os.path.join(CACHE_DIR, "colors-rofi.Xresources")]
|
os.path.join(CACHE_DIR, "colors-rofi.Xresources")]
|
||||||
|
|
||||||
if shutil.which("xrdb") and OS != "Darwin":
|
if shutil.which("xrdb") and OS != "Darwin":
|
||||||
subprocess.Popen(["xrdb", "-merge", *xrdb_files],
|
subprocess.Popen(["xrdb", "-merge", "-nocpp", *xrdb_files],
|
||||||
stdout=subprocess.DEVNULL,
|
stdout=subprocess.DEVNULL,
|
||||||
stderr=subprocess.DEVNULL).wait()
|
stderr=subprocess.DEVNULL).wait()
|
||||||
|
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
#define BG #FF{background.strip}
|
! Rofi
|
||||||
#define HI #FF{color10.strip}
|
rofi.color-normal: {background}, {foreground}, {background}, {color10}, {background}
|
||||||
#define FG {foreground}
|
rofi.color-active: {background}, {foreground}, {background}, {color10}, {background}
|
||||||
#define TX {background}
|
rofi.color-urgent: {background}, {color10}, {background}, {color10}, {foreground}
|
||||||
|
rofi.color-window: {background}, {background}, {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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user