This commit is contained in:
Hadi 2024-03-14 01:05:29 +01:00
parent 13ae5ad530
commit d5bd3270f7
4 changed files with 42 additions and 12 deletions

View File

@ -40,8 +40,9 @@ Themes and colors are managed by the `home/variable/theme` folder.
- `nixy-edit`
- `nixy-rebuild`
- `nixy-gc`
- `nixy-update`
- `nixy-gc` # garbage collection
- `nixy-cb` # clean boot menu
## Brightness control
@ -59,7 +60,7 @@ Themes and colors are managed by the `home/variable/theme` folder.
## Caffeine
Caffeine is a simple script that toggles the hypridle (disable suspend & screenlock).
Caffeine is a simple script that toggles hypridle (disable suspend & screenlock).
- `caffeine` # Toggle caffeine
- `caffeine-status` # Return active/inactive

View File

@ -44,8 +44,10 @@
tldr
qt5ct
libva
dconf
wget
ripgrep
xfce.thunar
# Just cool
cbonsai

View File

@ -9,9 +9,6 @@
wl-clipboard
brightnessctl
gnome.gnome-themes-extra
adwaita-qt
adwaita-qt6
gnome.adwaita-icon-theme
wlsunset
xwayland
xdg-desktop-portal-gtk
@ -19,7 +16,6 @@
wayland-utils
wayland-protocols
meson
xfce.thunar
];
wayland.windowManager.hyprland = {
@ -90,14 +86,10 @@
"XDG_CURRENT_DESKTOP,Hyprland"
"XDG_SESSION_TYPE,wayland"
"XDG_SESSION_DESKTOP,Hyprland"
"QT_QPA_PLATFORMTHEME,qt5ct"
"QT_AUTO_SCREEN_SCALE_FACTOR,1"
"QT_QPA_PLATFORM=wayland,xcb"
"QT_WAYLAND_DISABLE_WINDOWDECORATION,1"
"QT_STYLE_OVERRIDE,Adwaita-Dark"
"T_QPA_PLATFORMTHEME,qt5ct"
"GTK_THEME,Adwaita:dark"
"GTK2_RC_FILES,/usr/share/themes/Adwaita-dark/gtk-2.0/gtkrc"
"GTK_THEME,Flat-Remix-GTK-Grey-Darkest:dark"
];
general = {
@ -160,4 +152,29 @@
};
};
qt = {
enable = true;
platformTheme = "gtk";
style.name = "gtk2";
};
gtk = {
enable = true;
theme = {
package = pkgs.flat-remix-gtk;
name = "Flat-Remix-GTK-Grey-Darkest";
};
iconTheme = {
package = pkgs.flat-remix-icon-theme;
name = "Flat-Remix-Grey-Darkest";
};
font = {
name = config.theme.font;
size = 11;
};
};
}

View File

@ -18,6 +18,16 @@ let
cd ${homedir}/.config/nixos && sudo nix-collect-garbage -d
'';
nixy-cb = pkgs.writeShellScriptBin "nixy-cb" ''
sudo /run/current-system/bin/switch-to-configuration boot
'';
in {
home.packages = with pkgs; [ nixy-rebuild nixy-edit nixy-update nixy-gc ];
home.packages = with pkgs; [
nixy-rebuild
nixy-edit
nixy-update
nixy-gc
nixy-cb
];
}