2 Commits

Author SHA1 Message Date
fbdc5b8810 add go install on workflow, temp remove iso build for faster tests
Some checks failed
Build iso when a new version is pushed / test (push) Failing after 16s
2025-04-15 19:46:47 +02:00
0baab5a237 small changes on waybar 2025-04-15 19:45:30 +02:00
2 changed files with 22 additions and 9 deletions

View File

@ -12,12 +12,15 @@ jobs:
- name: install nix
uses: https://github.com/cachix/install-nix-action@v31
- name: build iso
run: make iso
- name: install go
uses: https://github.com/actions/setup-go@v4
#- name: build iso
# run: make iso
- name: create release
uses: https://gitea.com/actions/release-action@main
with:
files: |-
nixos.iso
flake.nix
api_key: '${{secrets.RELEASE_TOKEN}}'

View File

@ -51,6 +51,13 @@
#temperature.critical {
color: #ff2222;
}
#battery.critical {
color: #ff2222;
}
#cpu.high {
color: #ff2222;
}
'';
programs.waybar.settings.mainBar = {
@ -61,7 +68,7 @@
margin-right = 5;
modules-left = ["hyprland/workspaces" "custom/music"];
modules-center = ["hyprland/window"];
modules-right = ["disk" "pulseaudio" "network" "custom/pipe" "cpu" "temperature" "custom/pipe" "memory" "battery" "clock"];
modules-right = ["disk" "pulseaudio" "network" "custom/pipe" "cpu" "custom/pipe" "temperature" "custom/pipe" "memory" "battery" "clock"];
"hyprland/workspaces" = {
disable-scroll = true;
@ -76,7 +83,8 @@
};
cpu = {
format = " {usage}% |";
format = " {usage}% ";
states.high = 80;
interval = 5;
};
@ -87,13 +95,15 @@
battery = {
bat = "BAT0";
full-at = 79;
states = {
good = 79;
warning = 30;
good = 20;
critical = 15;
};
format-time = " {H}:{m}";
format = " {icon} {capacity}%{time} |";
format-discharging = " {icon} {capacity}%{time} |";
format-charging = " {capacity}%{time} |";
format-plugged = "";
format-icons = [" " " " " " " " " "];
interval = 10;
};