More hyprland and eww config
This commit is contained in:
parent
22f029cf3e
commit
53a85240f2
4 changed files with 36 additions and 15 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
wm = {
|
wm = {
|
||||||
plasma.enable = true;
|
hyprland.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,33 @@
|
||||||
(defwindow example
|
(defwindow main
|
||||||
:monitor 0
|
:monitor 0
|
||||||
:geometry (geometry :x "0%"
|
:geometry (geometry :x "0%"
|
||||||
:y "20px"
|
:y "0%"
|
||||||
:width "90%"
|
:width "50%"
|
||||||
:height "30px"
|
:height "50%"
|
||||||
:anchor "top center")
|
:anchor "center")
|
||||||
:stacking "fg"
|
:stacking "fg"
|
||||||
:reserve (struts :distance "40px" :side "top")
|
:exclusive false
|
||||||
:windowtype "dock"
|
:focusable false
|
||||||
:exclusive true
|
(workspaces)
|
||||||
"horseman's laptop")
|
)
|
||||||
|
|
||||||
|
(defwidget clock []
|
||||||
|
(box :class "clock"
|
||||||
|
{formattime(EWW_TIME, "%b %m %H:%M:%S")}
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
(defwidget workspaces []
|
||||||
|
(box :class "workspaces"
|
||||||
|
(button :class "workspace-button")
|
||||||
|
(button :class "workspace-button")
|
||||||
|
(button :class "workspace-button")
|
||||||
|
(button :class "workspace-button")
|
||||||
|
(button :class "workspace-button")
|
||||||
|
(button :class "workspace-button")
|
||||||
|
(button :class "workspace-button")
|
||||||
|
(button :class "workspace-button")
|
||||||
|
(button :class "workspace-button")
|
||||||
|
(button :class "workspace-button")
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,8 @@
|
||||||
monitor = eDP-1, 1920x1080@60, 0x0, 1
|
monitor = eDP-1, 1920x1080@60, 0x0, 1
|
||||||
|
|
||||||
# terra monitors
|
# terra monitors
|
||||||
|
monitor = DP-1, 2560x1440, 0x0, 1
|
||||||
|
monitor = DP-2, 2560x1440, 2560x0, 1
|
||||||
|
|
||||||
# default monitor config
|
# default monitor config
|
||||||
monitor=,preferred,auto,auto
|
monitor=,preferred,auto,auto
|
||||||
|
|
|
||||||
|
|
@ -34,12 +34,10 @@ in {
|
||||||
HandlePowerKey=ignore
|
HandlePowerKey=ignore
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
||||||
system.activationScripts.script.text = ''
|
system.activationScripts.script.text = ''
|
||||||
cd /home/horseman && \
|
cd /home/horseman;
|
||||||
rm -r .config/hypr && \
|
rm -r .config/hypr .config/eww;
|
||||||
cp -r nix-config/modules/wm/hyprland/config \
|
cp -r nix-config/modules/wm/hyprland/config/* .config
|
||||||
.config/hypr && \
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue