diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf index 0b742d5..a997388 100644 --- a/.config/picom/picom.conf +++ b/.config/picom/picom.conf @@ -1,4 +1,45 @@ # ~/.config/picom/picom.conf +# only works with https://github.com/jonaburg/picom + +transition-length = 200; +transition-pow-x = 0.05; +transition-pow-y = 0.05; +transition-pow-w = 0.1; +transition-pow-h = 0.1; +size-transition = true; + +shadow = false; + +fading = true; +fade-in-step = 0.08; +fade-out-step = 0.08; + +active-opacity = 1.0; +inactive-opacity = 0.8; + +active-opacity-override = false; +inactive-opacity-override = false; + +popup_menu = { opacity = 0.8; }; +dropdown_menu = { opacity = 0.8; }; + +corner-radius = 15; +round-borders = 1; +round-borders-exclude = [ "window_type = 'dock'" ]; +rounded-corners-exclude = [ "window_type = 'dock'" ]; + +xperimental-backends = true; +backend = "glx"; + +vsync = true; + +use-damage = false; + +mark-wmwin-focused = true; +mark-ovredir-focused = false; + +detect-rounded-corners = true; + +# log-level = "debug" +log-level = "info"; -active-opacity = 1.0; -inactive-opacity = 0.9; diff --git a/.config/xmobar/xmobar-laptop.config b/.config/xmobar/xmobar-laptop.config index f745f3e..33b90e9 100644 --- a/.config/xmobar/xmobar-laptop.config +++ b/.config/xmobar/xmobar-laptop.config @@ -20,9 +20,9 @@ Config { font = "xft:monospace" , Run Memory ["-t","Mem: %"] 10 , Run Swap [] 10 , Run Com "uname" ["-s","-r"] "" 36000 - , Run Weather "EDDN" [ "-t",": °C, " ] 900 + , Run Weather "EDDN" [ "-t",": °C" ] 3600 , Run Date "%H:%M - %d.%m.%Y" "date" 10 - , Run DynNetwork [ "-S","True","-t", ": , " ] 15 + , Run DynNetwork [ "-S","True","-t", ": , " ] 10 , Run Volume "default" "Master" [] 2 , Run Battery [ "-t", ": % - ", diff --git a/.xmonad/xmonad-laptop.hs b/.xmonad/xmonad-laptop.hs index 6283ab2..a64bd7a 100644 --- a/.xmonad/xmonad-laptop.hs +++ b/.xmonad/xmonad-laptop.hs @@ -38,7 +38,10 @@ myWorkspaces = ["1", "2", "3", "4", "5", "6", "7", "8", "9"] myBorderWidth = 5 myNormalBorderColor = "#dddddd" -myFocusedBorderColor = "#ff8700" + +myFocusedBorderColor1 = "#ff8700" +myFocusedBorderColor2 = "#00ffa1" +myFocusedBorderColor = myFocusedBorderColor1 -- screen spacing, then window spacing mySpacing x y = spacingRaw False (Border x x x x) True (Border y y y y) True @@ -130,7 +133,7 @@ myStartupHook = do main = do xmproc0 <- spawnPipe "nitrogen --restore" - xmproc1 <- spawnPipe "killall picom; picom --config ~/.config/picom/picom.conf --vsync &" + xmproc1 <- spawnPipe "killall picom; picom &" xmproc2 <- spawnPipe "killall xmobar; xmobar ~/.config/xmobar/xmobar.config" xmonad $ docks defaults