enable picom

This commit is contained in:
♥ Minnie ♥ 2023-07-10 07:15:32 +08:00
parent 299e28e2aa
commit 31f62964e0
3 changed files with 8 additions and 4 deletions

View file

@ -1,7 +1,9 @@
{ inputs, pkgs, ... }: { inputs, pkgs, ... }:
{ {
imports = [ ]; imports = [
./picom.nix
];
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: prev: { (final: prev: {

View file

@ -1,4 +1,4 @@
{ inputs, outputs, lib, config, pkgs, ... }: { ... }:
{ {
services.picom = { services.picom = {
@ -8,7 +8,6 @@
settings = { settings = {
corner-radius = 10; corner-radius = 10;
rounded-corners-exclude = [ rounded-corners-exclude = [
# "window_type = 'normal'"
"window_type = 'dock'" "window_type = 'dock'"
]; ];
}; };

View file

@ -4,7 +4,10 @@
xrandr --output HDMI-A-0 --mode 1920x1080 --output DisplayPort-0 --mode 2560x1440 --right-of HDMI-A-0 xrandr --output HDMI-A-0 --mode 1920x1080 --output DisplayPort-0 --mode 2560x1440 --right-of HDMI-A-0
# Apply our wallpaper # Apply our wallpaper
feh --bg-scale /etc/nixos/assets/chinatown.png feh --bg-scale ~/dotfiles.nix/assets/chinatown.png
# Enable our compositor
picom -b
# Launch our window manager # Launch our window manager
exec xmonad exec xmonad