nixconf/modules/home/gnome/dconf.nix

268 lines
9.9 KiB
Nix

{
lib,
config,
...
}:
{
config = lib.mkIf config.mtxyz.graphical {
dconf.settings = with lib.hm.gvariant; {
"org/gnome/shell" = {
disable-user-extensions = false;
disabled-extensions = [
"workspace-indicator@gnome-shell-extensions.gcampax.github.com"
"apps-menu@gnome-shell-extensions.gcampax.github.com"
];
enabled-extensions = [
"gsconnect@andyholmes.github.io"
"tiling-assistant@leleat-on-github"
"appindicatorsupport@rgcjonas.gmail.com"
"paperwm@paperwm.github.com"
"arcmenu@arcmenu.com"
"aztaskbar@aztaskbar.gitlab.com"
];
favorite-apps = [
"firefox.desktop"
"neovide.desktop"
"org.gnome.Nautilus.desktop"
"org.wezfurlong.wezterm.desktop"
];
};
"org/gnome/shell/keybindings" = {
focus-active-notification = [];
shift-overview-down = [ "<Super><Alt>Down" ];
shift-overview-up = [ "<Super><Alt>Up" ];
toggle-application-view = [];
toggle-message-tray = [];
toggle-overview = [];
};
"org/gnome/shell/extensions/arcmenu" = {
activate-on-hover = true;
application-shortcuts-list = [
[ "Settings" "org.gnome.Settings" "org.gnome.Settings.desktop" ]
[ "Tweaks" "org.gnome.tweaks" "org.gnome.tweaks.desktop" ]
[ "WezTerm" "org.wezfurlong.wezterm" "org.wezfurlong.wezterm.desktop" ]
[ "Activities Overview" "view-fullscreen-symbolic" "ArcMenu_ActivitiesOverview" ]
];
arc-menu-icon = 71;
arcmenu-extra-categories-links = [
(mkTuple [ 3 true ])
(mkTuple [ 0 false ])
(mkTuple [ 1 true ])
(mkTuple [ 2 true ])
(mkTuple [ 4 false ])
];
arcmenu-extra-categories-links-location = "Top";
button-padding = -1;
context-menu-shortcuts = [
[ "Extensions" "org.gnome.Extensions" "org.gnome.Extensions.desktop" ]
[ "ArcMenu Settings" "application-x-addon-symbolic" "ArcMenu_Settings" ]
[ "Panel Extension Settings" "application-x-addon-symbolic" "ArcMenu_PanelExtensionSettings" ]
[ "Separator" "list-remove-symbolic" "ArcMenu_Separator" ]
[ "Power Options" "system-shutdown-symbolic" "ArcMenu_PowerOptions" ]
[ "Activities Overview" "view-fullscreen-symbolic" "ArcMenu_ActivitiesOverview" ]
];
custom-menu-button-icon-size = 26.0;
default-menu-view = "Frequent_Apps";
disable-recently-installed-apps = true;
disable-user-avatar = true;
enable-horizontal-flip = false;
enable-standlone-runner-menu = true;
extra-categories = [
(mkTuple [ 0 false ])
(mkTuple [ 1 true ])
(mkTuple [ 2 true ])
(mkTuple [ 3 false ])
(mkTuple [ 4 false ])
];
hide-overview-on-startup = true;
max-search-results = 10;
menu-background-color = "rgba(48,48,49,0.98)";
menu-border-color = "rgb(60,60,60)";
menu-button-appearance = "Icon";
menu-button-icon = "Menu_Icon";
menu-foreground-color = "rgb(223,223,223)";
menu-item-active-bg-color = "rgb(25,98,163)";
menu-item-active-fg-color = "rgb(255,255,255)";
menu-item-hover-bg-color = "rgb(21,83,158)";
menu-item-hover-fg-color = "rgb(255,255,255)";
menu-layout = "Mint";
menu-separator-color = "rgba(255,255,255,0.1)";
mint-extra-buttons = [
[ "Firefox" "web-browser-symbolic" "firefox.desktop" ]
[ "Text Editor" "text-editor-symbolic" "neovide.desktop" ]
[ "Terminal" "utilities-terminal-symbolic" "org.wezfurlong.wezterm.desktop" ]
[ "Files" "system-file-manager-symbolic" "org.gnome.Nautilus.desktop" ]
[ "Settings" "org.gnome.Settings" "org.gnome.Settings.desktop" ]
[ "Separator" "list-remove-symbolic" "ArcMenu_Separator" ]
[ "Suspend" "media-playback-pause-symbolic" "ArcMenu_Suspend" ]
[ "Power Off..." "system-shutdown-symbolic" "ArcMenu_PowerOff" ]
];
multi-monitor = true;
power-options = [
(mkTuple [ 0 true ])
(mkTuple [ 4 true ])
(mkTuple [ 2 true ])
(mkTuple [ 3 true ])
(mkTuple [ 1 false ])
(mkTuple [ 5 false ])
(mkTuple [ 6 false ])
(mkTuple [ 7 false ])
];
prefs-visible-page = 0;
search-entry-border-radius = mkTuple [ true 25 ];
search-provider-open-windows = true;
show-activities-button = false;
vert-separator = true;
};
"org/gnome/shell/extensions/aztaskbar" = {
click-action = "CYCLE";
dance-urgent = false;
favorites = true;
icon-size = 24;
icon-style = "REGULAR";
isolate-monitors = false;
isolate-workspaces = false;
main-panel-height = mkTuple [ true 36 ];
notification-badges = false;
panel-on-all-monitors = true;
position-offset = 2;
scroll-action = "NO_ACTION";
show-apps-button = mkTuple [ false 0 ];
show-panel-activities-button = true;
window-previews = false;
};
"org/gnome/shell/extensions/paperwm" = {
animation-time = 0.1;
default-focus-mode = 0;
disable-scratch-in-overview = false;
disable-topbar-styling = true;
horizontal-margin = 10;
maximize-width-percent = 0.9;
only-scratch-in-overview = false;
show-focus-mode-icon = false;
show-window-position-bar = false;
show-workspace-indicator = false;
use-default-background = true;
vertical-margin = 8;
vertical-margin-bottom = 8;
window-gap = 10;
};
"org/gnome/shell/extensions/paperwm/keybindings" = {
center-horizontally = [ "<Super>space" ];
close-window = [ "" ];
move-down-workspace = [ "<Shift><Super>Page_Down" ];
move-left = [ "<Shift><Super>Left" ];
move-monitor-above = [ "" ];
move-monitor-below = [ "" ];
move-monitor-left = [ "<Shift><Super>comma" ];
move-monitor-right = [ "<Shift><Super>greater" ];
move-previous-workspace = [ "" ];
move-previous-workspace-backward = [ "" ];
move-right = [ "<Shift><Super>Right" ];
move-up-workspace = [ "<Shift><Super>Page_Up" ];
new-window = [ "" ];
paper-toggle-fullscreen = [ "<Shift><Super>Up" ];
previous-workspace-backward = [ "" ];
swap-monitor-above = [ "" ];
swap-monitor-below = [ "" ];
swap-monitor-left = [ "" ];
swap-monitor-right = [ "" ];
switch-down = [ "" ];
switch-focus-mode = [ "<Super>c" ];
switch-monitor-above = [ "" ];
switch-monitor-below = [ "" ];
switch-monitor-left = [ "<Super>comma" ];
switch-monitor-right = [ "<Super>period" ];
switch-next = [ "" ];
switch-previous = [ "" ];
switch-up = [ "" ];
take-window = [ "" ];
toggle-maximize-width = [ "<Super>Up" ];
toggle-scratch = [ "<Super>Escape" ];
toggle-scratch-window = [ "" ];
};
"org/gnome/shell/extensions/paperwm/workspaces" = {
list = [
"70bfa4f1-ef54-4612-ad6a-d780d4046abb"
"0cc0ba69-8a2b-4279-9ef5-613f66f4246d"
"d3d0977e-0870-493b-8c58-89433af57a3c"
"104da3d6-81b4-4647-98f6-dc9ef6ac63d2"
];
};
"org/gnome/shell/extensions/paperwm/workspaces/70bfa4f1-ef54-4612-ad6a-d780d4046abb" = {
background = "";
color = "rgb(192,97,203)";
index = 0;
name = "Primary";
};
"org/gnome/shell/extensions/paperwm/workspaces/0cc0ba69-8a2b-4279-9ef5-613f66f4246d" = {
background = "";
color = "rgb(98,160,234)";
index = 1;
name = "Secondary";
show-top-bar = false;
};
"org/gnome/shell/extensions/paperwm/workspaces/d3d0977e-0870-493b-8c58-89433af57a3c" = {
background = "";
color = "rgb(87,227,137)";
index = 2;
name = "Alternate";
show-top-bar = true;
};
"org/gnome/shell/extensions/paperwm/workspaces/104da3d6-81b4-4647-98f6-dc9ef6ac63d2" = {
background = "";
color = "rgb(255,163,72)";
index = 3;
name = "Background";
};
"org/gnome/mutter" = {
center-new-windows = false;
edge-tiling = false;
};
"org/gnome/desktop/sound".allow-volume-above-100-percent = true;
"org/gnome/settings-daemon/plugins/media-keys".custom-keybindings = [
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/"
"/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/"
];
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = {
binding = "<Super>Return";
command = "wezterm";
name = "Wezterm";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
binding = "<Super>e";
command = "neovide";
name = "Neovide";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = {
binding = "<Super>f";
command = "nautilus";
name = "Files";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3" = {
binding = "<Super>w";
command = "firefox";
name = "Browser";
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4" = {
binding = "<Shift><Super>w";
command = "chromium";
name = "Other Browser";
};
};
};
}