some fixes
This commit is contained in:
parent
a4a02134dd
commit
f18b5ac912
20
modules/applications/flatcolor-gtk-theme.nix
Normal file
20
modules/applications/flatcolor-gtk-theme.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ stdenv, fetchFromGitHub, gtk-engine-murrine }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "flatcolor-gtk-theme";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "deviantfero";
|
||||
repo = "wpgtk-templates";
|
||||
rev = "90da48ecb26a0b36423db7fb8076615b43b72b47";
|
||||
sha256 = "1k7navk73mzw9lgvgikj96mqdkfb2icw60mdc59dq51rd0nk6d2b";
|
||||
};
|
||||
|
||||
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/themes
|
||||
cp -r FlatColor $out/share/themes
|
||||
rm $out/share/themes/FlatColor/LICENSE
|
||||
'';
|
||||
}
|
@ -64,9 +64,10 @@ in {
|
||||
# cli
|
||||
ranger
|
||||
youtube-dl
|
||||
pywal
|
||||
python27Packages.pygtk # pywal GTK2 reload
|
||||
python2 # pywal GTK2 reload
|
||||
wpgtk
|
||||
# pywal
|
||||
# python27Packages.pygtk # pywal GTK2 reload
|
||||
# python2 # pywal GTK2 reload
|
||||
# ncmpcpp
|
||||
|
||||
(youtube-to-mpv.override { isLaptop = isLaptop; })
|
||||
|
@ -29,6 +29,13 @@
|
||||
# src = inputs.micro;
|
||||
# });
|
||||
|
||||
wpgtk = super.wpgtk.overrideAttrs (old: rec {
|
||||
propagatedBuildInputs = with pkgs; [
|
||||
python2 python27Packages.pygtk
|
||||
python3Packages.pygobject3 python3Packages.pillow python3Packages.pywal
|
||||
];
|
||||
});
|
||||
|
||||
discord = super.discord.overrideAttrs (old: rec {
|
||||
version = "0.0.11";
|
||||
src = pkgs.fetchurl {
|
||||
@ -36,16 +43,12 @@
|
||||
sha256 = "1saqwigi1gjgy4q8rgnwyni57aaszi0w9vqssgyvfgzff8fpcx54";
|
||||
};
|
||||
});
|
||||
|
||||
|
||||
|
||||
# git-with-libsecret = super.git.override { withLibsecret = true; };
|
||||
|
||||
# spotifyd = super.spotifyd.override { withPulseAudio = true; };
|
||||
|
||||
# tlp = pkgs.callPackage ./applications/tlp { };
|
||||
|
||||
# spotify-tui = pkgs.callPackage ./applications/spotify-tui.nix { };
|
||||
|
||||
# spotify-tui = naersk.buildPackage {
|
||||
# name = "spotify-tui";
|
||||
# src = pkgs.imports.spotify-tui;
|
||||
|
@ -46,7 +46,6 @@ in {
|
||||
})];
|
||||
services.dbus.packages = with pkgs; [ gnome3.dconf ];
|
||||
home-manager.users.alukard = {
|
||||
# home.packages = [pkgs.generated-gtk-theme];
|
||||
gtk = {
|
||||
enable = true;
|
||||
iconTheme = {
|
||||
@ -56,15 +55,16 @@ in {
|
||||
theme = {
|
||||
name = "Generated";
|
||||
package = pkgs.generated-gtk-theme;
|
||||
# name = "FlatColor";
|
||||
# package = pkgs.flatcolor-gtk-theme;
|
||||
};
|
||||
font = {
|
||||
name = "Roboto 12";
|
||||
# package = pkgs.roboto;
|
||||
};
|
||||
gtk3.extraConfig.gtk-cursor-theme-name = "bibata_oil";
|
||||
};
|
||||
home.sessionVariables.GTK_THEME = "Generated";
|
||||
home.sessionVariables.XDG_DATA_DIRS = "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}:${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}:$XDG_DATA_DIRS";
|
||||
# home.sessionVariables.GTK_THEME = "FlatColor";
|
||||
};
|
||||
# environment.sessionVariables.GTK_THEME = "Generated";
|
||||
# environment.sessionVariables.GDK_BACKEND = "x11";
|
||||
}
|
||||
|
@ -18,14 +18,14 @@ in {
|
||||
strip_workspace_numbers no
|
||||
tray_output primary
|
||||
colors {
|
||||
background ${config.themes.colors.bg}
|
||||
statusline ${config.themes.colors.fg}
|
||||
separator ${config.themes.colors.alt}
|
||||
focused_workspace ${config.themes.colors.bg} ${config.themes.colors.bg} ${config.themes.colors.blue}
|
||||
active_workspace ${config.themes.colors.bg} ${config.themes.colors.bg} ${config.themes.colors.green}
|
||||
inactive_workspace ${config.themes.colors.bg} ${config.themes.colors.bg} ${config.themes.colors.fg}
|
||||
urgent_workspace ${config.themes.colors.bg} ${config.themes.colors.bg} ${config.themes.colors.orange}
|
||||
binding_mode ${config.themes.colors.bg} ${config.themes.colors.bg} ${config.themes.colors.yellow}
|
||||
background $bg
|
||||
statusline $fg
|
||||
separator $alt
|
||||
focused_workspace $bg $bg $blue
|
||||
active_workspace $bg $bg $green
|
||||
inactive_workspace $bg $bg $fg
|
||||
urgent_workspace $bg $bg $orange
|
||||
binding_mode $bg $bg $yellow
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
@ -2,8 +2,7 @@
|
||||
home-manager.users.alukard.programs.rofi = {
|
||||
enable = true;
|
||||
font = "Roboto Mono 14";
|
||||
terminal = "\${rxvt_unicode}/bin/urxvt";
|
||||
# theme = "custom.rasi";
|
||||
terminal = config.defaultApplications.term.cmd;
|
||||
theme = "~/.cache/wal/colors-rofi-dark.rasi";
|
||||
};
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user