eww fixes

This commit is contained in:
Miguel Palhas
2024-10-06 17:35:44 +01:00
parent f43fb871da
commit f6f25b816b
6 changed files with 16 additions and 17 deletions
+1
View File
@@ -19,6 +19,7 @@
# communication # communication
slack slack
zoom-us zoom-us
ferdium
# dev tools # dev tools
ferdium ferdium
+3 -1
View File
@@ -1,7 +1,9 @@
{ config, pkgs, ... }: { { config, pkgs, ... }:
{
home.packages = [ pkgs.eww ]; home.packages = [ pkgs.eww ];
xdg.configFile = { xdg.configFile = {
"eww/eww.yuck".source = ./eww.yuck; "eww/eww.yuck".source = ./eww.yuck;
"eww/eww.scss".source = ./eww.scss; "eww/eww.scss".source = ./eww.scss;
"eww/scripts".source = ./scripts;
}; };
} }
+7 -10
View File
@@ -23,15 +23,12 @@
:space-evenly true :space-evenly true
:halign "start" :halign "start"
:spacing 10 :spacing 10
(button :onclick "wmctrl -s 0" 1) (button :onclick "hyprctl dispatch workspace 1" 1)
(button :onclick "wmctrl -s 1" 2) (button :onclick "hyprctl dispatch workspace 2" 2)
(button :onclick "wmctrl -s 2" 3) (button :onclick "hyprctl dispatch workspace 3" 3)
(button :onclick "wmctrl -s 3" 4) (button :onclick "hyprctl dispatch workspace 4" 4)
(button :onclick "wmctrl -s 4" 5) (button :onclick "hyprctl dispatch workspace 5" 5)
(button :onclick "wmctrl -s 5" 6) (button :onclick "hyprctl dispatch workspace 8" 6)))
(button :onclick "wmctrl -s 6" 7)
(button :onclick "wmctrl -s 7" 8)
(button :onclick "wmctrl -s 8" 9)))
(defwidget music [] (defwidget music []
(box :class "music" (box :class "music"
@@ -71,6 +68,6 @@
:width "100%" :width "100%"
:height "10px" :height "10px"
:anchor "top center") :anchor "top center")
:reserve (struts :side "top" :distance "20px") :reserve (struts :side "top" :distance "4%")
(bar)) (bar))
View File
+1
View File
@@ -80,6 +80,7 @@
home.packages = with pkgs; [ home.packages = with pkgs; [
btop btop
inxi
mise mise
ripgrep ripgrep
pass pass
+4 -6
View File
@@ -1,10 +1,12 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [ acpi ]; environment.systemPackages = with pkgs; [
brightnessctl
];
powerManagement = { powerManagement = {
enable = true; enable = true;
powertop = true; powertop.enable = true;
}; };
services = { services = {
@@ -25,8 +27,4 @@
}; };
}; };
}; };
environment.systemPackages = with pkgs; [
brightnessctl
];
} }