Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dotfiles
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tim van Deurzen
dotfiles
Commits
4dca5fd7
Commit
4dca5fd7
authored
Dec 20, 2022
by
Tim van Deurzen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add polybar configuration.
parent
36c2fe9a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
154 additions
and
0 deletions
+154
-0
.dotter/global.toml
.dotter/global.toml
+4
-0
polybar/config
polybar/config
+150
-0
No files found.
.dotter/global.toml
View file @
4dca5fd7
...
@@ -32,3 +32,7 @@
...
@@ -32,3 +32,7 @@
[fish.files.fish]
[fish.files.fish]
target
=
"~/.config/fish/"
target
=
"~/.config/fish/"
type
=
"symbolic"
type
=
"symbolic"
[polybar.files.polybar]
target
=
"~/.config/polybar/"
type
=
"symbolic"
polybar/config
0 → 100644
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment