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

View file

@ -72,7 +72,6 @@ in {
loupe # SUPER FAST 有催人跑的感觉 w/ GPU Accel.
kdePackages.elisa
haruna
# Email
protonmail-bridge
@ -127,6 +126,9 @@ in {
scanmem
dex
piliplus
foliate
newsflash
mission-center
]
++ (mkFcitxIM [
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,
lib,
@ -15,4 +14,11 @@ in {
gsound
];
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
appindicator
gsconnect
clipboard-indicator
advanced-alttab-window-switcher
resource-monitor
lunar-calendar
@ -19,16 +18,13 @@
in {
imports = [
../../walker.nix
# ./copyous.nix
./copyous.nix
];
home.packages = with pkgs;
[
gnome-tweaks
sushi
dconf-editor
gnome-menus
showtime
gobject-introspection
]
++ extensions;
programs.gnome-shell.enable = true;
@ -171,6 +167,7 @@ in {
netwlanstatus = false;
ramalert = true;
ramunit = "perc";
customleftclickstatus = "missioncenter";
};
};
}

View file

@ -10,6 +10,10 @@
screensaver = [""];
};
"org/gnome/shell/extensions/paperwm/keybindings" = {
close-window = ["<Super>q"];
new-window = [];
switch-next = [];
switch-previous = [];
switch-left = [
"<Super>Left"
"<Super>h"
@ -22,35 +26,27 @@
"<Super>Down"
"<Super>j"
];
move-left = [
"<Control><Super>comma"
"<Shift><Super>comma"
"<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"
switch-up = [
"<Super>Up"
"<Super>k"
];
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 = [""];
drift-left = [""];
drift-right = [""];
move-up-workspace = ["<Control><Super>k"];
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
title = "^Picture in picture$";
}
{
title = "^Friends List$";
app-id = "^steam$";
}
];
open-floating = true;

View file

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