From 4596a64f32901ec4f3d3dbdc520e0ac5918fb7d4 Mon Sep 17 00:00:00 2001 From: Joonas Rautiola Date: Sat, 31 Aug 2024 14:10:56 +0300 Subject: [PATCH] Use rounded corners --- home-modules/picom.nix | 2 ++ home-modules/polybar/polybar.ini | 4 ++-- home-modules/xmonad/xmonad.hs | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/home-modules/picom.nix b/home-modules/picom.nix index 9c922fe..3983a69 100644 --- a/home-modules/picom.nix +++ b/home-modules/picom.nix @@ -24,6 +24,8 @@ # this also makes AMD freesync work with picom settings = { unredir-if-possible = true; + corner-radius = 15; + rounded-corners-exclude = [ "class_g = 'Polybar'" ]; }; # # and notifications that may draw over them # wintypes = { diff --git a/home-modules/polybar/polybar.ini b/home-modules/polybar/polybar.ini index 6524126..e70e477 100644 --- a/home-modules/polybar/polybar.ini +++ b/home-modules/polybar/polybar.ini @@ -69,11 +69,11 @@ label-active-foreground = ${colors.background} label-active-padding = 14px label-occupied = %name% -label-occupied-padding = 10px +label-occupied-padding = 14px label-urgent = %name% label-urgent-background = ${colors.alert} -label-urgent-padding = 10px +label-urgent-padding = 14px label-empty = "" diff --git a/home-modules/xmonad/xmonad.hs b/home-modules/xmonad/xmonad.hs index 9dddfe7..abe8d90 100644 --- a/home-modules/xmonad/xmonad.hs +++ b/home-modules/xmonad/xmonad.hs @@ -179,7 +179,7 @@ layouthook = lessBorders OnlyScreenFloat $ avoidStruts $ spacingWithEdge - 10 -- width of gaps + 8 -- width of gaps (ResizableThreeCol 1 (3 / 100) (1 / 2) [] ||| Grid) toggleStrutsKey XConfig {XMonad.modMask = modm} = (modm, xK_b) @@ -195,7 +195,7 @@ main = { terminal = "wezterm", focusFollowsMouse = True, clickJustFocuses = False, - borderWidth = 2, + borderWidth = 3, modMask = mod4Mask, workspaces = map show [1 .. 9], normalBorderColor = "#000000",