feat(gtk): add dconf settings to set gtk theme and use new icon them
This commit is contained in:
parent
7184e752c2
commit
5db6b40d2e
7 changed files with 29 additions and 16 deletions
|
@ -15,11 +15,11 @@ exec-once = $HYPR_PATH/lisgd.sh &
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
||||||
|
|
||||||
# Execute your favorite apps at launch
|
# 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 4; blueberry-tray"
|
||||||
exec-once = bash -c "sleep 5; nextcloud --background"
|
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 = gnome-keyring-daemon --start --components=secrets
|
||||||
exec-once = squeekboard
|
exec-once = squeekboard
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
NIXPKGS_ALLOW_UNFREE = "1";
|
NIXPKGS_ALLOW_UNFREE = "1";
|
||||||
GTK_THEME = "Dracula";
|
|
||||||
QT_QPA_PLATFORMTHEME = "qt5ct";
|
QT_QPA_PLATFORMTHEME = "qt5ct";
|
||||||
QT_FONT_DPI = "125";
|
QT_FONT_DPI = "125";
|
||||||
};
|
};
|
||||||
|
|
|
@ -43,8 +43,6 @@
|
||||||
ls = "ls -lah --color=auto";
|
ls = "ls -lah --color=auto";
|
||||||
cp = "cp -r";
|
cp = "cp -r";
|
||||||
|
|
||||||
ags = "XDG_DATA_DIRS=/home/matt/.config/share ags";
|
|
||||||
|
|
||||||
tup = "tailscale up --login-server https://headscale.nelim.org";
|
tup = "tailscale up --login-server https://headscale.nelim.org";
|
||||||
|
|
||||||
pc = "mosh matt@10.0.0.248 -- tmux -2u new -At laptop";
|
pc = "mosh matt@10.0.0.248 -- tmux -2u new -At laptop";
|
||||||
|
|
24
nixos/home/dconf.nix
Normal file
24
nixos/home/dconf.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,7 +4,7 @@ in
|
||||||
{
|
{
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.sassc
|
pkgs.sassc
|
||||||
pkgs.kora-icon-theme
|
pkgs.flat-remix-icon-theme
|
||||||
pkgs.coloryou
|
pkgs.coloryou
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ in
|
||||||
|
|
||||||
extraConfig = ''
|
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
|
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 = AGS_PATH, ${configDir}/ags/bin
|
||||||
env = HYPR_PATH, ${configDir}/hypr/scripts
|
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
|
# https://www.reddit.com/r/NixOS/comments/vc3srj/comment/iccqxw1/?utm_source=share&utm_medium=web2x&context=3
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"share/icons/hicolor".source = "${pkgs.kora-icon-theme}/share/icons/kora-pgrey";
|
|
||||||
"../.themes/Dracula".source = "${pkgs.dracula-theme}/share/themes/Dracula";
|
"../.themes/Dracula".source = "${pkgs.dracula-theme}/share/themes/Dracula";
|
||||||
|
|
||||||
"Kvantum/Dracula".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula";
|
"Kvantum/Dracula".source = "${pkgs.dracula-theme}/share/Kvantum/Dracula";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ home-manager, ... }:
|
{ home-manager, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
## Global config to add home-manager module
|
## Global config to add home-manager module
|
||||||
|
@ -19,6 +19,7 @@
|
||||||
home-manager.users.matt = {
|
home-manager.users.matt = {
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
./dconf.nix
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./bashdots.nix
|
./bashdots.nix
|
||||||
./dotfiles.nix
|
./dotfiles.nix
|
||||||
|
|
|
@ -1,13 +1,6 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
dconf.settings = {
|
|
||||||
"org/virt-manager/virt-manager/connections" = {
|
|
||||||
autoconnect = ["qemu:///system"];
|
|
||||||
uris = ["qemu:///system"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
||||||
obs-studio = {
|
obs-studio = {
|
||||||
|
|
Loading…
Reference in a new issue