mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 05:08:10 +09:00
57 lines
2.0 KiB
Nix
57 lines
2.0 KiB
Nix
{ pkgs, lib, ... }:
|
|
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
|
dconf.settings = {
|
|
"org/gnome/desktop/sound" = {
|
|
event-sounds = false;
|
|
input-feedback-sounds = false;
|
|
};
|
|
"org/gnome/desktop/wm/keybindings" = {
|
|
close = [ "<Super>q" ];
|
|
show-desktop = [ ];
|
|
};
|
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
|
home = [ ];
|
|
screensaver = [ "<Super>l" ];
|
|
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" = {
|
|
name = "Open Terminal";
|
|
command = "ghostty";
|
|
binding = "<Super>t";
|
|
};
|
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = {
|
|
name = "Run Application";
|
|
command = "vicinae toggle";
|
|
binding = "<Super>d";
|
|
};
|
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = {
|
|
name = "Open File Manager";
|
|
command = "nautilus --new-window";
|
|
binding = "<Super>e";
|
|
};
|
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3" = {
|
|
name = "Clipboard History";
|
|
command = "vicinae vicinae://extensions/vicinae/clipboard/history";
|
|
binding = "<Super>v";
|
|
};
|
|
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4" = {
|
|
name = "Log Out";
|
|
command = "gnome-session-quit --logout --no-prompt";
|
|
binding = "<Super><Shift>e";
|
|
};
|
|
"org/gnome/shell".favorite-apps = [
|
|
"google-chrome.desktop"
|
|
"code.desktop"
|
|
"com.mitchellh.ghostty.desktop"
|
|
"slack.desktop"
|
|
"vesktop.desktop"
|
|
];
|
|
};
|
|
}
|