dylanaraps / pywal

🎨 Generate and change color-schemes on the fly.
MIT License
8.21k stars 311 forks source link

i3 borders and dmenu are all white #646

Open autoteelar opened 2 years ago

autoteelar commented 2 years ago

i put this in my config

Set colors from Xresources

Change 'color7' and 'color2' to whatever colors you want i3 to use

from the generated scheme.

NOTE: The '#f0f0f0' in the lines below is the color i3 will use if

it fails to get colors from Xresources for some reason.

set_from_resource $fg i3wm.color7 #f0f0f0 set_from_resource $bg i3wm.color2 #f0f0f0

class border backgr. text indicator child_border

client.focused $bg $bg $fg $bg $bg client.focused_inactive $bg $bg $fg $bg $bg client.unfocused $bg $bg $fg $bg $bg client.urgent $bg $bg $fg $bg $bg client.placeholder $bg $bg $fg $bg $bg

client.background $bg

PROTIP: You can also dynamically set dmenu's colors this way:

bindsym $mod+d exec dmenu_run -nb "$fg" -nf "$bg" -sb "$bg" -sf "$fg"

and the borders and dmenu are all completely white, why is it doing this and how can i fix it?

arcmags commented 2 years ago

What does your ~/.Xresources file look like?

autoteelar commented 2 years ago

i dont seem to have one

arcmags commented 2 years ago

That's your problem. How is it supposed to get colors from ~/.Xresources if you don't have one?

You need to either run wal before you start i3 to export color values to the xresources database, or you need to create a ~/.Xresources file that sources ~/.cache/wal/colors.Xresources, or you need to copy ~/.cache/wal/colors.Xresources to ~/.Xresources after running wal.

autoteelar commented 2 years ago

hi, it happened again but this time i still have the xresources

autoteelar commented 2 years ago

! X colors. ! Generated by 'wal' foreground: #e5e4e6 background: #0B080A .foreground: #e5e4e6 .background: #0B080A emacsforeground: #e5e4e6 emacsbackground: #0B080A URxvtforeground: #e5e4e6 XTermforeground: #e5e4e6 UXTermforeground: #e5e4e6 URxvtbackground: [100]#0B080A XTermbackground: #0B080A UXTermbackground: #0B080A URxvtcursorColor: #e5e4e6 XTermcursorColor: #e5e4e6 UXTermcursorColor: #e5e4e6 URxvtborderColor: [100]#0B080A

! Colors 0-15. .color0: #0B080A color0: #0B080A .color1: #584fa4 color1: #584fa4 .color2: #a161b2 color2: #a161b2 .color3: #4f8ea4 color3: #4f8ea4 .color4: #c2aa81 color4: #c2aa81 .color5: #d6acaa color5: #d6acaa .color6: #b2cdda color6: #b2cdda .color7: #e5e4e6 color7: #e5e4e6 .color8: #a09fa1 color8: #a09fa1 .color9: #584fa4 color9: #584fa4 .color10: #a161b2 color10: #a161b2 .color11: #4f8ea4 color11: #4f8ea4 .color12: #c2aa81 color12: #c2aa81 .color13: #d6acaa color13: #d6acaa .color14: #b2cdda color14: #b2cdda .color15: #e5e4e6 color15: #e5e4e6

! Black color that will not be affected by bold highlighting. .color66: #0B080A color66: #0B080A

! Xclock colors. XClockforeground: #e5e4e6 XClockbackground: #0B080A XClockmajorColor: rgba:e5/e4/e6/ff XClockminorColor: rgba:e5/e4/e6/ff XClockhourColor: rgba:e5/e4/e6/ff XClockminuteColor: rgba:e5/e4/e6/ff XClock*secondColor: rgba:e5/e4/e6/ff

! Set depth to make transparency work. URxvt*depth: 32

autoteelar commented 2 years ago

everything is white, dmenu and all, the same config in i3 worked before

Craeckie commented 1 year ago

Make sure you have xrdb installed, in Arch the package is xorg-xrdb. The wiki doesn't even mention it: https://github.com/dylanaraps/pywal/wiki/Customization#i3