mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 15:37:22 +00:00
some dotfiles and tools
This commit is contained in:
parent
bddafa0139
commit
c0b7d66189
11 changed files with 775 additions and 0 deletions
215
polybar/config
Normal file
215
polybar/config
Normal file
|
|
@ -0,0 +1,215 @@
|
|||
[colors]
|
||||
background = #222
|
||||
background-alt = #444
|
||||
foreground = #dfdfdf
|
||||
foreground-alt = #999
|
||||
primary = #444
|
||||
|
||||
[bar/example]
|
||||
;monitor = ${env:MONITOR:HDMI-1}
|
||||
width = 100%
|
||||
height = 30
|
||||
radius = 0
|
||||
fixed-center = true
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
line-size = 2
|
||||
line-color = #f00
|
||||
|
||||
border-size = 0
|
||||
|
||||
padding-left = 0
|
||||
padding-right = 2
|
||||
|
||||
module-margin-left = 4
|
||||
module-margin-right = 4
|
||||
|
||||
;font-0 = Noto Sans:size=11;1
|
||||
font-0 = NotoSans-Regular:size=11;1
|
||||
font-1 = FontAwesome:size=10;2
|
||||
font-2 = Unifont:size=6;1
|
||||
|
||||
modules-left = i3 xwindow
|
||||
;modules-center = cpu memory
|
||||
;modules-right = volume xkeyboard memory cpu wlan eth battery temperature date powermenu
|
||||
modules-right = xkeyboard volume wlan eth battery date
|
||||
|
||||
|
||||
;tray-position = right
|
||||
;tray-padding = 2
|
||||
;tray-transparent = true
|
||||
;tray-background = #0063ff
|
||||
;tray-transparent = true
|
||||
|
||||
;wm-restack = i3
|
||||
|
||||
;scroll-up = i3wm-wsnext
|
||||
;scroll-down = i3wm-wsprev
|
||||
|
||||
;i3
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
format = <label-state><label-mode>
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
strip-wsnumbers = true
|
||||
|
||||
; Only show workspaces on the same output as the bar
|
||||
;pin-workspaces = true
|
||||
|
||||
label-mode-padding = 2
|
||||
label-mode-foreground = ${colors.foreground}
|
||||
label-mode-background = ${colors.primary}
|
||||
label-mode-underline = ${colors.foreground}
|
||||
|
||||
; focused = Active workspace on focused monitor
|
||||
label-focused = %index%
|
||||
label-focused-background = ${colors.background-alt}
|
||||
label-focused-underline = ${colors.foreground}
|
||||
label-focused-padding = 2
|
||||
|
||||
; unfocused = Inactive workspace on any monitor
|
||||
label-unfocused = %index%
|
||||
label-unfocused-padding = ${self.label-focused-padding}
|
||||
|
||||
; visible = Active workspace on unfocused monitor
|
||||
label-visible = %index%
|
||||
label-visible-background = ${self.label-focused-background}
|
||||
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}
|
||||
|
||||
|
||||
;title
|
||||
[module/xwindow]
|
||||
type = internal/xwindow
|
||||
label = %title:0:60:...%
|
||||
|
||||
;lang
|
||||
[module/xkeyboard]
|
||||
type = internal/xkeyboard
|
||||
format = <label-indicator><label-layout>
|
||||
blacklist-0 = num lock
|
||||
label-layout-padding = 2
|
||||
label-layout-underline = ${colors.foreground}
|
||||
label-indicator-font = 1
|
||||
label-indicator =
|
||||
label-indicator-underline = ${colors.foreground}
|
||||
|
||||
;cpu
|
||||
[module/cpu]
|
||||
type = internal/cpu
|
||||
interval = 2
|
||||
format-prefix = "cpu "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
;format-underline = #f90000
|
||||
label = %percentage%%
|
||||
|
||||
;mem
|
||||
[module/memory]
|
||||
type = internal/memory
|
||||
interval = 2
|
||||
format-prefix = "ram "
|
||||
format-prefix-foreground = ${colors.foreground-alt}
|
||||
;format-underline = #4bffdc
|
||||
label = %percentage_used%%
|
||||
|
||||
;network
|
||||
[module/wlan]
|
||||
type = internal/network
|
||||
interface = wlan0
|
||||
interval = 3.0
|
||||
|
||||
format-connected = <ramp-signal> <label-connected>
|
||||
label-connected = %essid%
|
||||
|
||||
format-disconnected =
|
||||
;format-disconnected = <label-disconnected>
|
||||
;format-disconnected-underline = ${self.format-connected-underline}
|
||||
;label-disconnected = %ifname% disconnected
|
||||
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
ramp-signal-3 =
|
||||
ramp-signal-4 =
|
||||
ramp-signal-foreground = ${colors.foreground-alt}
|
||||
|
||||
[module/eth]
|
||||
type = internal/network
|
||||
interface = enp0s3
|
||||
interval = 3.0
|
||||
|
||||
format-connected-prefix = " "
|
||||
format-connected-prefix-foreground = ${colors.foreground}
|
||||
label-connected = %local_ip%
|
||||
|
||||
format-disconnected =
|
||||
;format-disconnected = <label-disconnected>
|
||||
;format-disconnected-underline = ${self.format-connected-underline}
|
||||
;label-disconnected = %ifname% disconnected
|
||||
;label-disconnected-foreground = ${colors.foreground-alt}
|
||||
|
||||
;backlight
|
||||
;volume
|
||||
[module/volume]
|
||||
type = internal/volume
|
||||
|
||||
format-volume = <label-volume> <bar-volume>
|
||||
label-volume =
|
||||
label-volume-foreground = ${root.foreground}
|
||||
|
||||
format-muted-foreground = #444
|
||||
label-muted = ═══════════════════
|
||||
|
||||
bar-volume-width = 20
|
||||
bar-volume-foreground-0 = #555
|
||||
bar-volume-foreground-1 = #666
|
||||
bar-volume-foreground-2 = #777
|
||||
bar-volume-foreground-3 = #888
|
||||
bar-volume-foreground-4 = #999
|
||||
bar-volume-foreground-5 = #aaa
|
||||
bar-volume-foreground-6 = #fff
|
||||
bar-volume-gradient = false
|
||||
bar-volume-indicator =
|
||||
bar-volume-indicator-font = 0
|
||||
bar-volume-fill = ═
|
||||
bar-volume-fill-font = 1
|
||||
bar-volume-empty = ═
|
||||
bar-volume-empty-font = 1
|
||||
bar-volume-empty-foreground = #444
|
||||
|
||||
|
||||
;battery
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
full-at = 98
|
||||
|
||||
format-charging = <animation-charging> <label-charging>
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
format-full = <ramp-capacity> <label-full>
|
||||
|
||||
ramp-capacity-0 =
|
||||
ramp-capacity-0-foreground = ${colors.foreground}
|
||||
ramp-capacity-1 =
|
||||
ramp-capacity-2 =
|
||||
ramp-capacity-3 =
|
||||
ramp-capacity-4 =
|
||||
|
||||
animation-charging-0 = ""
|
||||
animation-charging-framerate = 10000
|
||||
|
||||
;time date
|
||||
[module/date]
|
||||
type = internal/date
|
||||
date = %%{F#99}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-}
|
||||
;date-alt = %%{F#99}%A, %d %B %Y %%{F#fff}%H:%M%%{F#666} %%{F#fba922}%S%%{F-}
|
||||
date-alt = %%{F#99}%A, %d %B %Y %%{F#fff}%H:%M:%S%%{F-}
|
||||
;label-underline = ${colors.foreground}
|
||||
Loading…
Add table
Add a link
Reference in a new issue