This commit is contained in:
parent
245c5a7d27
commit
6088d13939
8 changed files with 123 additions and 58 deletions
|
|
@ -229,9 +229,39 @@ in
|
|||
];
|
||||
};
|
||||
};
|
||||
configPackages = [
|
||||
(pkgs.writeTextDir "share/pipewire/pipewire.conf.d/snapcast-discover.conf" ''
|
||||
context.modules = [
|
||||
{
|
||||
name = libpipewire-module-snapcast-discover
|
||||
args = {
|
||||
snapcast.discover-local = true
|
||||
stream.rules = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
snapcast.ip = "~.*"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
create-stream = {
|
||||
# node.name = "Snapcast"
|
||||
# snapcast.stream-name = "default"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
'')
|
||||
|
||||
];
|
||||
wireplumber.extraConfig."98-bluetooth"."wireplumber.settings"."bluetooth.autoswitch-to-headset-profile" =
|
||||
false;
|
||||
wireplumber.configPackages = mapAttrsToList (n: v: eqPkg v) cfg.eq;
|
||||
wireplumber.configPackages = mapAttrsToList (n: v: eqPkg v) cfg.eq ++ [
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ in
|
|||
Mod+T { spawn "${cfg.term}" "tmux" "new-session" "-t" "main"; }
|
||||
Mod+Shift+T { spawn "${cfg.term}"; }
|
||||
Mod+Y { spawn "${cfg.term}" "--app-id" "floating-alacritty" "-W" "120x37" "yazi"; }
|
||||
Mod+Shift+M { spawn "sh" "-c" "notify-send -t 3000 -a umpv umpv-paste $(wl-paste); umpv $(wl-paste)"; }
|
||||
Mod+P { spawn "keepassxc"; }
|
||||
Mod+S { spawn "qalculate-qt"; }
|
||||
Mod+Shift+N { spawn "makoctl" "dismiss" "-a"; }
|
||||
|
|
|
|||
|
|
@ -41,9 +41,35 @@ in
|
|||
|
||||
qt = {
|
||||
enable = true;
|
||||
style = "breeze";
|
||||
platformTheme = "qt5ct";
|
||||
};
|
||||
environment.variables.QT_STYLE_OVERRIDE = lib.mkForce "breeze-dark";
|
||||
home-manager.sharedModules =
|
||||
let
|
||||
gruvboxDarkColors = pkgs.writeText "gruvbox-dark.conf" ''
|
||||
[ColorScheme]
|
||||
active_colors=#ffebdbb2, #ff1d2021, #ffbdae93, #ffa89984, #ff3c3836, #ff504945, #ffebdbb2, #ffebdbb2, #ffebdbb2, #ff282828, #ff1d2021, #ff504945, #ff458588, #ff282828, #ff458588, #ffcc241d, #ff282828, #ffebdbb2, #ff1d2021, #ffebdbb2, #ffbdae93
|
||||
disabled_colors=#ffbdae93, #ff1d2021, #ffbdae93, #ffa89984, #ff3c3836, #ff504945, #ffbdae93, #ffbdae93, #ffbdae93, #ff282828, #ff1d2021, #ff504945, #ff438184, #ff3c3836, #ff458588, #ffcc241d, #ff282828, #ffebdbb2, #ff1d2021, #ffebdbb2, #ffbdae93
|
||||
inactive_colors=#ffebdbb2, #ff1d2021, #ffbdae93, #ffa89984, #ff3c3836, #ff504945, #ffebdbb2, #ffebdbb2, #ffebdbb2, #ff282828, #ff1d2021, #ff504945, #ff438184, #ffa89984, #ff458588, #ffcc241d, #ff282828, #ffebdbb2, #ff1d2021, #ffebdbb2, #ffbdae93
|
||||
'';
|
||||
qt5ctConf = pkgs.writeText "qt5ct.conf" ''
|
||||
[Appearance]
|
||||
color_scheme_path=${gruvboxDarkColors}
|
||||
custom_palette=true
|
||||
icon_theme=breeze-dark
|
||||
standard_dialogs=xdgdesktopportal
|
||||
style=Breeze
|
||||
|
||||
[Fonts]
|
||||
fixed="Source Sans 3,12,-1,5,50,0,0,0,0,0"
|
||||
general="Source Sans 3,12,-1,5,50,0,0,0,0,0"
|
||||
'';
|
||||
in
|
||||
[
|
||||
{
|
||||
home.file.".config/qt5ct/qt5ct.conf".source = qt5ctConf;
|
||||
home.file.".config/qt6ct/qt6ct.conf".source = qt5ctConf;
|
||||
}
|
||||
];
|
||||
|
||||
programs.yazi = {
|
||||
settings.keymap.mgr.prepend_keymap = [
|
||||
|
|
@ -71,7 +97,7 @@ in
|
|||
# enable the gnome shit
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
services.gnome.gnome-online-accounts.enable = true;
|
||||
environment.systemPackages = with pkgs;[
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnome-calendar
|
||||
gnome-clocks
|
||||
gnome-font-viewer
|
||||
|
|
@ -92,7 +118,10 @@ in
|
|||
|
||||
programs.thunar = {
|
||||
enable = true;
|
||||
plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
|
||||
plugins = with pkgs.xfce; [
|
||||
thunar-archive-plugin
|
||||
thunar-volman
|
||||
];
|
||||
};
|
||||
services.tumbler.enable = true; # thunar image preview
|
||||
services.gvfs.enable = true; # thunar network device mount
|
||||
|
|
@ -109,29 +138,28 @@ in
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
xyno.mpv.enable = true;
|
||||
# xdg.mimeApps = {
|
||||
# enable = true;
|
||||
# defaultApplications = {
|
||||
# "x-scheme-handler/mailto" = [ "aerc.desktop" ];
|
||||
# "inode/directory" = [ "org.gnome.Nautilus.desktop" ];
|
||||
# "application/x-gnome-saved-search" = [ "org.gnome.Nautilus.desktop" ];
|
||||
# "x-scheme-handler/http" = "userapp-Zen-D2P132.desktop";
|
||||
# "x-scheme-handler/https" = "userapp-Zen-D2P132.desktop";
|
||||
# "x-scheme-handler/chrome" = "userapp-Zen-D2P132.desktop";
|
||||
# "text/html" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/x-extension-htm" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/x-extension-html" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/x-extension-shtml" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/xhtml+xml" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/x-extension-xhtml" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/x-extension-xht" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/pdf" = "org.gnome.Evince.desktop";
|
||||
# xdg.mimeApps = {
|
||||
# enable = true;
|
||||
# defaultApplications = {
|
||||
# "x-scheme-handler/mailto" = [ "aerc.desktop" ];
|
||||
# "inode/directory" = [ "org.gnome.Nautilus.desktop" ];
|
||||
# "application/x-gnome-saved-search" = [ "org.gnome.Nautilus.desktop" ];
|
||||
# "x-scheme-handler/http" = "userapp-Zen-D2P132.desktop";
|
||||
# "x-scheme-handler/https" = "userapp-Zen-D2P132.desktop";
|
||||
# "x-scheme-handler/chrome" = "userapp-Zen-D2P132.desktop";
|
||||
# "text/html" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/x-extension-htm" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/x-extension-html" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/x-extension-shtml" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/xhtml+xml" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/x-extension-xhtml" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/x-extension-xht" = "userapp-Zen-D2P132.desktop";
|
||||
# "application/pdf" = "org.gnome.Evince.desktop";
|
||||
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
};
|
||||
|
||||
|
||||
# fonts
|
||||
fonts.fontconfig.defaultFonts = {
|
||||
sansSerif = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue