Browse Source

Fix trayer, remove old compton config

Josh Bicking 7 years ago
parent
commit
538e640a5e
3 changed files with 5 additions and 73 deletions
  1. 0 69
      i3/compton.conf.got
  2. 2 3
      xmonad/xmobarrc
  3. 3 1
      xmonad/xmonad.hs

+ 0 - 69
i3/compton.conf.got

@@ -1,69 +0,0 @@
-backend = "glx";
-vsync = "opengl-swc";
-
-shadow = true;
-no-dock-shadow = true;
-no-dnd-shadow = true;
-clear-shadow = true;
-
-shadow-radius = 10;
-shadow-offset-x = -5;
-shadow-offset-y = 0;
-shadow-opacity = 0.8;
-shadow-red = 0.11;
-shadow-green = 0.12;
-shadow-blue = 0.13;
-shadow-exclude = [
-  "name = 'Notification'",
-  "_GTK_FRAME_EXTENTS@:c",
-  "class_g = 'i3-frame'",
-  "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
-  "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'",
-  "!I3_FLOATING_WINDOW@:c"
-];
-shadow-ignore-shaped = true;
-
-alpha-step = 0.06;
-blur-background = false;
-blur-background-fixed = true;
-blur-kern = "7x7box";
-blur-background-exclude = [
-  "class_g = 'i3-frame'",
-  "window_type = 'dock'",
-  "window_type = 'desktop'",
-  "_GTK_FRAME_EXTENTS@:c"
-];
-
-opacity-rule = [
-  "97:class_g = 'Termite' && !_NET_WM_STATE@:32a",
-  "0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
-  "90:_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'"
-];
-
-fading = false;
-fade-delta = 7;
-fade-in-step = 0.05;
-fade-out-step = 0.05;
-fade-exclude = [];
-
-mark-wmwin-focused = true;
-mark-ovredir-focused = true;
-use-ewmh-active-win = true;
-detect-rounded-corners = true;
-detect-client-opacity = true;
-refresh-rate = 0;
-dbe = false;
-paint-on-overlay = true;
-glx-no-stencil = true;
-glx-copy-from-front = false;
-glx-swap-method = "undefined";
-sw-opti = true;
-unredir-if-possible = false;
-focus-exclude = [];
-detect-transient = true;
-detect-client-leader = true;
-invert-color-include = [];
-
-wintypes: {
-    tooltip = { fade = true; shadow = false; opacity = 1.00; focus = true; };
-};

+ 2 - 3
xmonad/xmobarrc

@@ -4,7 +4,7 @@ Config {
      font = "xft:SFNS Display:size=11,FontAwesome:size=11"
    , bgColor =      "black"
    , fgColor =      "#A8A8A8"
-   , position =     Top
+   , position = TopW L 90
    , border =       BottomB
    , borderColor =  "#646464"
 
@@ -83,9 +83,8 @@ Config {
                                        , "-o"	, "⚇ <left>% (<timeleft>)"
                                        -- AC "on" status
                                        , "-O"	, "⚡ <left>% (<timeleft>)"
-                                       , "-o"	, "Little o <left>% (<timeleft>)"
                                        -- charged status
-                                       , "-i"	, "💯"
+                                       , "-i"	, "<left>%"
                              ] 50
 
         -- time and date indicator

+ 3 - 1
xmonad/xmonad.hs

@@ -41,7 +41,9 @@ startup :: X ()
 startup = do
   spawn "feh --bg-scale ~/Owncloud/Backgrounds/Xmbindings.png"
   spawn "owncloud"
-  spawn "trayer --transparent true --alpha 0 --tint 0x00000000 --SetDockType true --expand true --edge top --align right --width 15 --height 18"
+  spawn "trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --alpha 0 --tint 0x000000 --height 22"
+  -- spawn "trayer --transparent true --alpha 0 --tint 0x00000000 --SetDockType true --expand true --edge top --align right --width 15 --height 18"
+  -- spawn "stalonetray -geometry 1x1+1900 -bg '#000000' --kludges use_icons_hints --grow-gravity NE --icon-gravity NE -i 20 -t false"
   spawn "xfce4-clipman"
   spawn "xbacklight -set 12"
   spawn "compton"