Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/add polybar #96

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions jonas/desktop/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
# Network
openvpn

# UI
polybar

# secops
zap
postman
Expand Down
34 changes: 34 additions & 0 deletions jonas/desktop/polybar/config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[bar/mybar]
modules-center = datetime
modules-right = cpu memory

height = 26pt

wm-restack = generic
; override-redirect = true

[module/datetime]
type = internal/date
interval = 1.0


time = "%H:%M"
date = "%A - %d/%m %Y (week %V)"

label = "%time% | %date%"

[module/cpu]
type = internal/cpu

interval = 0.5

label = "cpu %percentage%%"
format-padding = 1

[module/memory]
type = internal/memory

interval = 3

label = "mem %gb_used% / %gb_total%"
format-padding = 1
3 changes: 3 additions & 0 deletions jonas/terminal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
# Virtualisation
qemu

# Secops
nmap

# AWS
awscli2
aws-sam-cli
Expand Down
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,13 @@ _For installs on Fedora, [disable SELinux](https://docs.fedoraproject.org/en-US/

### Manual setups

* Updating sudoers file for zsh to patch $PATH.
* US and SE keyboards with switching through keybindings.
* Rofi trigger keybindings (l-ctrl + space).
* Add zsh via nix to /etc/shells and make it default.
- `echo $(which zsh) | sudo tee -a /etc/shells`
- `chsh`
* Disable xfce4-panel at startup (uses polybar instead). `sudo dnf remove xfce4-panel`
* Add polybar at startup.

## Further reading

Expand Down