fix: declare contents of 'setup-gnome'
This commit is contained in:
@@ -1,21 +1,13 @@
|
||||
{ config, ... }:
|
||||
|
||||
let
|
||||
terminal = "kitty";
|
||||
browser = config.browser.primary;
|
||||
in
|
||||
{
|
||||
dconf.settings = {
|
||||
"org/gnome/settings-daemon/plugins/color" = {
|
||||
night-light-enabled = true;
|
||||
night-light-schedule-automatic = true;
|
||||
};
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
|
||||
"org/gnome/desktop/applications/terminal" = {
|
||||
exec = "kitty";
|
||||
exec-arg = "";
|
||||
};
|
||||
|
||||
"org/gnome/desktop/background" = {
|
||||
color-shading-type = "solid";
|
||||
picture-opacity = 100;
|
||||
picture-options = "zoom";
|
||||
picture-uri = "none";
|
||||
picture-uri-dark = "none";
|
||||
@@ -24,55 +16,54 @@
|
||||
show-desktop-icons = false;
|
||||
};
|
||||
|
||||
# "org/gnome/desktop/input-sources" = {
|
||||
# sources = [
|
||||
# (mkTuple [
|
||||
# "xkb"
|
||||
# "us"
|
||||
# ])
|
||||
# ];
|
||||
# xkb-options = [ "caps:none" ];
|
||||
# };
|
||||
"org/gnome/desktop/default-applications/office/calendar" = {
|
||||
exec = "${browser} https://calendar.proton.me";
|
||||
needs-term = false;
|
||||
};
|
||||
|
||||
"org/gnome/desktop/default-applications/office/tasks" = {
|
||||
exec = "task";
|
||||
needs-term = true;
|
||||
};
|
||||
|
||||
"org/gnome/desktop/default-applications/terminal" = {
|
||||
exec = terminal;
|
||||
exec-arg = "";
|
||||
};
|
||||
|
||||
"org/gnome/desktop/input-sources" = {
|
||||
xkb-options = [ "caps:none" ];
|
||||
};
|
||||
|
||||
"org/gnome/desktop/interface" = {
|
||||
clock-format = "24h";
|
||||
clock-show-weekday = true;
|
||||
color-scheme = "prefer-dark";
|
||||
enable-hot-corners = false;
|
||||
font-name = "Iosevka Term SS08 12";
|
||||
locate-pointer = true;
|
||||
monospace-font-name = "Iosevka Term SS08 12";
|
||||
};
|
||||
|
||||
"org/gnome/desktop/wm/keybindings" = {
|
||||
close = [ "<Shift><Super>Delete" ];
|
||||
cycle-group = [ ];
|
||||
cycle-group-backward = [ ];
|
||||
cycle-panels = [ ];
|
||||
cycle-panels-backward = [ ];
|
||||
cycle-windows = [ ];
|
||||
cycle-windows-backward = [ ];
|
||||
maximize = [ "<Super> " ];
|
||||
minimize = [ ];
|
||||
minimize = [ "<Super>h" ];
|
||||
move-to-monitor-down = [ "<Super><Shift>Down" ];
|
||||
move-to-monitor-left = [ "<Super><Shift>Left" ];
|
||||
move-to-monitor-right = [ "<Super><Shift>Right" ];
|
||||
move-to-monitor-up = [ "<Super><Shift>Up" ];
|
||||
move-to-workspace-1 = [ "<Super><Shift>a" ];
|
||||
move-to-workspace-2 = [ "<Super><Shift>s" ];
|
||||
move-to-workspace-3 = [ "<Super><Shift>d" ];
|
||||
move-to-workspace-4 = [ "<Super><Shift>f" ];
|
||||
move-to-workspace-5 = [ "<Super><Shift>g" ];
|
||||
move-to-workspace-last = [ ];
|
||||
move-to-workspace-left = [ "<Super><Shift>h" ];
|
||||
move-to-workspace-right = [ "<Super><Shift>l" ];
|
||||
panel-run-dialog = [ ];
|
||||
switch-applications = [ "<Super>j" ];
|
||||
switch-applications-backward = [ "<Super>k" ];
|
||||
switch-group = [ ];
|
||||
switch-group-backward = [ ];
|
||||
switch-input-source = [ ];
|
||||
switch-input-source-backward = [ ];
|
||||
switch-panels = [ ];
|
||||
switch-panels-backward = [ ];
|
||||
switch-to-workspace-1 = [ "<Super>a" ];
|
||||
switch-to-workspace-2 = [ "<Super>s" ];
|
||||
switch-to-workspace-3 = [ "<Super>d" ];
|
||||
switch-to-workspace-4 = [ "<Super>f" ];
|
||||
switch-to-workspace-5 = [ "<Super>g" ];
|
||||
switch-to-workspace-last = [ ];
|
||||
switch-to-workspace-left = [ "<Super>h" ];
|
||||
switch-to-workspace-right = [ "<Super>l" ];
|
||||
switch-windows = [ ];
|
||||
switch-windows-backward = [ ];
|
||||
toggle-maximized = [ "<Super>space" ];
|
||||
unmaximize = [ ];
|
||||
};
|
||||
|
||||
"org/gnome/desktop/wm/preferences" = {
|
||||
@@ -86,8 +77,19 @@
|
||||
];
|
||||
};
|
||||
|
||||
"org/gnome/mutter" = {
|
||||
center-new-windows = true;
|
||||
dynamic-workspaces = false;
|
||||
};
|
||||
|
||||
"org/gnome/settings-daemon/plugins/color" = {
|
||||
night-light-enabled = true;
|
||||
night-light-schedule-automatic = 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/"
|
||||
];
|
||||
};
|
||||
@@ -100,12 +102,19 @@
|
||||
|
||||
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
|
||||
binding = "<Super>Return";
|
||||
command = "kitty";
|
||||
command = terminal;
|
||||
name = "Kitty";
|
||||
};
|
||||
|
||||
"org/gnome/settings-daemon/plugins/power" = {
|
||||
power-button-action = "suspend";
|
||||
};
|
||||
|
||||
"org/gnome/shell/app-switcher" = {
|
||||
current-workspace-only = true;
|
||||
};
|
||||
|
||||
"org/gnome/shell/keybindings" = {
|
||||
screenshot = [ "Print" ];
|
||||
toggle-application-view = [ "<Super>p" ];
|
||||
toggle-quick-settings = [ ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user