Add dotfiles from newest setup

Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
This commit is contained in:
Severin Kaderli 2018-12-09 03:01:07 +01:00
parent 6555cc80cd
commit 3711ac3ea6
9 changed files with 120 additions and 55 deletions

View file

@ -15,22 +15,25 @@ foreground = ${colors.foreground}
padding-right = 2
module-margin = 2
font-0 = Roboto:pixelsize=12;2
font-1 = FontAwesome:size=11;2
font-2 = siji:pixelsize=10;0
font-0 = Roboto:pixelsize=12;3
font-1 = Font Awesome 5 Free:style=Solid::pixelsize=12;3
font-2 = Font Awesome 5 Brands:pixelsize=12;3
font-3 = siji:pixelsize=12;3
modules-left = i3
modules-center = xwindow
modules-right = volume wlan date
modules-center = xwindow
modules-right = battery volume backlight wlan date
#wm-restack = i3
scroll-up = i3wm-desknext
scroll-down = i3wm-deskprev
tray-position = right
[bar/top2]
inherit = bar/top
monitor = HDMI-1
monitor = eDP-1
[module/i3]
@ -65,7 +68,7 @@ label-urgent-padding = 4
[module/xwindow]
type = internal/xwindow
label = %title:0:40:...%
label = %title:0:50:...%
label-padding = 4
[module/date]
@ -76,15 +79,49 @@ time = %H:%M:%S
label =  %date% %time%
format = <label>
[module/padding]
type = custom/text
content =
content-foreground = #00000000
content-background = #55000000
[module/battery]
type = internal/battery
; This is useful in case the battery never reports 100% charge
full-at = 99
; Use the following command to list batteries and adapters:
; $ ls -1 /sys/class/power_supply/
battery = BAT0
adapter = AC
; If an inotify event haven't been reported in this many
; seconds, manually poll for new values.
;
; Needed as a fallback for systems that don't report events
; on sysfs/procfs.
;
; Disable polling by setting the interval to 0.
;
; Default: 5
poll-interval = 5
time-format = %Hh%Mm
label-full =  %percentage%%
label-charging = %percentage%% %time%
format-charging = <animation-charging> <label-charging>
label-discharging = %percentage%% %time%
format-discharging = <ramp-capacity> <label-discharging>
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
ramp-capacity-foreground = ${colors.foreground}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 
animation-charging-4 = 
animation-charging-framerate = 500
[module/wlan]
type = internal/network
interface = wifi0
interface = wlp3s0
interval = 3.0
format-connected = <ramp-signal> <label-connected>
@ -105,15 +142,25 @@ ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground}
[module/volume]
type = internal/volume
type = internal/pulseaudio
use-ui-max = true
interval = 5
format-volume = <ramp-volume> <label-volume>
format-volume = <ramp-volume> <label-volume>
format-muted = <label-muted>
label-volume = %percentage%
label-muted =  Muted
label-volume = %percentage%%
label-muted =  %percentage%%
label-muted-foreground = #aaa
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-headphones-0 = 
[module/backlight]
type = custom/script
exec = light -G | cut -d. -f1
format =  <label>
label = %output%%
scroll-up = light -A 5
scroll-down = light -U 5
interval = 0.1

View file

@ -1 +0,0 @@
/home/severin/.config/polybar