Skip to content

Commit

Permalink
Use rounded corners
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Aug 31, 2024
1 parent 10e3c59 commit 4596a64
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions home-modules/picom.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
4 changes: 2 additions & 2 deletions home-modules/polybar/polybar.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""

Expand Down
4 changes: 2 additions & 2 deletions home-modules/xmonad/xmonad.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -195,7 +195,7 @@ main =
{ terminal = "wezterm",
focusFollowsMouse = True,
clickJustFocuses = False,
borderWidth = 2,
borderWidth = 3,
modMask = mod4Mask,
workspaces = map show [1 .. 9],
normalBorderColor = "#000000",
Expand Down

0 comments on commit 4596a64

Please sign in to comment.