diff options
author | Julian T <julian@jtle.dk> | 2022-12-18 23:45:33 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2022-12-18 23:45:33 +0100 |
commit | 4343bfddc2788fcba86be1fa4e05e45e926756a3 (patch) | |
tree | d6264874ae885e329784d401558ee1ce5ca26a3f | |
parent | ecb2718cd425cea1fa274951734998ddd6f5efb4 (diff) |
Add xresouces
-rw-r--r-- | mixed/.Xresources | 31 | ||||
-rw-r--r-- | polybar/.config/polybar/config | 20 | ||||
-rwxr-xr-x | xinit/Scripts/xlaunchrc | 2 |
3 files changed, 43 insertions, 10 deletions
diff --git a/mixed/.Xresources b/mixed/.Xresources new file mode 100644 index 0000000..66bd790 --- /dev/null +++ b/mixed/.Xresources @@ -0,0 +1,31 @@ + +#define WHITE #FBFAF6 +#define BLACK #330036 +#define DARK #393E41 +#define LRED #FD2629 +#define LBLUE #1AA2C9 +#define DBLUE #3C6997 +#define PURPLE #791E94 +#define GREEN #0A8754 +#define YELLO #F9DB6D +#define UNFOCUS #C6EBBE +#define GRAY #707880 + +polybar.background: BLACK +polybar.foreground: WHITE +polybar.primary: LBLUE +polybar.secondary: GREEN +polybar.alert: LRED +polybar.disabled: GRAY + +twobwm.border_width: 6 +twobwm.outer_border: 3 +twobwm.inverted_colors: false +twobwm.enable_compton: true +twobwm.focus_color: LBLUE +twobwm.unfocus_color: DARK +twobwm.fixed_color: LRED +twobwm.unkill_color: YELLO +twobwm.outer_border_color: DBLUE +twobwm.fixed_unkill_color: PURPLE + diff --git a/polybar/.config/polybar/config b/polybar/.config/polybar/config index 879ff16..645ee70 100644 --- a/polybar/.config/polybar/config +++ b/polybar/.config/polybar/config @@ -17,13 +17,13 @@ ;========================================================== [colors] -background = #282A2E -background-alt = #373B41 -foreground = #C5C8C6 -primary = #F0C674 -secondary = #8ABEB7 -alert = #A54242 -disabled = #707880 +background = ${xrdb:polybar.background} +background-alt = ${xrdb:polybar.background} +foreground = ${xrdb:polybar.foreground} +primary = ${xrdb:polybar.primary} +secondary = ${xrdb:polybar.secondary} +alert = ${xrdb:polybar.alert} +disabled = ${xrdb:polybar.disabled} [bar/main] width = 100% @@ -124,17 +124,17 @@ type = internal/network interval = 5 format-connected = <label-connected> format-disconnected = <label-disconnected> -label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected +label-disconnected = %{F#1AA2C9}%ifname%%{F#707880} disconnected [module/wlan] inherit = network-base interface-type = wireless -label-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip% +label-connected = %{F#1AA2C9}%ifname%%{F-} %essid% %local_ip% [module/eth] inherit = network-base interface-type = wired -label-connected = %{F#F0C674}%ifname%%{F-} %local_ip% +label-connected = %{F#1AA2C9}%ifname%%{F-} %local_ip% [module/date] type = internal/date diff --git a/xinit/Scripts/xlaunchrc b/xinit/Scripts/xlaunchrc index 1feaa2f..558c7d8 100755 --- a/xinit/Scripts/xlaunchrc +++ b/xinit/Scripts/xlaunchrc @@ -7,6 +7,8 @@ xset b off setxkbmap -layout us -variant altgr-intl +xrdb ~/.Xresources + # xmodmap .Xmodmap #xcape -e "Control_R=Escape" |