mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-19 02:46:06 -07:00
Compare commits
4 Commits
a64f4d37ce
...
49e2272f31
Author | SHA1 | Date | |
---|---|---|---|
49e2272f31 | |||
a16f280a4c | |||
3858cfc206 | |||
b646d0e429 |
@ -94,9 +94,9 @@ The applications can be run within the box with the following commands:
|
|||||||
cd ~/cq-editor && ./run.sh
|
cd ~/cq-editor && ./run.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## Chromium
|
## Chrome
|
||||||
|
|
||||||
The vast majority of Chromium is setup with [browser.nix](./modules/desktop/browser.nix)
|
The vast majority of Chrome is setup with [browser.nix](./modules/desktop/browser.nix)
|
||||||
including installing plugins and various settings. However, setup for [vimium](https://chromewebstore.google.com/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb)
|
including installing plugins and various settings. However, setup for [vimium](https://chromewebstore.google.com/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb)
|
||||||
and [New Tab Redirect](https://chromewebstore.google.com/detail/new-tab-redirect/icpgjfneehieebagbmdbhnlpiopdcmna)
|
and [New Tab Redirect](https://chromewebstore.google.com/detail/new-tab-redirect/icpgjfneehieebagbmdbhnlpiopdcmna)
|
||||||
could not be fully automated.
|
could not be fully automated.
|
||||||
@ -107,6 +107,8 @@ Set to `http://localhost:8080`.
|
|||||||
- Vimium config is saved in chezmoi. Open the vimium [plugin page](chrome-extension://dbepggeogbaibhgnhhndojpepiihcmeb/pages/options.html)
|
- Vimium config is saved in chezmoi. Open the vimium [plugin page](chrome-extension://dbepggeogbaibhgnhhndojpepiihcmeb/pages/options.html)
|
||||||
and restore config from `~/.config/vimium-options.json`.
|
and restore config from `~/.config/vimium-options.json`.
|
||||||
|
|
||||||
|
- Pin and re-arrange plugins as desired.
|
||||||
|
|
||||||
## Steam
|
## Steam
|
||||||
|
|
||||||
Some games/emulators (in my case Ares) don't fullscreen nicely in window managers.
|
Some games/emulators (in my case Ares) don't fullscreen nicely in window managers.
|
||||||
|
@ -29,9 +29,11 @@ in {
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
gnome.dconf-editor # Graphical tool for editing settings stored in the dconf database of GNOME.
|
gnome.dconf-editor # Graphical tool for editing settings stored in the dconf database of GNOME.
|
||||||
gnome.gnome-tweaks # Utility for customizing various aspects of the GNOME desktop environment.
|
gnome.gnome-tweaks # Utility for customizing various aspects of the GNOME desktop environment.
|
||||||
gnomeExtensions.focus-changer # GNOME Shell extension for changing window focus behavior.
|
|
||||||
evolution # Personal information management application that provides email, calendar, and contact management features.
|
evolution # Personal information management application that provides email, calendar, and contact management features.
|
||||||
#gnomeExtensions.fullscreen-avoider # TODO: Add back when fixed upstream
|
gnomeExtensions.focus-changer # GNOME Shell extension for changing window focus behavior.
|
||||||
|
gnome-fullscreen-to-empty-workspace
|
||||||
|
gnome-set-panel-monitor
|
||||||
|
gnome-maximize-lonely-window
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.gnome.excludePackages = with pkgs.gnome; [
|
environment.gnome.excludePackages = with pkgs.gnome; [
|
||||||
@ -52,6 +54,7 @@ in {
|
|||||||
gnome-logs # Log viewer application for GNOME.
|
gnome-logs # Log viewer application for GNOME.
|
||||||
gnome-maps # Map application for the GNOME desktop environment.
|
gnome-maps # Map application for the GNOME desktop environment.
|
||||||
gnome-music # Music player and management application for GNOME.
|
gnome-music # Music player and management application for GNOME.
|
||||||
|
gnome-shell-extensions # Extensions for enhancing functionality and customization in the GNOME.
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable wayland gnome
|
# Enable wayland gnome
|
||||||
@ -135,7 +138,6 @@ in {
|
|||||||
"focus-changer@heartmire"
|
"focus-changer@heartmire"
|
||||||
"fullscreen-to-empty-workspace@aiono.dev"
|
"fullscreen-to-empty-workspace@aiono.dev"
|
||||||
"gnome-set-panel-monitor@tstarr.us"
|
"gnome-set-panel-monitor@tstarr.us"
|
||||||
"drive-menu@gnome-shell-extensions.gcampax.github.com"
|
|
||||||
"maximize-lonely-window@MrShuster"
|
"maximize-lonely-window@MrShuster"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
@ -9,4 +9,7 @@ final: prev: {
|
|||||||
nx_tzdb = final.callPackage ../pkgs/nx_tzdb.nix {};
|
nx_tzdb = final.callPackage ../pkgs/nx_tzdb.nix {};
|
||||||
yuzu-archive = final.libsForQt5.callPackage ../pkgs/yuzu-archive.nix {};
|
yuzu-archive = final.libsForQt5.callPackage ../pkgs/yuzu-archive.nix {};
|
||||||
citra-archive = final.qt6Packages.callPackage ../pkgs/citra-archive.nix {};
|
citra-archive = final.qt6Packages.callPackage ../pkgs/citra-archive.nix {};
|
||||||
|
gnome-set-panel-monitor = final.callPackage ../pkgs/gnome-set-panel-monitor.nix {};
|
||||||
|
gnome-maximize-lonely-window = final.callPackage ../pkgs/gnome-maximize-lonely-window.nix {};
|
||||||
|
gnome-fullscreen-to-empty-workspace = final.callPackage ../pkgs/gnome-fullscreen-to-empty-workspace.nix {};
|
||||||
}
|
}
|
||||||
|
31
provision/pkgs/gnome-fullscreen-to-empty-workspace.nix
Normal file
31
provision/pkgs/gnome-fullscreen-to-empty-workspace.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, glib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "gnome-fullscreen-to-new-workspace";
|
||||||
|
version = "git-2023-08-19";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "onsah";
|
||||||
|
repo = "fullscreen-to-new-workspace";
|
||||||
|
rev = "8237de39f420307c0c08b72a0d9af042c03440ed";
|
||||||
|
hash = "sha256-pdRReQDHDu3nWvMGhPryU6++pT7ohB8KPvxFwDSsFaw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p "$out/share/gnome-shell/extensions/fullscreen-to-empty-workspace@aiono.dev"
|
||||||
|
cp -r src/* "$out/share/gnome-shell/extensions/fullscreen-to-empty-workspace@aiono.dev"
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
extensionUuid = "fullscreen-to-empty-workspace@aiono.dev";
|
||||||
|
extensionPortalSlug = "fullscreen-to-empty-workspace";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "New, maximized and fullscreen windows will be moved to empty workspaces.";
|
||||||
|
maintainers = with maintainers; [ onsah starr-dusT ];
|
||||||
|
homepage = "https://github.com/onsah/fullscreen-to-new-workspace";
|
||||||
|
};
|
||||||
|
}
|
31
provision/pkgs/gnome-maximize-lonely-window.nix
Normal file
31
provision/pkgs/gnome-maximize-lonely-window.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, glib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "gnome-maximize-lonely-window";
|
||||||
|
version = "git-2023-10-31";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "MrShuster";
|
||||||
|
repo = "maximize_lonely_window";
|
||||||
|
rev = "c12dacd32754d9ee07373420e8f8797792ec68d7";
|
||||||
|
hash = "sha256-qWhmphbn4BRgCFr2p/0X+E0ECPqI21DmJip8icPQwgk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p "$out/share/gnome-shell/extensions/maximize-lonely-window@MrShuster"
|
||||||
|
cp -r * "$out/share/gnome-shell/extensions/maximize-lonely-window@MrShuster"
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
extensionUuid = "maximize-lonely-window@MrShuster";
|
||||||
|
extensionPortalSlug = "maximize-lonely-window";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "New and maximized windows will be moved to empty workspaces.";
|
||||||
|
maintainers = with maintainers; [ MrShuster starr-dusT ];
|
||||||
|
homepage = "https://github.com/MrShuster/maximize_lonely_window";
|
||||||
|
};
|
||||||
|
}
|
31
provision/pkgs/gnome-set-panel-monitor.nix
Normal file
31
provision/pkgs/gnome-set-panel-monitor.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ lib, stdenv, fetchFromGitHub, glib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "gnome-set-panel-monitor";
|
||||||
|
version = "git-2024-04-11";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "starr-dusT";
|
||||||
|
repo = "gnome-set-panel-monitor";
|
||||||
|
rev = "b1dadb63c153cb9e1c546eb1d151b169d4c05e39";
|
||||||
|
hash = "sha256-iHLd4TYgpTxwrPnfx80H+JGV8SpP1wrGgRPPnMyaUaA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
mkdir -p "$out/share/gnome-shell/extensions/gnome-set-panel-monitor@tstarr.us"
|
||||||
|
cp -r * "$out/share/gnome-shell/extensions/gnome-set-panel-monitor@tstarr.us"
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
extensionUuid = "gnome-set-panel-monitor@tstarr.us";
|
||||||
|
extensionPortalSlug = "gnome-set-panel-monitor";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Set monitor for panel to appear on.";
|
||||||
|
maintainers = with maintainers; [ starr-dusT ];
|
||||||
|
homepage = "https://github.com/starr-dusT/gnome-set-panel-monitor";
|
||||||
|
};
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user