hyperpaper

This commit is contained in:
2023-08-08 14:41:33 +02:00
parent 8e34b7d8f3
commit a5208fedba
6 changed files with 93 additions and 2 deletions

View File

@ -8,7 +8,13 @@ in {
env = XDG_SESSION_DESKTOP,hyprland env = XDG_SESSION_DESKTOP,hyprland
env = GDK_BACKEND,wayland env = GDK_BACKEND,wayland
env = QT_QPA_PLATFORM,wayland env = QT_QPA_PLATFORM,wayland
env = SWWW_TRANSITION,grow
env = SWWW_TRANSITION_STEP,200
env = SWWW_TRANSITION_DURATION,1.5
env = SWWW_TRANSITION_FPS,240
env = SWWW_TRANSITION_WAVE,80,40
env = WLR_NO_HARDWARE_CURSORS,1
monitor=eDP-1,1920x1080@60.096001,0x0,1 monitor=eDP-1,1920x1080@60.096001,0x0,1
general { general {
@ -72,7 +78,7 @@ in {
} }
exec-once = waybar exec-once = waybar
exec-once = sleep 0.1; swww init && swww img ${../assets/wallpaper_street.jpg} exec-once = sleep 0.5; swww init && swww query | rg color && swww img ${../assets/wallpaper_street.jpg}
$SUPER = ${modifier} $SUPER = ${modifier}
$SUPER_SHIFT = ${modifier}_SHIFT $SUPER_SHIFT = ${modifier}_SHIFT

View File

@ -2,6 +2,7 @@
boot.loader = { boot.loader = {
systemd-boot = { systemd-boot = {
enable = true; enable = true;
configurationLimit = 10;
}; };
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };

View File

@ -11,7 +11,9 @@
./packages.nix ./packages.nix
./pipewire.nix ./pipewire.nix
./security.nix ./security.nix
./starship.nix
./system.nix ./system.nix
./systemd.nix
./user.nix ./user.nix
./timezone.nix ./timezone.nix
./waybar.nix ./waybar.nix

View File

@ -2,7 +2,9 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
brightnessctl brightnessctl
git git
jq
neofetch neofetch
ripgrep # rg in home/hyprland.nix
swww swww
tree tree
wget wget

74
modules/starship.nix Normal file
View File

@ -0,0 +1,74 @@
{
programs.starship = {
enable = true;
settings = {
add_newline = false;
directory = {
style = "purple";
read_only = " ro";
};
git_branch = {
style = "yellow";
symbol = "";
};
character = {
success_symbol = "[>](red)[>](green)[>](blue)";
error_symbol = "[>](cyan)[>](purple)[>](yellow)";
vicmd_symbol = "[<](bold green)";
};
line_break.disabled = true;
nodejs = {
format = "with [$symbol($version )]($style)";
symbol = "node ";
version_format = "\${major}";
disabled = true;
};
git_commit.tag_symbol = " tag ";
git_status = {
ahead = ">";
behind = "<";
diverged = "<>";
renamed = "r";
deleted = "x";
};
aws.symbol = "aws ";
cobol.symbol = "cobol ";
conda.symbol = "conda ";
crystal.symbol = "cr ";
cmake.symbol = "cmake ";
dart.symbol = "dart ";
deno.symbol = "deno ";
dotnet.symbol = ".NET ";
docker_context.symbol = "docker ";
elixir.symbol = "exs ";
elm.symbol = "elm ";
golang.symbol = "go ";
hg_branch.symbol = "hg ";
java.symbol = "java ";
julia.symbol = "jl ";
kotlin.symbol = "kt ";
memory_usage.symbol = "memory ";
nim.symbol = "nim ";
nix_shell.symbol = "nix ";
ocaml.symbol = "ml ";
package.symbol = "pkg ";
perl.symbol = "pl ";
php.symbol = "php ";
purescript.symbol = "purs ";
python.symbol = "python ";
ruby.symbol = "ruby ";
rust.symbol = "rust ";
scala.symbol = "scala ";
swift.symbol = "swift ";
};
};
}

6
modules/systemd.nix Normal file
View File

@ -0,0 +1,6 @@
{
systemd = {
extraConfig = "DefaultTimeoutStopSec = 10s";
services.NetworkManager-wait-online.enable = false;
};
}