added nix and probably did more I dont remember

This commit is contained in:
Zastian Pretorius
2022-06-18 16:49:38 +01:00
parent 106a426042
commit 42ecf6e4f5
12 changed files with 486 additions and 23 deletions

View File

@@ -1 +1 @@
/home/mrfluffy/.config/leftwm/themes/dracula_polybar
dracula_polybar

View File

@@ -20,7 +20,7 @@
background = #282a36
foreground = #f8f8f2
background-alt = #99444444
foreground-alt = #2a2a2a
foreground-alt = #f8f8f2
primary = #6e5991
secondary = #363949
alert = #bd2c40
@@ -77,10 +77,10 @@ padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = misc fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = wuncon siji:pixelsize=10;1
modules-center =
font-0 = Ubuntu:pixelsize=10;1
font-1 = Source Han Sans JP:pixelsize=10;1
font-2 = siji:pixelsize=10;1
modules-center =
modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth battery date powermenu
tray-position = right
tray-padding = 2
@@ -268,7 +268,7 @@ ramp-signal-foreground = ${colors.foreground-alt}
[module/eth]
type = internal/network
interface = enp0s25
interface = enp3s0
interval = 3.0
format-connected-underline = #55aa55
@@ -411,9 +411,9 @@ expand-right = true
format-spacing = 1
label-open = 
label-open-foreground = ${colors.secondary}
label-open-foreground = ${colors.foreground}
label-close =  cancel
label-close-foreground = ${colors.secondary}
label-close-foreground = ${colors.forground}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}

View File

@@ -20,14 +20,10 @@ fi
#set the theme.toml config
leftwm-command "LoadTheme $SCRIPTPATH/theme.toml"
#set background
if [ -x "$(command -v feh)" ]; then
feh --bg-scale $SCRIPTPATH/background.jpg
fi
index=0
monitors="$(polybar -m | sed s/:.*//)"
monitors="$(polybar -m | sed s/:.*// | tac)"
leftwm-state -q -n -t $SCRIPTPATH/sizes.liquid | sed -r '/^\s*$/d' | while read -r width x y
do
let indextemp=index+1