eeeeeee
This commit is contained in:
parent
d0b7f9f8fb
commit
70bcd2a516
|
@ -1,6 +1,6 @@
|
||||||
[default]
|
[default]
|
||||||
# The color of the notification background in format: rgba([0, 255], [0, 255], [0, 255], [0, 1]).
|
# The color of the notification background in format: rgba([0, 255], [0, 255], [0, 255], [0, 1]).
|
||||||
background = rgba(48, 52, 70, 0.95)
|
background = rgba(48, 52, 70, 0.8)
|
||||||
|
|
||||||
# Sets the color of the notification border in format rgba([0, 255], [0, 255], [0, 255], [0, 1]).
|
# Sets the color of the notification border in format rgba([0, 255], [0, 255], [0, 255], [0, 1]).
|
||||||
border-color = rgba(166, 209, 137, 1.0)
|
border-color = rgba(166, 209, 137, 1.0)
|
||||||
|
@ -10,4 +10,4 @@ bar-fg-color = rgba(166, 200, 190, 1.0)
|
||||||
|
|
||||||
# The color of the unfilled bar blocks in format rgba([0, 255], [0, 255], [0, 255], [0, 1]).
|
# The color of the unfilled bar blocks in format rgba([0, 255], [0, 255], [0, 255], [0, 1]).
|
||||||
# Defaults to 'background' with 2/3 brightness.
|
# Defaults to 'background' with 2/3 brightness.
|
||||||
bar-bg-color = rgba(129, 200, 190, 1.0)
|
bar-bg-color = rgba(198, 208, 245, 0.8)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ pkgs, ... }: {
|
{ pkgs, hyprland, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
<home-manager/nixos>
|
<home-manager/nixos>
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
@ -16,7 +16,9 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.settings = {
|
nix.settings = {
|
||||||
substituters = [ "https://hyprland.cachix.org" ];
|
substituters = [
|
||||||
|
"https://hyprland.cachix.org"
|
||||||
|
];
|
||||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
outputs = { self, nixpkgs, hyprland, home-manager }: {
|
outputs = { self, nixpkgs, hyprland, home-manager }@inputs: {
|
||||||
nixosConfigurations.bat = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.bat = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -15,11 +15,11 @@
|
||||||
hyprland.nixosModules.default
|
hyprland.nixosModules.default
|
||||||
{ programs.hyprland.enable = true; }
|
{ programs.hyprland.enable = true; }
|
||||||
];
|
];
|
||||||
|
specialArgs = inputs;
|
||||||
};
|
};
|
||||||
homeConfigurations."zoe@bat" = home-manager.lib.homeManagerConfiguration {
|
homeConfigurations."zoe@bat" = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
modules = [ ];
|
||||||
modules = [];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
syncthing.enable = true;
|
syncthing.enable = true;
|
||||||
|
upower.enable = true;
|
||||||
mullvad-vpn.enable = true;
|
mullvad-vpn.enable = true;
|
||||||
udisks2.enable = true;
|
udisks2.enable = true;
|
||||||
gnome.sushi.enable = true;
|
gnome.sushi.enable = true;
|
||||||
|
|
4
user.nix
4
user.nix
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, users, config, ... }:
|
{ pkgs, users, config, inputs, ... }:
|
||||||
let
|
let
|
||||||
unstable = import
|
unstable = import
|
||||||
(builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/master)
|
(builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/master)
|
||||||
|
@ -57,7 +57,6 @@ in
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wofi
|
wofi
|
||||||
wofi-emoji
|
wofi-emoji
|
||||||
unstable.waybar
|
|
||||||
avizo
|
avizo
|
||||||
wdisplays
|
wdisplays
|
||||||
|
|
||||||
|
@ -89,6 +88,7 @@ in
|
||||||
|
|
||||||
# terminal
|
# terminal
|
||||||
kitty
|
kitty
|
||||||
|
dt-shell-color-scripts
|
||||||
|
|
||||||
# window manager
|
# window manager
|
||||||
rofimoji
|
rofimoji
|
||||||
|
|
|
@ -1,20 +1,16 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, hyprland, ... }:
|
||||||
let
|
|
||||||
unstable = import (builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/master)
|
|
||||||
{ config = config.nixpkgs.config; };
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
home-manager.users.zoe.programs.waybar = {
|
home-manager.users.zoe.programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = unstable.waybar;
|
package = hyprland.packages.${pkgs.system}.waybar-hyprland;
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 30;
|
height = 30;
|
||||||
modules-left = [ "wlr/workspaces" "wlr/taskbar" "hyprland/submap" ];
|
modules-left = [ "wlr/workspaces" "wlr/taskbar" "hyprland/submap" ];
|
||||||
modules-center = [ "clock" ];
|
modules-center = [ "mpris" ];
|
||||||
modules-right = [ "battery" "clock" ];
|
modules-right = [ "network" "upower" "clock" "tray" ];
|
||||||
|
|
||||||
"wlr/taskbar" = {
|
"wlr/taskbar" = {
|
||||||
"format" = "{icon}";
|
"format" = "{icon}";
|
||||||
|
@ -27,14 +23,57 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
"clock" = {
|
"clock" = {
|
||||||
"format" = "{:%H:%M} ";
|
"format" = "{:%H:%M}";
|
||||||
};
|
};
|
||||||
|
|
||||||
"battery" = {
|
"network" = {
|
||||||
"format" = "{capacity}{icon}";
|
format = "{essid}{signalStrength}";
|
||||||
"format-icons" = "['', '', '', '', '']";
|
format-disconnected = "NO NETWORK";
|
||||||
|
tooltip = "false";
|
||||||
|
};
|
||||||
|
|
||||||
|
"upower" = {
|
||||||
|
"hide-if-empty" = "true";
|
||||||
|
};
|
||||||
|
|
||||||
|
"mpris" = {
|
||||||
|
"format" = "{status_icon} {artist} - {title}";
|
||||||
|
"status-icons" = {
|
||||||
|
"paused" = "paused!";
|
||||||
|
"playing" = "jamming!";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
style = ''
|
||||||
|
* {
|
||||||
|
font-family: "CaskaydiaCove Nerd Font";
|
||||||
|
font-size: 14px;
|
||||||
|
background: none;
|
||||||
|
color: #${config.color.foreground};
|
||||||
|
min-height: 24px;
|
||||||
|
padding: 0px 4px;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window#waybar,
|
||||||
|
tooltip {
|
||||||
|
border-bottom: 2px solid #${config.color.green};
|
||||||
|
background: alpha(#${config.color.background}, 0.9);
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
box-shadow: inherit;
|
||||||
|
text-shadow: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button.active label{
|
||||||
|
color: #${config.color.green};
|
||||||
|
}
|
||||||
|
|
||||||
|
#submap {
|
||||||
|
color: #${config.color.red};
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue