about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-05-03 16:13:20 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-05-03 16:13:20 +0200
commit0b9b74f19aefe71bdfa351aa7387174de0cfd520 (patch)
tree1037fa165bb14437d00f4e19fe7e9386cef5104c
parentc18458e1194f4ed9730e7d015f1f13a2519f759d (diff)
downloaddots-0b9b74f19aefe71bdfa351aa7387174de0cfd520.tar.gz
dots-0b9b74f19aefe71bdfa351aa7387174de0cfd520.zip
Use picom
-rw-r--r--pkgs/dwm/config.h8
-rwxr-xr-xusers/pn.nix6
2 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/dwm/config.h b/pkgs/dwm/config.h
index 41928c4..b8d14ac 100644
--- a/pkgs/dwm/config.h
+++ b/pkgs/dwm/config.h
@@ -11,10 +11,10 @@ static const unsigned int systraypinning = 0;   /* 0: sloppy systray follows sel
 static const unsigned int systrayspacing = 2;   /* systray spacing */
 static const int systraypinningfailfirst = 1;   /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
 static const int showsystray        = 1;     /* 0 means no systray */
-static const unsigned int gappih    = 0;       /* horiz inner gap between windows */
-static const unsigned int gappiv    = 0;       /* vert inner gap between windows */
-static const unsigned int gappoh    = 0;       /* horiz outer gap between windows and screen edge */
-static const unsigned int gappov    = 0;       /* vert outer gap between windows and screen edge */
+static const unsigned int gappih    = 6;       /* horiz inner gap between windows */
+static const unsigned int gappiv    = 6;       /* vert inner gap between windows */
+static const unsigned int gappoh    = 6;       /* horiz outer gap between windows and screen edge */
+static const unsigned int gappov    = 6;       /* vert outer gap between windows and screen edge */
 static const int swallowfloating    = 0;        /* 1 means swallow floating windows by default */
 static const int smartgaps          = 0;        /* 1 means no outer gap when there is only one window */
 static const int showbar            = 1;        /* 0 means no bar */
diff --git a/users/pn.nix b/users/pn.nix
index 034ce78..2fc54c5 100755
--- a/users/pn.nix
+++ b/users/pn.nix
@@ -20,6 +20,8 @@ in
       extraGroups = [ "wheel" "video" "audio" ];
     };
 
+    environment.systemPackages = [ pkgs.picom ];
+
     home-manager.users.pn = {
       imports = [
         ../home.nix
@@ -41,8 +43,8 @@ in
           remaps &		# run the remaps script, switching caps/esc and more; check it for more info
           setbg &			# set the background with the `setbg` script
       #xrdb $\{XDG_CONFIG_HOME:-$HOME/.config}/Xresources &	# Uncomment to use Xresources colors/settings on startup
-          xcompmgr &
-      # picom &
+          #xcompmgr &
+          picom &
           dunst &			# dunst for notifications
           xset r rate 300 50 &	# Speed xrate up
       # unclutter &		# Remove mouse when idle