diff --git a/configuration.nix b/configuration.nix index 008a0b3..d472af5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -54,6 +54,45 @@ # Enable the KDE Plasma Desktop Environment. services.displayManager.sddm.enable = false; services.xserver.desktopManager.plasma5.enable = false; + services.xserver.desktopManager.gnome.enable = true; + environment.gnome.excludePackages = (with pkgs; [ + gnome-weather + gnome-user-docs + gnome-text-editor + gnome-disk-utility + gnome-maps + gnome-calculator + gnome-calendar + gnome-connections + gnome-font-viewer + gnome-console + snapshot + file-roller + gnome-logs + gnome-clocks + gnome-contacts + evince + orca + rygel + yelp + simple-scan + baobab + atomix # puzzle game + cheese # webcam tool + epiphany # web browser + evince # document viewer + geary # email reader + gedit # text editor + gnome-characters + gnome-music + gnome-photos + gnome-terminal + gnome-tour + hitori # sudoku game + iagno # go game + tali # poker game + totem # video player + ]); services.greetd = { enable = true; settings = { diff --git a/home.nix b/home.nix index 066ff7c..840d080 100644 --- a/home.nix +++ b/home.nix @@ -12,7 +12,7 @@ #pkgs.cinny-desktop pkgs.firefox pkgs.kate - #pkgs.cliphist TODO: reenable once fixed upstream + pkgs.cliphist pkgs.flameshot pkgs.godot_4 pkgs.filezilla @@ -32,6 +32,11 @@ #pkgs.atool #pkgs.httpie pkgs.webcord + pkgs.gnomeExtensions.paperwm + pkgs.gnomeExtensions.forge + pkgs.gnomeExtensions.appindicator + pkgs.gnomeExtensions.unite + pkgs.gnomeExtensions.pop-shell pkgs.tigervnc pkgs.syncthing pkgs.zsh-syntax-highlighting @@ -76,9 +81,9 @@ size = 24; }; theme = { - name = "catppuccin-frappe-mauve-standard"; + name = "catppuccin-frappe-sapphire-standard"; package = pkgs.catppuccin-gtk.override { - accents = [ "mauve" ]; + accents = [ "sapphire" ]; size = "standard"; #tweaks = [ "black" ]; variant = "frappe"; @@ -109,8 +114,101 @@ }; }; - programs.nnn = { + dconf = { enable = true; + settings."org/gnome/desktop/wm/preferences" = { + num-workspaces = 10; + button-layout = ""; + focus-mode = "sloppy"; + }; + settings."org/gnome/shell/extensions/user-theme".name = "catppuccin-frappe-sapphire-standard"; + settings."org/gnome/desktop/wm/keybindings" = { + switch-to-workspace-left = ["Left"]; + switch-to-workspace-right = ["Right"]; + switch-to-workspace-1="['1']"; + switch-to-application-1="@as []"; + move-to-workspace-1="['1']"; + switch-to-workspace-2="['2']"; + switch-to-application-2="@as []"; + move-to-workspace-2="['2']"; + switch-to-workspace-3="['3']"; + switch-to-application-3="@as []"; + move-to-workspace-3="['3']"; + switch-to-workspace-4="['4']"; + switch-to-application-4="@as []"; + move-to-workspace-4="['4']"; + switch-to-workspace-5="['5']"; + switch-to-application-5="@as []"; + move-to-workspace-5="['5']"; + switch-to-workspace-6="['6']"; + switch-to-application-6="@as []"; + move-to-workspace-6="['6']"; + switch-to-workspace-7="['7']"; + switch-to-application-7="@as []"; + move-to-workspace-7="['7']"; + switch-to-workspace-8="['8']"; + switch-to-application-8="@as []"; + move-to-workspace-8="['8']"; + switch-to-workspace-9="['9']"; + switch-to-application-9="@as []"; + move-to-workspace-9="['9']"; + switch-to-workspace-10="['0']"; + switch-to-application-10="@as []"; + move-to-workspace-10="['0']"; + close = ["c"]; + toggle-fullscreen = ["f"]; + }; + settings."org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = { + name = "kitty"; + command = "kitty"; + binding = "Return"; + }; + settings."org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = { + name = "cliphist"; + binding = "o"; + command = "cliphist list | wofi -S dmenu | cliphist decode | wl-copy"; + }; + settings."org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = { + name = "wofi"; + binding = "r"; + command = "wofi --show drun --allow-images"; + }; + settings."org/gnome/desktop/interface" = { + color-scheme = "prefer-dark"; + enable-hot-corners = false; + + }; + settings."org/gnome/shell/extensions/forge" = { + auto-split-enabled = false; + }; + settings."org/gnome/shell/extensions/pop-shell" = { + tile-by-default = true; + active-hint = true; + hint-color-rgba = "rgba(133,193,220,1)"; + }; + settings."org/gnome/shell/extensions/unite" = { + hide-window-titlebars = "always"; + show-window-title = "always"; + hide-activities-button = "never"; + use-activities-text = false; + restrict-to-primary-screen = "false"; + }; + settings."org/gnome/shell" = { + disable-user-extensions = false; + enabled-extensions = with pkgs.gnomeExtensions; [ + user-themes.extensionUuid + #forge.extensionUuid + applications-menu.extensionUuid + unite.extensionUuid + appindicator.extensionUuid + pop-shell.extensionUuid + "system-monitor@gnome-shell-extensions.gcampax.github.com" + ]; + }; + }; + + programs.nnn = { + enable = false; #plugins = { "launch", "imgview" }; plugins.src = (pkgs.fetchFromGitHub { owner = "jarun";