You are not logged in.

#1 2019-12-09 17:04:44

NunchuckBradley
Member
Registered: 2019-12-09
Posts: 6

[SOLVED] [DWM] xcompmbr green(ish) border only on terminal emulators

[SELF-SOLVED] For anyone else having troubles with terminal transparency and DWM, I figured out that you have to have the alpha patch they have. Make sure that you have this patch and a composite manager like xcompmgr or compton is running.
https://dwm.suckless.org/patches/alpha/

Hello Arch Linux forum, this will be my first post, and a questions one at that because I am noob and don't know much about these systems.

Using Suckless DWM.

Earlier today, my border colors were working fine, then I went to change them,  make and install, and a green-ish semi-transparent border has replaced that color (col_cyan), I changed it back and it didnt work.
If I turn off xcompmbr, the border colors are correct, but my true transparency for urxvt disappears. This seems to happen on all terminal emulators I have tried. urxvt, xterm, kitty, st, but other windows work fine (discord, gpick, gimp).

I have DWM installed, xcompmbr and urxvt.

Border Color I want (xcompmgr off, no transparency)
https://snipboard.io/5tU0ap.jpg

Border Color Green, (xcompmgr on with transparency)
https://snipboard.io/SGhqdH.jpg

config.h

/* See LICENSE file for copyright and license details. */

/* appearance */
static const unsigned int borderpx  = 10;        /* border pixel of windows */
static const unsigned int gappx     = 10;        /* gaps between windows */
static const unsigned int snap      = 32;       /* snap pixel */
static const int showbar            = 1;        /* 0 means no bar */
static const int topbar             = 1;        /* 0 means bottom bar */
static const char *fonts[]          = { "monospace:size=12" };
static const char dmenufont[]       = "monospace:size=12";
static const char col_gray1[]       = "#b47e68";
static const char col_gray2[]       = "#ea64b7";
static const char col_gray3[]       = "#eeeeee";
static const char col_gray4[]       = "#ffffff";
static const char col_cyan[]        = "#d39278";
static const char *colors[][3]      = {
	/*               fg         bg         border   */
	[SchemeNorm] = { col_gray4, col_gray1, "#666666" },
	[SchemeSel]  = { col_gray4, col_cyan,  "#f57747"  },
};

.Xdefaults

urxvt.termName: rxvt-unicode
urxvt.scrollBar: false

urxvt.font: xft:DejaVu Sans Mono:pixelsize=20
urxvt.boldFont: xft:DejaVu Sans Mono:pixelsize=20:weight=bold

urxvt.saveLines: 1000000
urxvt.perl-ext-common: default,matcher,font-size

!! Open urls in browser with Control-Click
urxvt.urlLauncher: /usr/bin/opera
urxvt.matcher.button: C1

!! Change font size on Control-Plus/Minus
URxvt.keysym.C-Up:     font-size:increase
URxvt.keysym.C-Down:   font-size:decrease
URxvt.keysym.C-equal:  font-size:reset

!! Tango color theme
!! Strange - it matches tango from gnome-terminal, but looks different
URxvt.color0: rgb:00/00/00
URxvt.color1: rgb:CC/00/00
URxvt.color2: rgb:4E/9A/06
URxvt.color3: rgb:C4/A0/00
URxvt.color4: rgb:34/65/A4
URxvt.color5: rgb:75/50/7B
URxvt.color6: rgb:06/98/9A
URxvt.color7: rgb:D3/D7/CF
URxvt.color8: rgb:55/57/53
URxvt.color9: rgb:EF/29/29
URxvt.color10: rgb:8A/E2/34
URxvt.color11: rgb:FC/E9/4F
URxvt.color12: rgb:72/9F/CF
URxvt.color13: rgb:AD/7F/A8
URxvt.color14: rgb:34/E2/E2
URxvt.color15: rgb:EE/EE/EC
URxvt.colorBD: rgb:ff/ff/ff

URxvt*foreground: white

URxvt*depth: 32
URxvt*background: [90]#2d2212

.xinitrc

xcompmgr &
dwmbar &

while true; do
        /usr/local/bin/dwm 2> /dev/null
done

Last edited by NunchuckBradley (2019-12-10 23:53:43)

Offline

Board footer

Powered by FluxBB