dotfiles
My PC Dotfiles & Websitegit clone https://github.com/maydayv7/dotfiles
commit 5eee2cb19661a2d092869137943747db5d4bc708 parent ea0b7c9e19d7ae0c7e6280c540cdae31c4e41dab Author: maydayv7 <maydayv7@gmail.com> Date: Fri, 22 Dec 2023 22:08:13 +0530 feat: Revamp GNOME Experience
Diffstat:
| M | files/flake.nix | | | 2 | +- |
| M | files/gnome/dconf.nix | | | 176 | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------- |
| M | files/gnome/tiling.css | | | 2 | ++ |
| M | files/images/desktop/gnome.png | | | 0 | |
| M | modules/gui/desktop/gnome.nix | | | 11 | ++++------- |
| M | modules/user/default.nix | | | 3 | +++ |
| M | shells/python.nix | | | 7 | +++++-- |
7 files changed, 154 insertions(+), 47 deletions(-)
diff --git a/files/flake.nix b/files/flake.nix @@ -47,7 +47,7 @@ { dconf = ./gnome/dconf.nix; iso = readFile ./gnome/iso; - tiling = ./gnome/tiling.css; + tiling = readFile ./gnome/tiling.css; } // map.files { directory = ./gnome; diff --git a/files/gnome/dconf.nix b/files/gnome/dconf.nix @@ -299,25 +299,22 @@ in { disable-extension-version-validation = true; disabled-extensions = ["workspace-indicator@gnome-shell-extensions.gcampax.github.com"]; enabled-extensions = [ - "AlphabeticalAppGrid@stuarthayhurst" + "alttab-mod@leleat-on-github" "appindicatorsupport@rgcjonas.gmail.com" "caffeine@patapon.info" - "CoverflowAltTab@palatis.blogspot.com" "drive-menu@gnome-shell-extensions.gcampax.github.com" "emoji-copy@felipeftn" "forge@jmmaranan.com" "guillotine@fopdoodle.net" - "just-perfection-desktop@just-perfection" "lockkeys@vaina.lt" "pano@elhan.io" "quick-settings-avatar@d-go" - "rounded-window-corners@yilozt" "Shortcuts@kyle.aims.ac.za" "status-area-horizontal-spacing@mathematical.coffee.gmail.com" "top-bar-organizer@julian.gse.jsts.xyz" - "transparent-top-bar@ftpix.com" - "unmess@ezix.org" + "transparent-top-bar@zhanghai.me" "user-theme@gnome-shell-extensions.gcampax.github.com" + "vertical-workspaces@G-dH.github.com" "Vitals@CoreCoding.com" "windowgestures@extension.amarullz.com" "window-title-is-back@fthx" @@ -409,11 +406,18 @@ in { # Shell Extensions "org/gnome/shell/extensions/user-theme".name = mkForce "Adwaita"; - "com/ftpix/transparentbar".transparency = 0; - "org/gnome/shell/extensions/alphabetical-app-grid".folder-order-position = "start"; "org/gnome/shell/extensions/lockkeys".style = "show-hide"; "org/gnome/shell/extensions/status-area-horizontal-spacing".hpadding = 4; + "org/gnome/shell/extensions/altTab-mod" = { + current-monitor-only = true; + current-monitor-only-window = true; + current-workspace-only = true; + disable-hover-select = false; + focus-on-select-window = true; + remove-delay = true; + }; + "org/gnome/shell/extensions/caffeine" = { indicator-position = 0; inhibit-apps = ["teams.desktop" "startcenter.desktop"]; @@ -422,14 +426,6 @@ in { show-notifications = false; }; - "org/gnome/shell/extensions/coverflowalttab" = { - animation-time = 0.256; - easing-function = "ease-in-sine"; - hide-panel = false; - icon-has-shadow = false; - icon-style = "Overlay"; - }; - "org/gnome/shell/extensions/emoji-copy" = { always-show = false; emoji-keybinding = ["<Super>period"]; @@ -439,7 +435,7 @@ in { "org/gnome/shell/extensions/forge" = { auto-split-enabled = true; - focus-border-toggle = false; + focus-border-toggle = true; stacked-tiling-mode-enabled = true; tabbed-tiling-mode-enabled = true; tiling-mode-enabled = false; @@ -490,17 +486,6 @@ in { workspace-active-tile-toggle = ["<Shift><Super>z"]; }; - "org/gnome/shell/extensions/just-perfection" = { - accessibility-menu = true; - animation = 1; - notification-banner-position = 2; - osd-position = 6; - window-menu-take-screenshot-button = false; - workspace-popup = false; - workspace-switcher-size = 7; - workspace-wrap-around = true; - }; - "org/gnome/shell/extensions/pano" = { database-location = "${homeDir}/.local/share/clipboard"; global-shortcut = ["<Super>v"]; @@ -523,15 +508,6 @@ in { avatar-size = 56; }; - "org/gnome/shell/extensions/rounded-window-corners" = { - custom-rounded-corner-settings = "@a{sv} {}"; - focused-shadow = "{'vertical_offset': 4, 'horizontal_offset': 0, 'blur_offset': 28, 'spread_radius': 4, 'opacity': 60}"; - global-rounded-corner-settings = "{'padding': <{'left': <uint32 1>, 'right': <uint32 1>, 'top': <uint32 1>, 'bottom': <uint32 1>}>, 'keep_rounded_corners': <{'maximized': <true>, 'fullscreen': <false>}>, 'border_radius': <uint32 12>, 'smoothing': <uint32 0>, 'enabled': <true>}"; - settings-version = mkUint32 5; - skip-libhandy-app = true; - unfocused-shadow = "{'horizontal_offset': 0, 'vertical_offset': 2, 'blur_offset': 12, 'spread_radius': -1, 'opacity': 65}"; - }; - "org/gnome/shell/extensions/shortcuts" = { maxcolumns = 3; shortcuts-file = files.gnome.shortcuts; @@ -566,6 +542,132 @@ in { ]; }; + "org/gnome/shell/extensions/vertical-workspaces" = { + aaa-loading-profile = true; + always-activate-selected-window = true; + animation-speed-factor = 120; + app-display-module = true; + app-favorites-module = true; + app-folder-order = 2; + app-grid-active-preview = false; + app-grid-animation = 3; + app-grid-bg-blur-sigma = 40; + app-grid-columns = 0; + app-grid-content = 4; + app-grid-folder-center = true; + app-grid-folder-columns = 0; + app-grid-folder-icon-grid = 2; + app-grid-folder-icon-size = -1; + app-grid-folder-rows = 0; + app-grid-icon-size = -1; + app-grid-incomplete-pages = false; + app-grid-names = 1; + app-grid-order = 1; + app-grid-page-width-scale = 90; + app-grid-performance = true; + app-grid-rows = 0; + app-grid-spacing = 12; + center-app-grid = true; + center-search = true; + close-ws-button-mode = 2; + dash-bg-color = 0; + dash-bg-gs3-style = false; + dash-bg-opacity = 35; + dash-bg-radius = 0; + dash-icon-scroll = 1; + dash-isolate-workspaces = true; + dash-max-icon-size = 64; + dash-module = true; + dash-position = 2; + dash-position-adjust = 0; + dash-show-extensions-icon = 0; + dash-show-recent-files-icon = 0; + dash-show-windows-before-activation = 1; + dash-show-windows-icon = 2; + enable-page-shortcuts = false; + extensions-search-provider-module = true; + favorites-notify = 1; + hot-corner-action = 1; + hot-corner-fullscreen = false; + hot-corner-position = 1; + hot-corner-ripples = true; + layout-module = true; + message-tray-module = true; + new-window-focus-fix = false; + notification-position = 2; + osd-position = 7; + osd-window-module = true; + overlay-key-module = true; + overlay-key-primary = 1; + overlay-key-secondary = 1; + overview-bg-blur-sigma = 50; + overview-bg-brightness = 50; + overview-esc-behavior = 1; + overview-mode = 1; + panel-module = true; + panel-position = 0; + panel-visibility = 0; + recent-files-search-provider-module = false; + running-dot-style = 1; + search-bg-brightness = 30; + search-controller-module = true; + search-fuzzy = true; + search-icon-size = 96; + search-max-results-rows = 5; + search-module = true; + search-view-animation = 5; + search-width-scale = 120; + search-windows-icon-scroll = 1; + search-windows-order = 1; + sec-wst-position-adjust = 0; + secondary-ws-preview-scale = 100; + secondary-ws-preview-shift = false; + secondary-ws-thumbnail-scale = 5; + secondary-ws-thumbnails-position = 2; + show-app-icon-position = 0; + show-bg-in-overview = true; + show-search-entry = true; + show-ws-preview-bg = false; + show-ws-switcher-bg = false; + show-wst-labels = 2; + show-wst-labels-on-hover = true; + smooth-blur-transitions = true; + startup-state = 2; + swipe-tracker-module = false; + win-attention-handler-module = true; + win-preview-icon-size = 0; + win-preview-mid-mouse-btn-action = 3; + win-preview-sec-mouse-btn-action = 1; + win-preview-show-close-button = true; + win-title-position = 0; + window-attention-mode = 0; + window-icon-click-action = 1; + window-manager-module = true; + window-preview-module = true; + window-search-provider-module = true; + window-thumbnail-module = true; + window-thumbnail-scale = 20; + workspace-animation = 1; + workspace-animation-module = true; + workspace-module = true; + workspace-switcher-animation = 1; + workspace-switcher-popup-module = true; + ws-max-spacing = 80; + ws-preview-bg-radius = 30; + ws-preview-scale = 100; + ws-sw-popup-h-position = 44; + ws-sw-popup-mode = 0; + ws-sw-popup-v-position = 95; + ws-switcher-ignore-last = false; + ws-switcher-mode = 0; + ws-switcher-wraparound = true; + ws-thumbnail-scale = 8; + ws-thumbnail-scale-appgrid = 13; + ws-thumbnails-full = false; + ws-thumbnails-position = 5; + wst-position-adjust = 0; + }; + "org/gnome/shell/extensions/vitals" = { hot-sensors = ["_default_icon_"]; show-battery = true; diff --git a/files/gnome/tiling.css b/files/gnome/tiling.css @@ -1,3 +1,5 @@ +/* Forge Tiling Stylesheet */ + .tiled { color: rgba(236, 94, 94, 1); opacity: 1; diff --git a/files/images/desktop/gnome.png b/files/images/desktop/gnome.png Binary files differ. diff --git a/modules/gui/desktop/gnome.nix b/modules/gui/desktop/gnome.nix @@ -105,7 +105,7 @@ in { ".config/guillotine.json".source = gnome.menu; # Window Tiling Stylesheet - ".config/forge/stylesheet/forge/stylesheet.css".source = gnome.tiling; + ".config/forge/stylesheet/forge/stylesheet.css".text = gnome.tiling; # Firefox GNOME Theme ".mozilla/firefox/default/chrome/userChrome.css".text = ''@import "${pkgs.custom.firefox-gnome-theme}/userChrome.css";''; @@ -209,23 +209,20 @@ in { ++ (with pkgs; with unstable.gnomeExtensions // gnomeExtensions; [ # GNOME Shell Extensions - alphabetical-app-grid + alttab-mod appindicator caffeine - coverflow-alt-tab emoji-copy forge guillotine - just-perfection lock-keys pano - #!#rounded-window-corners --> Wait for upstream shortcuts status-area-horizontal-spacing - transparent-top-bar-adjustable-transparency top-bar-organizer - unmess + transparent-top-bar user-avatar-in-quick-settings + vertical-workspaces vitals window-gestures window-title-is-back diff --git a/modules/user/default.nix b/modules/user/default.nix @@ -157,5 +157,8 @@ in { }; users = mapAttrs (_: value: {imports = value.homeConfig;}) settings; }; + + # Debug + specialisation.recovery.configuration.home-manager.verbose = true; }; } diff --git a/shells/python.nix b/shells/python.nix @@ -3,10 +3,13 @@ pkgs: { packages = with pkgs; with python39Packages; [ python39 - ipython pip - poetry-core + + autopep8 pylint + + ipython + poetry-core setuptools ];