gnome, celluloid, mission-center, copyous

This commit is contained in:
js0ny 2025-12-12 01:33:12 +00:00
parent eccae188a8
commit 67519f60db
8 changed files with 64 additions and 31 deletions

View file

@ -1,7 +1,14 @@
{pkgs, ...}: { {pkgs, ...}: {
services.desktopManager.gnome = { services.desktopManager.gnome = {
enable = true; enable = true;
sessionPath = [pkgs.gtop]; sessionPath = with pkgs; [
gtop
gnome-menus
gobject-introspection
# Copyous
libgda6
gsound
];
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
gnome-menus gnome-menus
@ -14,5 +21,6 @@
gnome-tour gnome-tour
baobab # Disk Usage Analyzer, use dust instead baobab # Disk Usage Analyzer, use dust instead
epiphany # GNOME Web epiphany # GNOME Web
gnome-system-monitor # use mission-center
]; ];
} }

View file

@ -72,7 +72,6 @@ in {
loupe # SUPER FAST 有催人跑的感觉 w/ GPU Accel. loupe # SUPER FAST 有催人跑的感觉 w/ GPU Accel.
kdePackages.elisa kdePackages.elisa
haruna
# Email # Email
protonmail-bridge protonmail-bridge
@ -127,6 +126,9 @@ in {
scanmem scanmem
dex dex
piliplus piliplus
foliate
newsflash
mission-center
] ]
++ (mkFcitxIM [ ++ (mkFcitxIM [
pkgs.neovim-qt pkgs.neovim-qt

View file

@ -0,0 +1,17 @@
{
pkgs,
config,
...
}: {
# MPV GTK4 frontend
imports = [./mpv.nix]; # Include MPV configuration
home.packages = [pkgs.celluloid];
dconf.settings = {
"io/github/celluloid-player/celluloid" = {
mpv-config-enable = true;
mpv-input-config-enable = true;
mpv-config-file = "file:///home/${config.home.username}/.config/mpv/mpv.conf";
mpv-input-config-file = "file:///home/${config.home.username}/.config/mpv/input.conf";
};
};
}

View file

@ -1,4 +1,3 @@
# 大败而归,等打包了
{ {
pkgs, pkgs,
lib, lib,
@ -15,4 +14,11 @@ in {
gsound gsound
]; ];
xdg.dataFile."copyous@boerdereinar.dev/highlight.min.js".source = highlightJs; xdg.dataFile."copyous@boerdereinar.dev/highlight.min.js".source = highlightJs;
dconf.settings = {
# TODO: Add more settings here later.
"org/gnome/shell/extensions/copyous" = {
open-clipboard-dialog-shortcut = ["<Super>v"];
show-at-pointer = true;
};
};
} }

View file

@ -11,7 +11,6 @@
kimpanel kimpanel
appindicator appindicator
gsconnect gsconnect
clipboard-indicator
advanced-alttab-window-switcher advanced-alttab-window-switcher
resource-monitor resource-monitor
lunar-calendar lunar-calendar
@ -19,16 +18,13 @@
in { in {
imports = [ imports = [
../../walker.nix ../../walker.nix
# ./copyous.nix ./copyous.nix
]; ];
home.packages = with pkgs; home.packages = with pkgs;
[ [
gnome-tweaks gnome-tweaks
sushi sushi
dconf-editor dconf-editor
gnome-menus
showtime
gobject-introspection
] ]
++ extensions; ++ extensions;
programs.gnome-shell.enable = true; programs.gnome-shell.enable = true;
@ -171,6 +167,7 @@ in {
netwlanstatus = false; netwlanstatus = false;
ramalert = true; ramalert = true;
ramunit = "perc"; ramunit = "perc";
customleftclickstatus = "missioncenter";
}; };
}; };
} }

View file

@ -10,6 +10,10 @@
screensaver = [""]; screensaver = [""];
}; };
"org/gnome/shell/extensions/paperwm/keybindings" = { "org/gnome/shell/extensions/paperwm/keybindings" = {
close-window = ["<Super>q"];
new-window = [];
switch-next = [];
switch-previous = [];
switch-left = [ switch-left = [
"<Super>Left" "<Super>Left"
"<Super>h" "<Super>h"
@ -22,35 +26,27 @@
"<Super>Down" "<Super>Down"
"<Super>j" "<Super>j"
]; ];
move-left = [ switch-up = [
"<Control><Super>comma" "<Super>Up"
"<Shift><Super>comma" "<Super>k"
"<Control><Super>Left"
"<Shift><Super>h"
];
move-right = [
"<Control><Super>comma"
"<Shift><Super>comma"
"<Control><Super>Left"
"<Shift><Super>l"
];
move-up = [
"<Control><Super>comma"
"<Shift><Super>comma"
"<Control><Super>Left"
"<Shift><Super>k"
];
move-down = [
"<Control><Super>comma"
"<Shift><Super>comma"
"<Control><Super>Left"
"<Shift><Super>j"
]; ];
move-left = ["<Shift><Super>h"];
move-right = ["<Shift><Super>l"];
move-up = [""];
move-down = [""];
switch-down-or-else-workspace = ["<Super><Shift>j"];
switch-up-or-else-workspace = ["<Super><Shift>k"];
center-vertically = [""]; center-vertically = [""];
drift-left = [""]; drift-left = [""];
drift-right = [""]; drift-right = [""];
move-up-workspace = ["<Control><Super>k"]; move-up-workspace = ["<Control><Super>k"];
move-down-workspace = ["<Control><Super>j"]; move-down-workspace = ["<Control><Super>j"];
slurp-in = ["<Super>bracketleft"];
barf-out = ["<Super>bracketright"];
barf-out-active = [];
};
"org/gnome/shell/extensions/paperwm" = {
winprops = [''{"wm_class":"dev.benz.walker","scratch_layer":true}''];
}; };
}; };
} }

View file

@ -39,6 +39,10 @@
# Applies to all chromium # Applies to all chromium
title = "^Picture in picture$"; title = "^Picture in picture$";
} }
{
title = "^Friends List$";
app-id = "^steam$";
}
]; ];
open-floating = true; open-floating = true;

View file

@ -69,9 +69,12 @@
./programs/pwa.nix ./programs/pwa.nix
./programs/walker.nix ./programs/walker.nix
./programs/sioyek.nix ./programs/sioyek.nix
./programs/celluloid.nix
# Desktop Linux # Desktop Linux
./programs/desktop/gnome ./programs/desktop/gnome
./programs/desktop/gnome/paperwm.nix
./programs/desktop/gnome/copyous.nix
./programs/desktop/wayland-wm/niri ./programs/desktop/wayland-wm/niri
../../modules/home/do-not-track.nix ../../modules/home/do-not-track.nix