]> git.rmz.io Git - dotfiles.git/commitdiff
replace cairo-compmgr with compton
authorSamir Benmendil <samir.benmendil@gmail.com>
Mon, 17 Jun 2013 00:04:57 +0000 (02:04 +0200)
committerSamir Benmendil <samir.benmendil@gmail.com>
Mon, 17 Jun 2013 00:07:49 +0000 (02:07 +0200)
Makefile
awesome/autostart.lua
compton.conf [new file with mode: 0644]
xprofile [new file with mode: 0644]

index 842770875e01a65c248f56c0caa050f788b8e45f..7ffd817cc76de0cec764dbe5272781edaaef4466 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 APATH := $(realpath .)
 
 FILES := bin
 APATH := $(realpath .)
 
 FILES := bin
-DOTFILES := aliases bash* conky* flexget git* vim* xbindkeysrc Xmodmap zsh*
-CONFIGFILES := retroarch
+DOTFILES := aliases bash* conky* flexget git* vim* xbindkeysrc Xmodmap xprofile zsh*
+CONFIGFILES := retroarch compton.conf
 
 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
 
 .PHONY: install $(FILES) $(DOTFILES) $(CONFIGFILES)
 install: $(FILES) $(DOTFILES) $(CONFIGFILES)
index cbe43bacffdafeb96f6ec2fa9b0c7f942b0191e3..ab9fbca361cd767cb114a61cbf8368e66061bedd 100644 (file)
@@ -1,10 +1,6 @@
 local utils = require("utils")
 
 local utils = require("utils")
 
---run_once("xscreensaver","-no-splash")
---run_once("pidgin",nil,nil,2)
---run_once("wicd-client",nil,"/usr/bin/python2 -O /usr/share/wicd/gtk/wicd-client.py")
 utils.run_once("xmodmap", "~/.Xmodmap")
 utils.run_once("xmodmap", "~/.Xmodmap")
-utils.run_once("cairo-compmgr", "&")
 utils.run_once("qupzilla")
 utils.run_once("kopete")
 utils.run_once("quassel")
 utils.run_once("qupzilla")
 utils.run_once("kopete")
 utils.run_once("quassel")
diff --git a/compton.conf b/compton.conf
new file mode 100644 (file)
index 0000000..e5be9e6
--- /dev/null
@@ -0,0 +1,40 @@
+# Shadow
+shadow = true;                  # Enabled client-side shadows on windows.
+no-dock-shadow = true;          # Avoid drawing shadows on dock/panel windows.
+no-dnd-shadow = true;           # Don't draw shadows on DND windows.
+clear-shadow = true;            # Zero the part of the shadow's mask behind the window (experimental).
+shadow-radius = 7;              # The blur radius for shadows. (default 12)
+shadow-offset-x = -7;           # The left offset for shadows. (default -15)
+shadow-offset-y = -7;           # The top offset for shadows. (default -15)
+# shadow-opacity = 0.7;         # The translucency for shadows. (default .75)
+# shadow-red = 0.0;             # Red color value of shadow. (0.0 - 1.0, defaults to 0)
+# shadow-green = 0.0;           # Green color value of shadow. (0.0 - 1.0, defaults to 0)
+# shadow-blue = 0.0;            # Blue color value of shadow. (0.0 - 1.0, defaults to 0)
+shadow-exclude = [ "n:e:Notification" ];        # Exclude conditions for shadows.
+# shadow-exclude = "n:e:Notification";
+shadow-ignore-shaped = true;
+
+# Opacity
+menu-opacity = 0.9;                     # The opacity for menus. (default 1.0)
+inactive-opacity = 1.0;                 # Opacity of inactive windows. (0.1 - 1.0)
+#frame-opacity = 0.8;                   # Opacity of window titlebars and borders. (0.1 - 1.0)
+inactive-opacity-override = true;       # Inactive opacity set by 'inactive-opacity' overrides value of _NET_WM_OPACITY.
+
+# Fading
+fading = true;                  # Fade windows during opacity changes.
+# fade-delta = 30;              # The time between steps in a fade in milliseconds. (default 10).
+fade-in-step = 0.03;            # Opacity change between steps while fading in. (default 0.028).
+fade-out-step = 0.03;           # Opacity change between steps while fading out. (default 0.03).
+# no-fading-openclose = true;   # Fade windows in/out when opening/closing.
+
+# Other
+inactive-dim = 0.2;            # Dim inactive windows. (0.0 - 1.0, defaults to 0).
+mark-wmwin-focused = true;      # Try to detect WM windows and mark them as active.
+mark-ovredir-focused = true;
+detect-rounded-corners = true;
+
+# Window type settings
+wintypes:
+{
+  tooltip = { fade = true; shadow = false; opacity = 0.75; };
+};
diff --git a/xprofile b/xprofile
new file mode 100644 (file)
index 0000000..c835729
--- /dev/null
+++ b/xprofile
@@ -0,0 +1 @@
+compton -b --config ~/.config/compton.conf