alacritty

This commit is contained in:
2020-05-24 11:27:39 +02:00
parent 0f51200fbf
commit 48a9ac0069
14 changed files with 2669 additions and 198 deletions

View File

@ -32,27 +32,26 @@ c11 = ${xrdb:color11:#222}
c12 = ${xrdb:color12:#222}
c13 = ${xrdb:color13:#222}
c14 = ${xrdb:color14:#222}
white = #fff
[bar/example]
[bar/top]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 20
;override-redirect=true
override-redirect=false
offset-x = 0
offset-y = 3
;wm-restack=i3
radius = 0.0
fixed-center = false
;separator=
background = ${colors.background}
offset-y = 0
radius = 0
fixed-center = true
background = ${colors.primary}
foreground = ${colors.background}
line-size = 3
line-size = 1
line-color = ${colors.c9}
border-size = 5
border-size = 0
border-color = ${colors.background}
;#00000000
padding-left = 0
padding-right = 0
@ -60,26 +59,14 @@ padding-right = 0
module-margin-left = 0
module-margin-right = 0
font-0 = RobotoMono Nerd Font:antialias=true:pixelsize=10;1
font-1 = RobotoMono Nerd Font:antialias=true:size=6;2
font-0 = RobotoMono Nerd Font:antialias=true:pixelsize=9;1
font-1 = RobotoMono Nerd Font:antialias=true:size=12;2
font-2 = RobotoMono Nerd Font:antialias=false:size=14;2
modules-left = s4 i3 s1 xwindow s5
modules-center =
modules-right = s4 cpu s1 memory s1 temperature s1 date s5
font-3 = RobotoMono Nerd Font:antialias=true:size=18;0
;tray-position = right
;tray-padding = 0
;tray-background = #0063ff
;wm-restack = bspwm
wm-restack = i3
;override-redirect = true
background
;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev
;scroll-up = i3wm-wsnext
;scroll-down = i3wm-wsprev
modules-left = i3
modules-center = xwindow
modules-right = cpu memory temperature date
cursor-click = pointer
cursor-scroll = ns-resize
@ -88,46 +75,42 @@ cursor-scroll = ns-resize
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 20
;override-redirect=true
offset-x = 0
offset-y = 3
;wm-restack=i3
offset-y = 0
radius = 0.0
fixed-center = false
;separator=
background = ${colors.background}
; #00000000
;${colors.background}
background = ${colors.primary}
foreground = ${colors.background}
bottom=true
line-size = 0
line-color = #f00
border-size = 5
border-size = 0
border-color = ${colors.background}
;#00000000
padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 0
module-margin-left = 2
module-margin-right = 2
font-0 = RobotoMono Nerd Font :antialias=true:pixelsize=10;1
font-0 = RobotoMono Nerd Font:antialias=true:pixelsize=10;1
font-1 = RobotoMono Nerd Font:antialias=true:size=4;2
font-2 = RobotoMono Nerd Font:antialias=false:size=14;2
font-3 - RobotoMono Nerd Font:antialias=true:size=18;0
modules-left = s4 battery s3 s4 wlan s3 s4 weather s5
modules-center = s4 mpd s5
; pulseaudio
modules-right = s4 powermenu s1 pulseaudio s3
; modules-left = s4 battery s3 s4 wlan s3 s4 weather s5
; modules-center = s4 filesystem s5
; modules-right = s4 powermenu s1 pulseaudio s3
modules-left = battery wlan weather arch
modules-center = mpd
modules-right =
tray-position = right
tray-padding = 0
tray-background = ${colors.background}
tray-padding = 1
tray-background = ${colors.primary}
;wm-restack = bspwm
wm-restack = i3
;override-redirect = true
@ -141,8 +124,6 @@ cursor-click = pointer
cursor-scroll = ns-resize
[module/xwindow]
type = internal/xwindow
format-background = ${colors.primary}
@ -165,147 +146,67 @@ label-indicator-margin = 1
label-indicator-background = ${colors.secondary}
label-indicator-underline = ${colors.secondary}
[module/s1]
type = custom/text
content = "%{T3}%{T-}"
content-background = ${bar/example.background}
;#00000000
content-foreground = ${colors.primary}
[module/s2]
type = custom/text
content = "%{T3}"
content-background=${bar/example.background}
content-foreground=${colors.primary}
[module/s3]
type=custom/text
content="%{T3}%{T-}"
content-background=${bar/example.background}
content-foreground=${colors.primary}
[module/s4]
type=custom/text
content="%{T3}%{T-}"
content-background = ${bar/example.background}
content-foreground = ${colors.primary}
[module/s5]
type = custom/text
content = "%{T3}%{T-}"
content-background = ${bar/example.background}
content-foreground = ${colors.primary}
[module/s6]
type = custom/text
content = "%{T3}%{T-}"
content-background = ${bar/example.background}
content-foreground = ${bar/example.border-color}
[module/s7]
type = custom/text
content = "%{T3}%{T-}"
content-background = ${bar/example.background}
content-foreground = ${bar/example.border-color}
[module/s8]
type = custom/text
content = "%{T3}%{T-}"
content-background = ${bar/example.background}
content-foreground = ${color.primary}
[module/s9]
type = custom/text
content = "%{T3}%{T-}"
content-background = ${bar/example.background}
content-foreground = ${bar/example.border-color}
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.foreground-alt}
[module/bspwm]
type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-occupied = %index%
label-occupied-padding = 2
label-urgent = %index%!
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
label-empty = %index%
label-empty-foreground = ${colors.foreground-alt}
label-empty-padding = 2
; Separator in between workspaces
label-separator = |
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
format-font
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
pin-workspaces =false
;format-background = ${colors.background}
label-mode-padding = 0
label-mode-foreground = ${colors.foreground}
;#000
label-mode-background = ${colors.secondary}
; focused = Active workspace on focused monitor
label-focused = 
;%icon%
label-focused-background = ${colors.primary}
;${module/bspwm.label-focused-background}
label-focused-underline = #00000000
;${module/bspwm.label-focused-underline}
label-focused-padding = ${module/bspwm.label-focused-padding}
;label-focused-format = ${colors.foreground}
label-focused-foreground= ${colors.background}
; unfocused = Inactive workspace on any monitor
label-unfocused =
;%icon%
label-unfocused-padding = ${module/bspwm.label-occupied-padding}
label-unfocused-background = ${colors.primary}
pin-workspaces = false
format-background = ${colors.primary}
ws-icon-0 = 1;
ws-icon-1 = 2;
;ws-icon-2 = 3;3
;ws-icon-3 = 4;4
;ws-icon-4 = 5;5
ws-icon-1 = 2;
ws-icon-2 = 3;
ws-icon-3 = 4;
ws-icon-4 = 5;
ws-icon-5 = 6;
ws-icon-6 = 7;
ws-icon-7 = 8;
ws-icon-8 = 9;
ws-icon-default = I
label-mode-foreground = #000
label-mode-background = ${colors.primary}
label-mode-padding = 2
; focused = Active workspace on focused monitor
label-focused = (%name%)%icon%
label-focused-background = ${colors.primary}
label-focused-foreground = #000
label-focused-underline = ${colors.alert}
label-focused-padding = ${self.label-mode-padding}
; unfocused = Inactive workspace on any monitor
label-unfocused = (%name%)%icon%
label-unfocused-foreground = ${colors.foreground}
label-unfocused-underline = ${colors.secondary}
label-unfocused-padding = ${self.label-mode-padding}
; visible = Visible workspace on any monitor
label-visible = (%name%)%icon%
label-visible-background = ${self.label-focused-background}
label-visible-foreground = #fff
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-background = ${module/bspwm.label-urgent-background}
label-urgent-padding = ${module/bspwm.label-urgent-padding}
; Separator in between workspaces
label-separator =
label-visible-padding = ${self.label-mode-padding}
label-urgent = (%name%)%icon%
label-urgent-background = ${colors.primary}
label-urgent-foreground = ${colors.foreground}
label-urgent-padding = ${self.label-mode-padding}
[module/mpd]
type = internal/mpd
@ -388,6 +289,7 @@ format <label>
format-background = ${colors.primary}
exec = python /home/paramah/.config/polybar/polybar-spotify/spotify_status.py -f '{song} by {artist}'
[module/memory]
type = internal/memory
interval = 2
@ -473,7 +375,7 @@ label-volume = 墳 %percentage%%
label-volume-foreground = ${colors.background}
format-volume-background = ${colors.primary}
label-muted ="婢 %{T2}%{T-}"
label-muted ="婢 "
label-muted-foreground = ${colors.background}
format-muted-background = ${colors.primary}
@ -593,16 +495,13 @@ thermal-zone = 0
warn-temperature = 50
format = <ramp> <label>
;format-underline = ${colors.primary}
;#f50a4d
format-background = ${colors.primary}
label-padding =1
label-warn-padding = 1
format-warn = <ramp> <label-warn>
;format-warn-underline = ${self.format-underline}
format-warn-background= ${colors.primary}
hwmon-path = /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon4/temp1_input
hwmon-path = /sys/devices/platform/thinkpad_hwmon/hwmon/hwmon5/temp1_input
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${colors.background}
@ -660,6 +559,26 @@ exec = ~/.config/polybar/polybar-weather/openweathermap-detailed.sh
format-background = ${colors.primary}
format-prefix-foreground = ${colors.background}
[module/arch]
type = custom/script
exec = ~/.config/polybar/polybar-network-update/updates-arch-combined.sh
format-background = ${colors.primary}
format-prefix-foreground = ${colors.background}
[module/syngeos]
type = custom/script
exec = ~/.config/polybar/syngeos-sensor/sensor.sh
format-background = ${colors.primary}
format-prefix-foreground = ${colors.background}
[module/pm25]
type = custom/script
interval = 3
format-background = ${colors.primary}
exec = /home/paramah/bin/czujnik.sh |grep pm2_5 |awk '{print $2 $3}' |tr -d \"
[settings]
screenchange-reload = true
;compositing-background = xor