Compare commits
5 Commits
020e96ab15
...
fa61c8ff8c
Author | SHA1 | Date | |
---|---|---|---|
|
fa61c8ff8c | ||
|
514c71a5f9 | ||
|
b4d8d52270 | ||
|
022845035e | ||
|
caa31d3c4e |
@ -7,13 +7,8 @@
|
||||
font pango:Source Han Code JP M 7
|
||||
|
||||
# Special Keys
|
||||
{{- if eq .chezmoi.hostname "arch" }}
|
||||
set $m Mod4
|
||||
set $a Mod1
|
||||
{{- else if eq .chezmoi.hostname "buzz" }}
|
||||
set $m Mod1
|
||||
set $a Mod4
|
||||
{{- end }}
|
||||
set $c Control
|
||||
set $s Shift
|
||||
|
||||
@ -184,6 +179,11 @@ bindsym XF86Launch8 resize grow width 10 px
|
||||
bindsym XF86TouchpadToggle resize shrink height 10 px
|
||||
bindsym XF86TouchpadOn resize grow height 10 px
|
||||
|
||||
{{ if eq .chezmoi.hostname "buzz" }}
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight +2
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -2
|
||||
{{ end }}
|
||||
|
||||
bindsym $m+bracketleft move left; resize set width 20 ppt
|
||||
bindsym $m+bracketright move right; resize set width 80 ppt
|
||||
|
||||
@ -441,6 +441,10 @@ exec --no-startup-id "$XDG_CONFIG_HOME/polybar/toggle.sh"
|
||||
# Transmission
|
||||
exec --no-startup-id "transmission-daemon"
|
||||
|
||||
{{ if eq .chezmoi.hostname "buzz" }}
|
||||
exec --no-startup-id "kmonad $XDG_CONFIG_HOME/kmonad/thinkpad.kbd"
|
||||
{{ end }}
|
||||
|
||||
|
||||
#######################################################
|
||||
# i3-gaps
|
||||
|
@ -65,7 +65,7 @@ modules-right = pueue filesystem temp cpu memory eth-down eth-up ipv6 caffeine c
|
||||
{{- else if eq .chezmoi.hostname "buzz" }}
|
||||
modules-left = i3 xwindow
|
||||
modules-center = date
|
||||
modules-right = filesystem temp cpu memory tray
|
||||
modules-right = filesystem temp cpu memory battery tray
|
||||
{{- end }}
|
||||
|
||||
|
||||
@ -81,6 +81,36 @@ type = internal/tray
|
||||
tray-padding = 4
|
||||
tray-size = 75%
|
||||
|
||||
{{ if eq .chezmoi.hostname "buzz" }}
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
|
||||
; This is useful in case the battery never reports 100% charge
|
||||
; Default: 100
|
||||
full-at = 98
|
||||
|
||||
; format-low once this charge percentage is reached
|
||||
; Default: 10
|
||||
; New in version 3.6.0
|
||||
low-at = 15
|
||||
|
||||
; 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
|
||||
{{ end }}
|
||||
|
||||
[module/pueue]
|
||||
type = custom/script
|
||||
interval = 5
|
||||
@ -202,6 +232,9 @@ label-visible-padding = 1
|
||||
type = internal/cpu
|
||||
interval = 1
|
||||
format-underline = ${colors.primary}
|
||||
{{ if eq .chezmoi.hostname "buzz" }}
|
||||
format-foreground = ${colors.foreground-alt}
|
||||
{{ end }}
|
||||
label = %percentage:2%%
|
||||
|
||||
[module/memory]
|
||||
@ -209,6 +242,9 @@ type = internal/memory
|
||||
interval = 1
|
||||
format-underline = #32bbc2
|
||||
label = %percentage_used:2%%
|
||||
{{ if eq .chezmoi.hostname "buzz" }}
|
||||
format-foreground = ${colors.foreground-alt}
|
||||
{{ end }}
|
||||
|
||||
[module/eth-up]
|
||||
type = internal/network
|
||||
|
Loading…
Reference in New Issue
Block a user