enable picom
This commit is contained in:
		
							parent
							
								
									299e28e2aa
								
							
						
					
					
						commit
						31f62964e0
					
				
					 3 changed files with 8 additions and 4 deletions
				
			
		|  | @ -1,7 +1,9 @@ | ||||||
| { inputs, pkgs, ... }: | { inputs, pkgs, ... }: | ||||||
| 
 | 
 | ||||||
| { | { | ||||||
|   imports = [ ]; |   imports = [ | ||||||
|  |     ./picom.nix | ||||||
|  |   ]; | ||||||
| 
 | 
 | ||||||
|   nixpkgs.overlays = [ |   nixpkgs.overlays = [ | ||||||
|     (final: prev: { |     (final: prev: { | ||||||
|  |  | ||||||
|  | @ -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'" | ||||||
|       ]; |       ]; | ||||||
|     }; |     }; | ||||||
|  | @ -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 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue