Trying out stylix!

This commit is contained in:
Emmet 2023-05-13 07:26:54 -05:00
parent d197630b54
commit 3a2ba281e8
5 changed files with 137 additions and 12 deletions

View file

@ -51,6 +51,22 @@ in
imports = [
./wm/xmonad/xmonad.nix
];
stylix.autoEnable = false;
stylix.image = pkgs.fetchurl {
url = "https://w.wallhaven.cc/full/6d/wallhaven-6d5k6x.jpg";
sha256 = "+xl4H3UiVmMRNvMhIlaLdVTYYqnSyCTSX2UOTGsDQ8c=";
};
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
stylix.targets.alacritty.enable = true;
#programs.alacritty.enable = true;
stylix.targets.kitty.enable = true;
#programs.kitty.enable = true;
stylix.targets.gtk.enable = true;
stylix.targets.rofi.enable = true;
programs.rofi.enable = true;
stylix.targets.feh.enable = true;
programs.feh.enable = true;
# stylix.targets.lightdm.enable = true;
programs.git.enable = true;
programs.git.userName = myName;
@ -71,10 +87,10 @@ in
# The home.packages option allows you to install Nix packages into your
# environment.
gtk.enable = true;
gtk.theme.package = pkgs.graphite-gtk-theme.override { themeVariants = ["all"]; colorVariants = ["dark"]; tweaks = ["black"]; };
gtk.theme.name = "Graphite-green-Dark";
qt.enable = true;
# gtk.enable = true;
# gtk.theme.package = pkgs.graphite-gtk-theme.override { themeVariants = ["all"]; colorVariants = ["dark"]; tweaks = ["black"]; };
# gtk.theme.name = "Graphite-green-Dark";
# qt.enable = true;
# qt.platformTheme = "gtk";
home.packages = with pkgs; [
@ -90,7 +106,7 @@ in
brave
dmenu
rofi
nitrogen
feh
git
xmobar
qt5ct
@ -269,7 +285,6 @@ in
nodePackages.ungit
# Compositor and Desktop Utils
nitrogen
picom
alttab
xwinwrap

View file

@ -41,7 +41,6 @@ killall twmnd
killall trayer
killall nm-applet
killall nextcloud
killall nitrogen
killall xautolock
killall caffeine
killall syncthing-gtk
@ -99,7 +98,6 @@ sed -i "s/colorSecondary/"$colorSecondary"/g" ~/.config/xmobar/xmobarrc & # xmob
# xautolock -time 10 -locker "dm-tool switch-to-greeter & systemctl suspend" &
twmnd &
alttab -w 1 -t 240x160 -i 64x64 -sc 1 -bg $colorBgNormal -fg $colorFgNormal -frame $colorSecondary -inact $colorFgNormal &
nitrogen --restore &
autokey-gtk &
##/usr/bin/trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --transparent true --alpha 0 --height 28 --tint $trayertint --monitor "primary" &
nm-applet &

View file

@ -751,7 +751,6 @@ killall twmnd
killall trayer
killall nm-applet
killall nextcloud
killall nitrogen
killall xautolock
killall caffeine
killall syncthing-gtk
@ -821,7 +820,6 @@ Lastly, desktop applications are started in the background.
# xautolock -time 10 -locker "dm-tool switch-to-greeter & systemctl suspend" &
twmnd &
alttab -w 1 -t 240x160 -i 64x64 -sc 1 -bg $colorBgNormal -fg $colorFgNormal -frame $colorSecondary -inact $colorFgNormal &
nitrogen --restore &
autokey-gtk &
##/usr/bin/trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --widthtype request --transparent true --alpha 0 --height 28 --tint $trayertint --monitor "primary" &
nm-applet &