Skip to content

Commit

Permalink
update polybar for pepes.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
dotnil committed Mar 28, 2023
1 parent 944dae4 commit 7582489
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hosts/pepes.nix
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
};

home-manager.users.kh = {
home.file.".config/polybar/config".source = ../users/shared/polybar/config-laptop;
home.file.".config/polybar/config".source = ../users/kh/polybar/polybar-pepes;
home.file.".config/alacritty/alacritty.yml".source = ../users/kh/alacritty-laptop/alacritty.yml;
home.file.".config/alacritty/alacritty-scratchpad.yml".source = ../users/kh/alacritty-laptop/alacritty-scratchpad.yml;
};
Expand Down
17 changes: 16 additions & 1 deletion users/kh/polybar/polybar-pepes
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,25 @@ tail = true
[bar/top]
inherit = bar/base
bottom = false
font-0 = Terminus:size=16;2
font-1 = Siji:size=16;1
height = 22

modules-left = volume
modules-center = filesystem
modules-right = vpn vnc ssh network cpu memory
modules-right = vpn vnc ssh network battery

# ls -l /sys/class/power_supply
[module/battery]
type = internal/battery
battery = BATT
adapter = AC
full-at = 98
format-charging = %{F#9c71C7}%{F-} <label-charging>
format-full = %{F#9c71C7}%{F-} <label-full>
time-format = %H:%M
label-discharging = %{F#9c71C7}%{F-} %percentage%% %{F#6B5A68}%time%%{F-}
format-discharging = <label-discharging>

[module/title]
type = internal/xwindow
Expand Down

0 comments on commit 7582489

Please sign in to comment.