mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 21:57:17 +00:00
Compare commits
1 commit
4af1e37781
...
4f7c9e8a71
Author | SHA1 | Date | |
---|---|---|---|
ItsDrike | 4f7c9e8a71 |
|
@ -15,28 +15,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.user.services = {
|
systemd.user.services = {
|
||||||
"eww" = let
|
"eww" = {
|
||||||
# All dependencies required for eww and for the scripts/widgets it uses
|
|
||||||
dependencies = with pkgs; [
|
|
||||||
python3
|
|
||||||
bash
|
|
||||||
coreutils
|
|
||||||
gnugrep
|
|
||||||
gawk
|
|
||||||
netcat-openbsd
|
|
||||||
jq
|
|
||||||
util-linux
|
|
||||||
systemd
|
|
||||||
bluez
|
|
||||||
upower
|
|
||||||
wl-gammarelay-rs
|
|
||||||
gammastep
|
|
||||||
networkmanager
|
|
||||||
wireplumber
|
|
||||||
pulseaudio
|
|
||||||
hyprland
|
|
||||||
];
|
|
||||||
in {
|
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "ElKowar's Wacky Widgets (eww) daemon";
|
Description = "ElKowar's Wacky Widgets (eww) daemon";
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ "graphical-session-pre.target" ];
|
||||||
|
@ -45,8 +24,7 @@ in {
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
Restart = "alwayss";
|
Restart = "always";
|
||||||
Environment = "PATH=/run/wrappers/bin:${lib.makeBinPath dependencies}";
|
|
||||||
ExecStart = pkgs.writeShellScript "eww-daemon" ''
|
ExecStart = pkgs.writeShellScript "eww-daemon" ''
|
||||||
${pkgs.eww}/bin/eww daemon --no-daemonize
|
${pkgs.eww}/bin/eww daemon --no-daemonize
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -9,7 +9,6 @@ _: {
|
||||||
./zoxide.nix
|
./zoxide.nix
|
||||||
./tealdeer.nix
|
./tealdeer.nix
|
||||||
./hyfetch.nix
|
./hyfetch.nix
|
||||||
./fastfetch.nix
|
|
||||||
./btop.nix
|
./btop.nix
|
||||||
./bottom.nix
|
./bottom.nix
|
||||||
./bat.nix
|
./bat.nix
|
||||||
|
|
|
@ -125,17 +125,7 @@
|
||||||
wms.hyprland = {
|
wms.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
monitor = [
|
monitor = [
|
||||||
# Primary / laptop display
|
"eDP-1, 1920x1080@60, 0x0, 1"
|
||||||
"eDP-1, 1920x1200@60, 0x1080, 1"
|
|
||||||
|
|
||||||
# HDMI-A-1 above primary
|
|
||||||
"HDMI-A-1, 1920x1080@60, 0x0, 1"
|
|
||||||
|
|
||||||
# HDMI-A-1 left to primary
|
|
||||||
#"HDMI-A-1, 1920x1080@60, 1920x1080, 1"
|
|
||||||
|
|
||||||
# Mirror the primary (laptop) monitor on externals
|
|
||||||
", preferred, auto, 1, mirror, eDP-1"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue