From 3f2682e2f475abb3864c093e854d065b1da7d7e2 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 11 Nov 2024 09:55:18 +0100 Subject: [PATCH] Fix picom sestting messed-up by nvidia --- .xinitrc | 8 +++++++- system/default.nix | 7 ++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.xinitrc b/.xinitrc index dce323c..f529db3 100644 --- a/.xinitrc +++ b/.xinitrc @@ -43,9 +43,15 @@ if command -v dbus-update-activation-environment >/dev/null 2>&1; then dbus-update-activation-environment DISPLAY XAUTHORITY fi +if [ "$HOSTNAME" = Bacon ]; then + xset s off -dpms + picom -f --backend glx & +else + picom -f --backend xrender & +fi # ↓ Wm startup -picom -f --backend xrender& flameshot & dunst & + exec qtile start diff --git a/system/default.nix b/system/default.nix index 390b41b..c011449 100644 --- a/system/default.nix +++ b/system/default.nix @@ -120,11 +120,6 @@ tumbler.enable = true; openssh.enable = true; - picom = { - enable = true; - fade = true; - }; - pipewire = { enable = true; alsa.enable = true; @@ -211,6 +206,8 @@ man-pages man-pages-posix + + picom-pijulius ]; };