mirror of
https://github.com/zoriya/flake.git
synced 2026-06-05 11:39:51 +00:00
Add wallpaper switcher
This commit is contained in:
+20
-9
@@ -9,12 +9,15 @@ in {
|
|||||||
dconf.settings = with lib.hm.gvariant; {
|
dconf.settings = with lib.hm.gvariant; {
|
||||||
"org/gnome/shell" = {
|
"org/gnome/shell" = {
|
||||||
disable-user-extensions = false;
|
disable-user-extensions = false;
|
||||||
|
# disable-extension-version-validation = true;
|
||||||
enabled-extensions = [
|
enabled-extensions = [
|
||||||
"forge@jmmaranan.com"
|
"forge@jmmaranan.com"
|
||||||
# Waiting for https://github.com/aunetx/blur-my-shell/issues/388
|
# Waiting for https://github.com/aunetx/blur-my-shell/issues/388
|
||||||
# "blur-my-shell@aunetx"
|
# "blur-my-shell@aunetx"
|
||||||
"launch-new-instance@gnome-shell-extensions.gcampax.github.com"
|
"launch-new-instance@gnome-shell-extensions.gcampax.github.com"
|
||||||
"rounded-window-corners@yilozt.shell-extension.zip"
|
"WallpaperSwitcher@Rishu"
|
||||||
|
# Waiting for https://github.com/yilozt/rounded-window-corners/issues/121
|
||||||
|
# "rounded-window-corners@yilozt.shell-extension.zip"
|
||||||
# Disable while not configured
|
# Disable while not configured
|
||||||
# "widgets@aylur"
|
# "widgets@aylur"
|
||||||
# "just-perfection-desktop@just-perfection"
|
# "just-perfection-desktop@just-perfection"
|
||||||
@@ -24,7 +27,7 @@ in {
|
|||||||
|
|
||||||
"org/gnome/desktop/wm/preferences" = {
|
"org/gnome/desktop/wm/preferences" = {
|
||||||
auto-raise = true;
|
auto-raise = true;
|
||||||
num-workspaces=9;
|
num-workspaces = 9;
|
||||||
};
|
};
|
||||||
# "org/gnome/shell/extensions/just-perfection" = {
|
# "org/gnome/shell/extensions/just-perfection" = {
|
||||||
# activities-button = false;
|
# activities-button = false;
|
||||||
@@ -50,7 +53,7 @@ in {
|
|||||||
"org/gnome/mutter" = {
|
"org/gnome/mutter" = {
|
||||||
experimental-features = ["scale-monitor-framebuffer"];
|
experimental-features = ["scale-monitor-framebuffer"];
|
||||||
overlay-key = "";
|
overlay-key = "";
|
||||||
workspaces-only-on-primary=true;
|
workspaces-only-on-primary = true;
|
||||||
};
|
};
|
||||||
"org/gnome/desktop/interface" = {
|
"org/gnome/desktop/interface" = {
|
||||||
scaling-factor = 1.5;
|
scaling-factor = 1.5;
|
||||||
@@ -60,13 +63,9 @@ in {
|
|||||||
clock-show-weekday = true;
|
clock-show-weekday = true;
|
||||||
show-battery-percentage = true;
|
show-battery-percentage = true;
|
||||||
};
|
};
|
||||||
# "org/gnome/desktop/background" = {
|
|
||||||
# picture-uri = "file:///home/zoriya/.cache/current-wallpaper";
|
|
||||||
# picture-uri-dark = "file:///home/zoriya/.cache/current-wallpaper";
|
|
||||||
# };
|
|
||||||
"org/gnome/desktop/input-sources" = {
|
"org/gnome/desktop/input-sources" = {
|
||||||
mru-sources = [ (mkTuple [ "xkb" "us" ]) (mkTuple [ "ibus" "mozc-jp" ]) ];
|
mru-sources = [(mkTuple ["xkb" "us"]) (mkTuple ["ibus" "mozc-jp"])];
|
||||||
sources = [ (mkTuple [ "xkb" "us" ]) (mkTuple [ "ibus" "mozc-jp" ]) ];
|
sources = [(mkTuple ["xkb" "us"]) (mkTuple ["ibus" "mozc-jp"])];
|
||||||
xkb-options = ["terminate:ctrl_alt_bksp" "caps:swapescape"];
|
xkb-options = ["terminate:ctrl_alt_bksp" "caps:swapescape"];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -88,6 +87,17 @@ in {
|
|||||||
command = "firefox";
|
command = "firefox";
|
||||||
name = "Firefox";
|
name = "Firefox";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"org/gnome/shell/extensions/WallpaperSwitcher" = {
|
||||||
|
wallpaper-path = "/home/zoriya/wallpapers";
|
||||||
|
switching-mode = 1;
|
||||||
|
frequency = 3000;
|
||||||
|
};
|
||||||
|
"org/gnome/desktop/background" = {
|
||||||
|
# Setting default images for before the wallpaper switcher runs.
|
||||||
|
picture-uri = "file:///home/zoriya/wallpapers/default";
|
||||||
|
picture-uri-dark = "file:///home/zoriya/wallpapers/default";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs.gnomeExtensions; [
|
home.packages = with pkgs.gnomeExtensions; [
|
||||||
@@ -96,6 +106,7 @@ in {
|
|||||||
# just-perfection
|
# just-perfection
|
||||||
rounded-window-corners
|
rounded-window-corners
|
||||||
aylurs-widgets
|
aylurs-widgets
|
||||||
|
wallpaper-switcher
|
||||||
wallpaper
|
wallpaper
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Symlink
+1
@@ -0,0 +1 @@
|
|||||||
|
blue-period.jpg
|
||||||
Reference in New Issue
Block a user