diff options
| author | Nikita Langer <nikitalanger@icloud.com> | 2026-11-12 20:23:46 +0100 |
|---|---|---|
| committer | Nikita Langer <nikitalanger@icloud.com> | 2026-11-12 20:23:46 +0100 |
| commit | 046ca337e4d77d95b13b0b4290740c6f26305fd9 (patch) | |
| tree | 3aa8725deb19e7a24757eeed662ee087bbf7b698 | |
| parent | 11e470ab4254304192997834e26166cfddc78f80 (diff) | |
| download | dwm-046ca337e4d77d95b13b0b4290740c6f26305fd9.tar.gz dwm-046ca337e4d77d95b13b0b4290740c6f26305fd9.tar.bz2 dwm-046ca337e4d77d95b13b0b4290740c6f26305fd9.tar.xz dwm-046ca337e4d77d95b13b0b4290740c6f26305fd9.zip | |
desktop-portal
| -rw-r--r-- | config.def.h | 4 | ||||
| -rw-r--r-- | dwm.c | 8 | ||||
| -rwxr-xr-x | startdwm.sh | 2 |
3 files changed, 8 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h index d9c3965..008f8cf 100644 --- a/config.def.h +++ b/config.def.h @@ -16,7 +16,7 @@ /* appearance */ static const int vertpad = 5; /* vertical padding of bar */ static const int sidepad = 5; /* horizontal padding of bar */ -static const unsigned int baralpha = 0xd0; +static const unsigned int baralpha = 0xee; static const unsigned int borderalpha = OPAQUE; static const unsigned int borderpx = 2; /* border pixel of windows */ static const unsigned int snap = 5; /* snap pixel */ @@ -51,7 +51,7 @@ static const char col_red[] = "#ff0000"; static const char col_cyan[] = "#005577"; static const unsigned int alphas[][3] = { /* fg bg border */ - [SchemeNorm] = { OPAQUE, baralpha, borderalpha }, + [SchemeNorm] = { OPAQUE, baralpha, 0x00 }, [SchemeSel] = { OPAQUE, baralpha, borderalpha }, }; @@ -2099,9 +2099,9 @@ setup(void) cursor[CurMove] = drw_cur_create(drw, XC_fleur); /* init appearance */ scheme = ecalloc(LENGTH(colors), sizeof(Clr *)); - unsigned int alphas[] = {borderalpha, baralpha, OPAQUE}; + // unsigned int alphas[] = {borderalpha, baralpha, OPAQUE}; for (i = 0; i < LENGTH(colors); i++) - scheme[i] = drw_scm_create(drw, colors[i], alphas, 3); + scheme[i] = drw_scm_create(drw, colors[i], alphas[i], 3); /* init system tray */ updatesystray(); /* init bars */ @@ -3032,9 +3032,9 @@ xrdb(const Arg *arg) { loadxrdb(); int i; - unsigned int alphas[] = {borderalpha, baralpha, OPAQUE}; + // unsigned int alphas[] = {borderalpha, baralpha, OPAQUE}; for (i = 0; i < LENGTH(colors); i++) - scheme[i] = drw_scm_create(drw, colors[i], alphas, 3); + scheme[i] = drw_scm_create(drw, colors[i], alphas[i], 3); focus(NULL); arrange(NULL); } diff --git a/startdwm.sh b/startdwm.sh index efb2fec..5c80e5c 100755 --- a/startdwm.sh +++ b/startdwm.sh @@ -25,6 +25,8 @@ sh -c "sleep 5 && xsettingsd && pkill xsettingsd && xsettingsd" & dwm +/usr/lib/polkit-kde-authentication-agent-1 & + # while true; do # dwm >/dev/null 2>&1 # done |
