Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dotfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tim van Deurzen
dotfiles
Commits
4dca5fd7
Commit
4dca5fd7
authored
2 years ago
by
Tim van Deurzen
Browse files
Options
Downloads
Patches
Plain Diff
Add polybar configuration.
parent
36c2fe9a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.dotter/global.toml
+4
-0
4 additions, 0 deletions
.dotter/global.toml
polybar/config
+150
-0
150 additions, 0 deletions
polybar/config
with
154 additions
and
0 deletions
.dotter/global.toml
+
4
−
0
View file @
4dca5fd7
...
...
@@ -32,3 +32,7 @@
[fish.files.fish]
target
=
"~/.config/fish/"
type
=
"symbolic"
[polybar.files.polybar]
target
=
"~/.config/polybar/"
type
=
"symbolic"
This diff is collapsed.
Click to expand it.
polybar/config
0 → 100644
+
150
−
0
View file @
4dca5fd7
[colors]
background = #222
background-alt = #444
foreground = #dfdfdf
foreground-alt = #888
primary = #ffb52a
secondary = #e60053
alert = #bd2c40
[bar/main]
monitor = ${env:MONITOR:eDP-1}
width = 100%
height = 1.8%
radius = 6.0
fixed-center = false
bottom = true
background = ${colors.background}
foreground = ${colors.foreground}
border-size = 0
line-size = 2
padding = 1
module-margin = 1
font-0 = "consolas:size=12;1"
font-1 = "consolas:size=12;1"
font-2 = "Noto Sans Symbols:size=12;1"
font-3 = "Noto Sans Symbols2:size=12;1"
modules-left = ewmh xwindow
modules-center =
modules-right = eth wlan cpu memory battery date
tray-position = center
tray-padding = 2
tray-maxsize = 24
[global/wm]
margin-top = 0
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/ewmh]
type = internal/xworkspaces
pin-workspaces = false
enable-click = false
enable-scroll = false
label-active = " %name% "
label-active-underline = #fba922
label-occupied = " %name% "
label-occupied-foreground = #ffaa00
label-urgent = " %name% "
label-urgent-underline = #9b0a20
label-empty = " %name% "
label-empty-foreground = #555555
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = "💻 "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 2
format-prefix = "🗍 "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc
label = %percentage_used:2%%
[module/wlan]
type = internal/network
interface = wlp61s0
interval = 5.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = #9f78e1
label-connected = %essid%
label-disconnected =
ramp-signal-0 = 🌧
ramp-signal-1 = 🌦
ramp-signal-2 = 🌥
ramp-signal-3 = 🌤
ramp-signal-4 = 🌣
[module/eth]
type = internal/network
interface = eth0
interval = 3.0
format-connected-underline = #55aa55
format-connected-prefix = "🖧 "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
format-disconnected =
[module/date]
type = internal/date
interval = 5
date = %Y-%m-%d
time = %H:%M
format-prefix =
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5
label = %date% %time%
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
format-charging = <label-charging>
format-charging-underline = #ffb52a
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full = <label-full>
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 = ⚋
ramp-capacity-1 = ⚊
ramp-capacity-2 = ⚍
ramp-capacity-3 = ⚌
ramp-capacity-foreground = ${colors.foreground-alt}
label-charging = ⚡ %percentage%%
label-discharging = %percentage%%
label-full = " ☀ "
[settings]
screenchange-reload = true
; vim:ft=dosini
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment