lightmode
E. Almqvist 4 years ago
parent 632c16e76d
commit 45bf8188d2
  1. 8
      picom/picom.conf
  2. 59
      polybar/config
  3. 17
      polybar/launch
  4. 6
      termite/config

@ -19,11 +19,11 @@ shadow-radius = 12;
# The left offset for shadows, in pixels. (defaults to -15) # The left offset for shadows, in pixels. (defaults to -15)
# shadow-offset-x = -15 # shadow-offset-x = -15
shadow-offset-x = -15; shadow-offset-x = -8;
# The top offset for shadows, in pixels. (defaults to -15) # The top offset for shadows, in pixels. (defaults to -15)
# shadow-offset-y = -15 # shadow-offset-y = -15
shadow-offset-y = -15; shadow-offset-y = -8;
# Red color value of shadow (0.0 - 1.0, defaults to 0). # Red color value of shadow (0.0 - 1.0, defaults to 0).
# shadow-red = 0 # shadow-red = 0
@ -141,7 +141,7 @@ focus-exclude = [ "class_g = 'Cairo-clock'" ];
# Parameters for background blurring, see the *BLUR* section for more information. # Parameters for background blurring, see the *BLUR* section for more information.
blur-method = "dual_kawase"; blur-method = "dual_kawase";
blur-strength = 0; blur-strength = 8;
# blur-size = 2; # blur-size = 2;
# #
# blur-deviation = false # blur-deviation = false
@ -177,7 +177,7 @@ blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
# Exclude conditions for background blur. # Exclude conditions for background blur.
# blur-background-exclude = [] # blur-background-exclude = []
blur-background-exclude = [ blur-background-exclude = [
"window_type = 'dock'", #"window_type = 'dock'",
"window_type = 'desktop'", "window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c" "_GTK_FRAME_EXTENTS@:c"
]; ];

@ -1,64 +1,46 @@
[settings] [settings]
compositing-foreground = difference #compositing-foreground = difference
[colors] [colors]
background = #00000000 background = #c7222222
#df151515 foreground = #bbb
# ef1d1f21 line = #bbb
foreground = #151515 border = #bbb
#a4abb3 accent = #434d5e
# 707880 accent2 = #637291
line = #d1111111 selected = #2590db
border = #ef272727
accent = #c2bf616a
selected = #a84222
#cc6666
focused = #f0c674 focused = #f0c674
[global/wm] [global/wm]
margin-top = 0 margin-top = 20
margin-bottom = 21 margin-bottom = 20
[bar/top] [bar/top]
font-0 = "Overpass Mono:pixelsize=12#2.25" font-0 = "Source Code Pro:pixelsize=9#1"
font-1 = "siji:pixelsize=10#1" font-1 = "siji:pixelsize=10#1"
line-size = 1
monitor = ${env:MONITOR} monitor = ${env:MONITOR}
#scroll-up = i3wm-wsnext
#scroll-down = i3wm-wsprev
fixed-center = true fixed-center = true
override-redirect = false override-redirect = false
width = 100% width = 100%
height = 21 height = 24
background = ${colors.background} background = ${colors.background}
foreground = ${colors.foreground} foreground = ${colors.foreground}
#radius = 0.0 padding-left = 8
padding-right = 8
# line-size = 1
# line-color = ${colors.line}
# border-size = 1
# border-color = ${colors.border}
padding-left = 18
padding-right = 18
module-margin = 1 module-margin = 1
#modules-left = dwm title
modules-left = dwm modules-left = dwm
modules-center = modules-center = time
modules-right = cmus pavolume time date modules-right = cmus pavolume date
################################################################################# #############################################
# MODULES # # MODULES #
################################################################################# #############################################
[module/dwm] [module/dwm]
type = internal/dwm type = internal/dwm
@ -96,7 +78,7 @@ secondary-layout-symbol = [M]
# %title% # %title%
label-title = %title% label-title = %title%
label-title-padding = 1 label-title-padding = 1
label-title-foreground = ${colors.selected} label-title-foreground = ${colors.accent2}
label-title-maxlen = 50 label-title-maxlen = 50
# Symbol of current layout # Symbol of current layout
@ -108,7 +90,7 @@ label-layout-foreground = ${colors.foreground}
label-layout-background = ${colors.background} label-layout-background = ${colors.background}
# Text to show when currently focused window is floating # Text to show when currently focused window is floating
label-floating = * label-floating = ~
# States: focused, unfocused, visible, urgent, empty # States: focused, unfocused, visible, urgent, empty
# Available tokens: # Available tokens:
@ -128,6 +110,7 @@ label-unfocused-padding = 1
# visible = Unselected tag, but occupied tag on any monitor # visible = Unselected tag, but occupied tag on any monitor
label-visible = %name% label-visible = %name%
label-visible-background = ${self.label-focused-background} label-visible-background = ${self.label-focused-background}
label-visible-foreground = ${colors.accent}
label-visible-underline = ${self.label-focused-underline} label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding} label-visible-padding = ${self.label-focused-padding}

@ -0,0 +1,17 @@
#!/bin/bash
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# polybar top >>/tmp/polybar-main.log -c $HOME/.config/polybar/config &
if type "xrandr"; then
for m in $(xrandr --query | grep " connected" | cut -d" " -f1); do
MONITOR=$m polybar --reload top &
done
else
polybar --reload top &
fi

@ -1,6 +1,6 @@
[options] [options]
font = Ubuntu Mono 12 # font = Ubuntu Mono 12
# font = Source Code Pro 11 font = Source Code Pro 10
size_hints = true size_hints = true
[colors] [colors]
@ -10,7 +10,7 @@ cursor = #d8d8d8
# 181818 (HEX) default # 181818 (HEX) default
cursor_foreground = rgba(24, 24, 24, 0.8) cursor_foreground = rgba(24, 24, 24, 0.8)
background = rgba(29, 31, 33, 1) background = rgba(29, 31, 33, 0.88)
# 1d1f21 # 1d1f21
# a=0.94 # a=0.94
highlight = #161719 highlight = #161719

Loading…
Cancel
Save