add sway keybinds to gnome and some dconf penetration

This commit is contained in:
MeexReay 2025-09-07 19:53:55 +03:00
parent 3d5c759338
commit 64ea07b58c
7 changed files with 102 additions and 7 deletions

View File

@ -32,7 +32,7 @@
inputs.nix-flatpak.homeManagerModules.nix-flatpak inputs.nix-flatpak.homeManagerModules.nix-flatpak
]; ];
home-manager.backupFileExtension = "backup95"; home-manager.backupFileExtension = "backup974";
} }
]; ];
}; };

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
@ -15,6 +15,9 @@
gnomeExtensions.desktop-cube gnomeExtensions.desktop-cube
gnomeExtensions.category-sorted-app-grid gnomeExtensions.category-sorted-app-grid
gnomeExtensions.blur-my-shell gnomeExtensions.blur-my-shell
gnomeExtensions.tiling-assistant
gnomeExtensions.pip-on-top
gnomeExtensions.zen
dconf-editor dconf-editor
gnome-tweaks gnome-tweaks
@ -49,7 +52,93 @@
"desktop-cube@schneegans.github.com" "desktop-cube@schneegans.github.com"
"blur-my-shell@aunetx" "blur-my-shell@aunetx"
"category-sorted-app-grid@noobping.dev" "category-sorted-app-grid@noobping.dev"
"tiling-assistant@leleat-on-github"
"pip-on-top@rafostar.github.com"
]; ];
favourite-apps = [
"org.gnome.Console.desktop"
"org.gnome.Nautilus.desktop"
"librewolf.desktop"
"org.telegram.desktop.desktop"
"discord.desktop"
"spotify.desktop"
"org.prismlauncher.PrismLauncher.desktop"
];
};
"org/gnome/desktop/wm/keybindings" = {
switch-to-workspace-1 = ["<Super>1"];
switch-to-workspace-2 = ["<Super>2"];
switch-to-workspace-3 = ["<Super>3"];
switch-to-workspace-4 = ["<Super>4"];
switch-to-workspace-5 = ["<Super>5"];
switch-to-workspace-6 = ["<Super>6"];
switch-to-workspace-7 = ["<Super>7"];
switch-to-workspace-8 = ["<Super>8"];
switch-to-workspace-9 = ["<Super>9"];
switch-to-workspace-10 = ["<Super>0"];
move-to-workspace-1 = ["<Shift><Super>1"];
move-to-workspace-2 = ["<Shift><Super>2"];
move-to-workspace-3 = ["<Shift><Super>3"];
move-to-workspace-4 = ["<Shift><Super>4"];
move-to-workspace-5 = ["<Shift><Super>5"];
move-to-workspace-6 = ["<Shift><Super>6"];
move-to-workspace-7 = ["<Shift><Super>7"];
move-to-workspace-8 = ["<Shift><Super>8"];
move-to-workspace-9 = ["<Shift><Super>9"];
move-to-workspace-10 = ["<Shift><Super>0"];
show-desktop = ["<Super>d"];
close = ["<Alt>F4" "<Super><Shift>Q"];
toggle-fullscreen = ["<Super>f"];
};
"org/gnome/settings-daemon/plugins/media-keys" = {
www = ["<Super>i"];
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/custom0" = {
binding = "<Super>Return";
command = "kgx";
name = "gnome console keybind";
enable-in-lockscreen = true;
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
binding = "<Super>n";
command = "nautilus";
name = "gnome file manager keybind";
enable-in-lockscreen = true;
};
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = {
binding = "<Super>o";
command = "gnome-calculator";
name = "gnome calculator keybind";
enable-in-lockscreen = true;
};
"org/gnome/shell/keybindings" = {
switch-to-application-1 = [];
switch-to-application-2 = [];
switch-to-application-3 = [];
switch-to-application-4 = [];
switch-to-application-5 = [];
switch-to-application-6 = [];
switch-to-application-7 = [];
switch-to-application-8 = [];
switch-to-application-9 = [];
open-new-window-application-1 = [];
open-new-window-application-2 = [];
open-new-window-application-3 = [];
open-new-window-application-4 = [];
open-new-window-application-5 = [];
open-new-window-application-6 = [];
open-new-window-application-7 = [];
open-new-window-application-8 = [];
open-new-window-application-9 = [];
};
"org/gnome/gnome-session" = {
logout-prompt = false;
show-fallback-warning = false;
}; };
"org/gnome/shell/extensions/dash-to-dock" = { "org/gnome/shell/extensions/dash-to-dock" = {
always-center-icons = false; always-center-icons = false;

View File

@ -111,7 +111,7 @@
spotify spotify
telegram-desktop telegram-desktop
(chromium.override { enableWideVine = true; }) # (chromium.override { enableWideVine = true; })
revolt-desktop revolt-desktop
element-desktop element-desktop
surf surf

View File

@ -116,4 +116,6 @@
}; };
}; };
}; };
} }

View File

@ -28,7 +28,10 @@
"svg.context-properties.content.enabled" = true; "svg.context-properties.content.enabled" = true;
"browser.theme.dark-private-windows" = false; "browser.theme.dark-private-windows" = false;
# do not clear cookies # disable annoying stuff
"privacy.resistFingerprinting" = false;
"clipboard.autocopy" = false;
"middlemouse.paste" = false;
"privacy.clearOnShutdown.history" = false; "privacy.clearOnShutdown.history" = false;
"privacy.clearOnShutdown.cookies" = false; "privacy.clearOnShutdown.cookies" = false;
}; };

View File

@ -0,0 +1 @@

View File

@ -183,7 +183,7 @@
"reboot": "systemctl reboot", "reboot": "systemctl reboot",
"suspend": "systemctl suspend", "suspend": "systemctl suspend",
"hibernate": "systemctl hibernate", "hibernate": "systemctl hibernate",
"logout": "pkill sway" "logout": "swaymsg exit"
} }
} }
} }