Update
This commit is contained in:
parent
38fa4bfd1f
commit
33d41374aa
5 changed files with 62 additions and 57 deletions
|
|
@ -8,9 +8,14 @@
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
stylix = {
|
||||||
|
url = "github:danth/stylix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, ... }:
|
outputs = { nixpkgs, home-manager, stylix, ... }:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
|
@ -20,7 +25,10 @@
|
||||||
|
|
||||||
# Specify your home configuration modules here, for example,
|
# Specify your home configuration modules here, for example,
|
||||||
# the path to your home.nix.
|
# the path to your home.nix.
|
||||||
modules = [ ./home.nix ];
|
modules = [
|
||||||
|
stylix.homeModules.stylix
|
||||||
|
./home.nix
|
||||||
|
];
|
||||||
|
|
||||||
# Optionally use extraSpecialArgs
|
# Optionally use extraSpecialArgs
|
||||||
# to pass through arguments to home.nix
|
# to pass through arguments to home.nix
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# imports = [
|
imports = [
|
||||||
# ./catppuccin.nix
|
./theme.nix
|
||||||
# ];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
config = {
|
config = {
|
||||||
|
|
@ -20,6 +20,19 @@
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
|
#gtk = {
|
||||||
|
# enable = true;
|
||||||
|
#iconTheme = {
|
||||||
|
# name = "Papirus-Dark";
|
||||||
|
# package = pkgs.papirus-icon-theme;
|
||||||
|
#};
|
||||||
|
#};
|
||||||
|
|
||||||
|
#qt = {
|
||||||
|
# enable = true;
|
||||||
|
#};
|
||||||
|
|
||||||
|
/*
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font.name = "TeX Gyre Adventor 10";
|
font.name = "TeX Gyre Adventor 10";
|
||||||
|
|
@ -82,4 +95,6 @@
|
||||||
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
|
"gtk-4.0/gtk.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk.css";
|
||||||
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
|
"gtk-4.0/gtk-dark.css".source = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}/gtk-4.0/gtk-dark.css";
|
||||||
};
|
};
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,67 +1,39 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
fonts.fontconfig.enable = true;
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
noto-fonts-emoji
|
|
||||||
dejavu_fonts
|
|
||||||
(nerdfonts.override {
|
|
||||||
fonts = [
|
|
||||||
"JetBrainsMono"
|
|
||||||
"Iosevka"
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-moon.yaml";
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
|
polarity = "dark";
|
||||||
|
|
||||||
cursor = {
|
|
||||||
package = pkgs.bibata-cursors;
|
|
||||||
name = "Bibata-Modern-Ice";
|
|
||||||
size = 24;
|
|
||||||
};
|
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
serif = {
|
serif = {
|
||||||
package = pkgs.dejavu_fonts;
|
package = pkgs.gyre-fonts;
|
||||||
name = "DejaVu Serif";
|
name = "TeX Gyre Adventor 10";
|
||||||
};
|
|
||||||
|
|
||||||
sansSerif = {
|
|
||||||
package = pkgs.dejavu_fonts;
|
|
||||||
name = "DejaVu Sans";
|
|
||||||
};
|
|
||||||
|
|
||||||
monospace = {
|
|
||||||
package = pkgs.nerdfonts.override { fonts = [ "JetBrainsMono" ]; };
|
|
||||||
name = "JetBrainsMono Nerd Font Mono";
|
|
||||||
};
|
|
||||||
|
|
||||||
emoji = {
|
|
||||||
package = pkgs.noto-fonts-emoji;
|
|
||||||
name = "Noto Color Emoji";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
sizes = {
|
sizes = {
|
||||||
applications = 10;
|
applications = 10;
|
||||||
terminal = 10;
|
|
||||||
desktop = 10;
|
desktop = 10;
|
||||||
popups = 10;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
targets.nixvim.enable = false;
|
cursor.package = pkgs.rose-pine-cursor;
|
||||||
# targets.rofi.enable = false;
|
cursor.name = "BreezeX-RosePine-Linux";
|
||||||
|
cursor.size = 24;
|
||||||
|
|
||||||
#FIXME: it doesnt work, it has to do with hyprpaper
|
icons = {
|
||||||
# image = ../../assets/Shogoki.png;
|
enable = true;
|
||||||
|
package = pkgs.papirus-icon-theme;
|
||||||
|
dark = "Papirus-Dark";
|
||||||
|
};
|
||||||
|
|
||||||
# opacity = {
|
targets.nixos-icons.enable = true;
|
||||||
# desktop = 0.5;
|
targets.qt = {
|
||||||
# terminal = 0.9;
|
enable = true;
|
||||||
# };
|
platform = "qtct";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ autogenerated = 0 # remove this line to remove the warning
|
||||||
################
|
################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
monitor=DP-4,3440x1440@160,auto,auto
|
monitor=,3440x1440@160,auto,auto
|
||||||
monitor=HDMI-A-1, disable
|
monitor=HDMI-A-1, disable
|
||||||
#monitor=DP-1,1920x1080@60,auto,auto
|
#monitor=DP-1,1920x1080@60,auto,auto
|
||||||
|
|
||||||
|
|
@ -58,7 +58,9 @@ exec-once = nix-shell -p appimage-run --run "appimage-run ~/Msty/Msty.AppImage"
|
||||||
|
|
||||||
|
|
||||||
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
|
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
|
||||||
env = QT_QPA_PLATFORMTHEME,qt6ct # for Qt apps
|
#env = QT_QPA_PLATFORMTHEME,qt6ct # for Qt apps
|
||||||
|
env = QT_QPA_PLATFORM,wayland
|
||||||
|
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||||
|
|
||||||
windowrule=float,class:^(org.telegram.desktop|telegramdesktop)$,title:^(Media viewer)$
|
windowrule=float,class:^(org.telegram.desktop|telegramdesktop)$,title:^(Media viewer)$
|
||||||
|
|
||||||
|
|
@ -346,6 +348,10 @@ bindl = , XF86Calculator, exec, gnome-calculator
|
||||||
# Hyprlock
|
# Hyprlock
|
||||||
bind = $mainMod, L, exec, hyprlock
|
bind = $mainMod, L, exec, hyprlock
|
||||||
|
|
||||||
|
# Screen Magnification
|
||||||
|
bind = $mainMod, KP_ADD, exec, hyprctl keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 + 0.5}')
|
||||||
|
bind = $mainMod, KP_SUBTRACT, exec, hyprctl keyword cursor:zoom_factor $(hyprctl getoption cursor:zoom_factor | awk '/^float.*/ {print $2 - 0.5}')
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
### WINDOWS AND WORKSPACES ###
|
### WINDOWS AND WORKSPACES ###
|
||||||
##############################
|
##############################
|
||||||
|
|
@ -377,6 +383,7 @@ windowrule = float, class:^mpv$
|
||||||
|
|
||||||
windowrule = workspace 1, class:^kitty$
|
windowrule = workspace 1, class:^kitty$
|
||||||
windowrule = workspace 2, class:^floorp$
|
windowrule = workspace 2, class:^floorp$
|
||||||
|
windowrule = workspace 2, class:^brave-browser$
|
||||||
windowrule = workspace 3, class:^org.telegram.desktop$
|
windowrule = workspace 3, class:^org.telegram.desktop$
|
||||||
windowrule = workspace 3, class:^discord$
|
windowrule = workspace 3, class:^discord$
|
||||||
windowrule = workspace 3, class:^Element$
|
windowrule = workspace 3, class:^Element$
|
||||||
|
|
@ -390,9 +397,12 @@ windowrule = workspace 7, class:^ONLYOFFICE$
|
||||||
windowrule = size 1920 1080, class:^Msty$
|
windowrule = size 1920 1080, class:^Msty$
|
||||||
windowrule = center, class:^Msty$
|
windowrule = center, class:^Msty$
|
||||||
windowrule = float, class:^Msty$
|
windowrule = float, class:^Msty$
|
||||||
|
|
||||||
|
windowrule = float, class:org.gnome.NautilusPreviewer
|
||||||
|
windowrule = float, class:zenity
|
||||||
#windowrule = move 10 55, Msty
|
#windowrule = move 10 55, Msty
|
||||||
#windowrule = pin, Msty
|
#windowrule = pin, Msty
|
||||||
windowrule = workspace special:ai, class:^Msty$
|
windowrule = workspace special:ai, class:^Msty$
|
||||||
|
|
||||||
bind = $mainMod, A, togglespecialworkspace, ai
|
bind = $mainMod, A, togglespecialworkspace, ai
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -447,13 +447,13 @@
|
||||||
"bar.workspaces.workspaceIconMap": {
|
"bar.workspaces.workspaceIconMap": {
|
||||||
"1": "",
|
"1": "",
|
||||||
"2": "",
|
"2": "",
|
||||||
"3": "",
|
"3": "",
|
||||||
"4": "",
|
"4": "",
|
||||||
"5": "",
|
"5": "",
|
||||||
"6": "",
|
"6": "",
|
||||||
"7": "",
|
"7": "",
|
||||||
"8": "",
|
"8": "",
|
||||||
"9": "",
|
"9": "",
|
||||||
"10": ""
|
"10": ""
|
||||||
},
|
},
|
||||||
"bar.workspaces.icons.available": "",
|
"bar.workspaces.icons.available": "",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue