added hyprland stuff

This commit is contained in:
Charlie Root 2024-05-14 00:18:53 +02:00
commit c5cf53e24e
6 changed files with 62 additions and 49 deletions

BIN
FreeBSD.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB

6
flake.lock generated
View file

@ -881,11 +881,11 @@
}, },
"nixpkgs_4": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1714763106, "lastModified": 1715534503,
"narHash": "sha256-DrDHo74uTycfpAF+/qxZAMlP/Cpe04BVioJb6fdI0YY=", "narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e9be42459999a253a9f92559b1f5b72e1b44c13d", "rev": "2057814051972fa1453ddfb0d98badbea9b83c06",
"type": "github" "type": "github"
}, },
"original": { "original": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 KiB

View file

@ -42,6 +42,11 @@ in {
plugins = [ plugins = [
inputs.split-monitor-workspaces.packages.${pkgs.system}.split-monitor-workspaces inputs.split-monitor-workspaces.packages.${pkgs.system}.split-monitor-workspaces
]; ];
xwayland.enable = true;
systemd = {
enable = true;
variables = ["--all"];
};
settings = { settings = {
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";
@ -128,11 +133,16 @@ in {
shadow_ignore_window = 1; shadow_ignore_window = 1;
shadow_offset = "2 4"; shadow_offset = "2 4";
shadow_scale = 1; shadow_scale = 1;
active_opacity = 0.90; #active_opacity = 1;
inactive_opacity = 0.90; #inactive_opacity = 1;
#"col.shadow" = "0xAF1E1E2E"; #"col.shadow" = "0xAF1E1E2E";
}; };
/*cursor = {
default_monitor ="HDMI-A-2";
enable_hyprcursor = true;
hide_on_key_press = true;
};*/
bezier = [ bezier = [
"dupa, 0.1, 0.9, 0.1, 1.05" "dupa, 0.1, 0.9, 0.1, 1.05"
"apf,0.76,0,0.24,1" "apf,0.76,0,0.24,1"
@ -155,7 +165,7 @@ in {
disable_logs =false; disable_logs =false;
}; };
misc = { misc = {
enable_swallow = false; enable_swallow = true;
swallow_regex = "kitty"; swallow_regex = "kitty";
focus_on_activate = true; focus_on_activate = true;
vrr = 1; vrr = 1;
@ -164,7 +174,6 @@ in {
animate_mouse_windowdragging = false; animate_mouse_windowdragging = false;
force_default_wallpaper = 0; force_default_wallpaper = 0;
}; };
windowrulev2 = [ windowrulev2 = [
"float, class:^(Tor Browser)$" "float, class:^(Tor Browser)$"
"float, class:^(mpv)$" "float, class:^(mpv)$"

View file

@ -21,15 +21,14 @@ in {
fastfetch fastfetch
feh feh
(fenix.complete.withComponents [ (fenix.complete.withComponents [
"cargo" "cargo" "clippy" "rust-src"
"clippy"
"rust-src"
"rustc" "rustc"
"rustfmt" "rustfmt"
]) ])
ffmpeg-full ffmpeg-full
fftw fftw
flameshot flameshot
foot
grimblast grimblast
gcc gcc
gdb gdb
@ -56,7 +55,7 @@ in {
networkmanagerapplet networkmanagerapplet
nextcloud-client nextcloud-client
nicotine-plus nicotine-plus
nitrogen nitch
nixpkgs-wayland.swww nixpkgs-wayland.swww
nmap nmap
notesnook notesnook
@ -69,6 +68,7 @@ in {
pcmanfm pcmanfm
pdfarranger pdfarranger
pfetch pfetch
pidgin
playerctl playerctl
polkit polkit
python3 python3

View file

@ -8,38 +8,38 @@ in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
home-manager.users.${username} = { home-manager.users.${username} = {
stylix = { stylix = {
polarity = "dark";
image = ../../FreeBSD.png;
# base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-soft.yaml";
autoEnable = true;
targets = { targets = {
btop.enable = true; btop.enable = true;
fish.enable = true; fish.enable = true;
dunst.enable = true;
emacs.enable = true; emacs.enable = true;
firefox.enable = true; firefox.enable = true;
kitty.enable = true; kitty.enable = true;
lazygit.enable = true; lazygit.enable = true;
rofi.enable = true; rofi.enable = true;
foot.enable = true;
tmux.enable = true; tmux.enable = true;
waybar.enable = true;
vim.enable = true; vim.enable = true;
zathura.enable = true; zathura.enable = true;
gtk.enable = true; gtk.enable = true;
hyprland.enable = true; hyprland.enable = true;
}; };
opacity = {
applications = 0.9;
popups = 0.9;
desktop = 0.9;
terminal = 0.9;
}; };
};
stylix = {
autoEnable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-soft.yaml";
polarity = "dark";
image = ../../hosts/vali/mars/2024-04-21-14-50.png;
cursor = { cursor = {
package = pkgs.bibata-cursors; package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic"; name = "Bibata-Modern-Classic";
size = 24; size = 24;
}; };
targets.plymouth.enable = true;
opacity = {
applications = 0.7;
popups = 0.7;
desktop = 0.7;
};
fonts = { fonts = {
sizes = { sizes = {
terminal = 14; terminal = 14;
@ -63,7 +63,11 @@ in {
name = "Noto Color Emoji"; name = "Noto Color Emoji";
}; };
}; };
};
};
stylix = {
image = ../../FreeBSD.png;
polarity = "dark";
}; };
}; };
} }