feat(gtk): add dconf settings to set gtk theme and use new icon them

This commit is contained in:
matt1432 2023-10-03 09:18:50 -04:00
parent 7184e752c2
commit 5db6b40d2e
7 changed files with 29 additions and 16 deletions

View file

@ -15,11 +15,11 @@ exec-once = $HYPR_PATH/lisgd.sh &
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
exec-once = bash -c "sleep 3; XDG_DATA_DIRS=$kora nm-applet"
exec-once = bash -c "sleep 3; nm-applet"
exec-once = bash -c "sleep 4; blueberry-tray"
exec-once = bash -c "sleep 5; nextcloud --background"
exec-once = XDG_DATA_DIRS=$kora ags
exec-once = ags
exec-once = gnome-keyring-daemon --start --components=secrets
exec-once = squeekboard

View file

@ -30,7 +30,6 @@
environment.sessionVariables = {
NIXPKGS_ALLOW_UNFREE = "1";
GTK_THEME = "Dracula";
QT_QPA_PLATFORMTHEME = "qt5ct";
QT_FONT_DPI = "125";
};

View file

@ -43,8 +43,6 @@
ls = "ls -lah --color=auto";
cp = "cp -r";
ags = "XDG_DATA_DIRS=/home/matt/.config/share ags";
tup = "tailscale up --login-server https://headscale.nelim.org";
pc = "mosh matt@10.0.0.248 -- tmux -2u new -At laptop";

24
nixos/home/dconf.nix Normal file
View file

@ -0,0 +1,24 @@
{ ... }:
{
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
"apps/seahorse/listing" = {
keyrings-selected = [ "gnupg://" ];
};
"org/gtk/settings/file-chooser" = {
show-hidden = true;
};
"org/gnome/desktop/interface" = {
color-scheme = "prefer-dark";
gtk-theme = "Dracula";
icon-theme = "Flat-Remix-Violet-Dark";
};
};
}

View file

@ -4,7 +4,7 @@ in
{
home.packages = [
pkgs.sassc
pkgs.kora-icon-theme
pkgs.flat-remix-icon-theme
pkgs.coloryou
];
@ -29,7 +29,6 @@ in
extraConfig = ''
env = 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
$kora = "$HOME/.config/share"
env = AGS_PATH, ${configDir}/ags/bin
env = HYPR_PATH, ${configDir}/hypr/scripts
@ -42,7 +41,6 @@ in
# https://www.reddit.com/r/NixOS/comments/vc3srj/comment/iccqxw1/?utm_source=share&utm_medium=web2x&context=3
xdg.configFile = {
"share/icons/hicolor".source = "${pkgs.kora-icon-theme}/share/icons/kora-pgrey";
"../.themes/Dracula".source = "${pkgs.dracula-theme}/share/themes/Dracula";
"Kvantum/Dracula".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula";

View file

@ -1,4 +1,4 @@
{ home-manager, ... }:
{ home-manager, ... }:
{
## Global config to add home-manager module
@ -19,6 +19,7 @@
home-manager.users.matt = {
imports = [
./dconf.nix
./hyprland.nix
./bashdots.nix
./dotfiles.nix

View file

@ -1,13 +1,6 @@
{ pkgs, ... }:
{
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
programs = {
obs-studio = {