fixes + dotfiles
This commit is contained in:
parent
7a4de470c4
commit
41f86baead
3 changed files with 18 additions and 26 deletions
|
@ -3,11 +3,11 @@
|
||||||
"dotfiles": {
|
"dotfiles": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728232635,
|
"lastModified": 1728417457,
|
||||||
"narHash": "sha256-8c6BzMZYiCLQi4hjSGATAykleEyAbDOm6AVNLNuWXEc=",
|
"narHash": "sha256-EIRJXszg7iXXnxgoUzcUAmG2yytk3rtROl8jWQqFvWE=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "04b816c129a511d5090c3088ee5fdc718c198b7a",
|
"rev": "787d77b7de9949a5c312ee0ad9b812e83cb96768",
|
||||||
"revCount": 6,
|
"revCount": 9,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/nomadics9/dotfiles.git"
|
"url": "https://github.com/nomadics9/dotfiles.git"
|
||||||
},
|
},
|
||||||
|
|
|
@ -19,7 +19,7 @@ in
|
||||||
layer = "top";
|
layer = "top";
|
||||||
modules-left = [ "custom/launcher" "cpu" "memory" "custom/weather" "hyprland/workspaces" ];
|
modules-left = [ "custom/launcher" "cpu" "memory" "custom/weather" "hyprland/workspaces" ];
|
||||||
modules-center = [ "mpris" ];
|
modules-center = [ "mpris" ];
|
||||||
modules-right = [ "network" "pulseaudio" "backlight" "battery" "clock" "tray" "hyprland/language" "custom/wallpaper" "custom/power-menu" ];
|
modules-right = [ "network" "pulseaudio" "backlight" "battery" "clock" "tray" "hyprland/language" "custom/wallpaper" "custom/refresh-rate" ];
|
||||||
|
|
||||||
"hyprland/workspaces" = {
|
"hyprland/workspaces" = {
|
||||||
format = "{name}";
|
format = "{name}";
|
||||||
|
@ -164,16 +164,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
"custom/spotify" = {
|
"custom/refresh-rate" = {
|
||||||
exec = "nix-shell ~/.config/waybar/scripts/mediaplayer.py --player youtube-music";
|
|
||||||
format = " {}";
|
|
||||||
return-type = "json";
|
|
||||||
on-click = "playerctl play-pause";
|
|
||||||
on-double-click-right = "playerctl next";
|
|
||||||
on-scroll-down = "playerctl previous";
|
|
||||||
};
|
|
||||||
|
|
||||||
"custom/power-menu" = {
|
|
||||||
format = "{percentage}Hz";
|
format = "{percentage}Hz";
|
||||||
on-click = "~/.config/hypr/scripts/screenHz.sh";
|
on-click = "~/.config/hypr/scripts/screenHz.sh";
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
|
@ -189,7 +180,7 @@ in
|
||||||
|
|
||||||
"custom/wallpaper" = {
|
"custom/wallpaper" = {
|
||||||
format = "";
|
format = "";
|
||||||
on-click = "bash ~/.config/waybar/scripts/changewallpaper.sh";
|
on-click = "bash ~/.config/hypr/scripts/changewallpaper.sh";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -449,7 +440,7 @@ in
|
||||||
margin-bottom: 7px;
|
margin-bottom: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-power-menu {
|
#custom-refresh-rate {
|
||||||
color: #8a909e;
|
color: #8a909e;
|
||||||
margin-right: 12px;
|
margin-right: 12px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
@ -465,7 +456,7 @@ in
|
||||||
}
|
}
|
||||||
#custom-wallpaper,
|
#custom-wallpaper,
|
||||||
#language,
|
#language,
|
||||||
#custom-power-menu {
|
#custom-refresh-rate {
|
||||||
background-color: #252733;
|
background-color: #252733;
|
||||||
padding: 0em 2em;
|
padding: 0em 2em;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ inputs, ... }: {
|
{ inputs, pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
./bat.nix
|
./bat.nix
|
||||||
./dunst.nix
|
./dunst.nix
|
||||||
|
@ -14,13 +14,14 @@
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".config/hypr/" = {
|
home.file.".config/hypr" = {
|
||||||
source = "${inputs.dotfiles}/hypr/hyprlock/Style-2";
|
source = pkgs.symlinkJoin {
|
||||||
recursive = true;
|
name = "hypr-config";
|
||||||
};
|
paths = [
|
||||||
|
"${inputs.dotfiles}/hypr/hyprlock/Style-2"
|
||||||
home.file.".config/hypr/" = {
|
"${inputs.dotfiles}/hypr/hyprpaper"
|
||||||
source = "${inputs.dotfiles}/hypr/hyprpaper.conf";
|
];
|
||||||
|
};
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue