Update common.nix
This commit is contained in:
parent
3575446aec
commit
34942b0148
1 changed files with 3 additions and 19 deletions
22
common.nix
22
common.nix
|
|
@ -45,10 +45,11 @@ systemd.user.services.gnomeSettings = {
|
||||||
export PATH=${pkgs.glib}/bin:$PATH
|
export PATH=${pkgs.glib}/bin:$PATH
|
||||||
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
|
export DBUS_SESSION_BUS_ADDRESS="unix:path=$XDG_RUNTIME_DIR/bus"
|
||||||
|
|
||||||
|
# Ensure GNOME is fully ready
|
||||||
sleep 5
|
sleep 5
|
||||||
echo "Running settings..." >> "$LOG"
|
echo "Running settings..." >> "$LOG"
|
||||||
|
|
||||||
# General interface
|
# Interface / theme
|
||||||
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' >> "$LOG" 2>&1
|
gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark' >> "$LOG" 2>&1
|
||||||
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' >> "$LOG" 2>&1
|
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark' >> "$LOG" 2>&1
|
||||||
gsettings set org.gnome.desktop.interface accent-color 'purple' >> "$LOG" 2>&1
|
gsettings set org.gnome.desktop.interface accent-color 'purple' >> "$LOG" 2>&1
|
||||||
|
|
@ -57,29 +58,12 @@ systemd.user.services.gnomeSettings = {
|
||||||
gsettings set org.gnome.settings-daemon.plugins.media-keys home "['<Super>e']" >> "$LOG" 2>&1
|
gsettings set org.gnome.settings-daemon.plugins.media-keys home "['<Super>e']" >> "$LOG" 2>&1
|
||||||
gsettings set org.gnome.settings-daemon.plugins.media-keys control-center "['<Super>i']" >> "$LOG" 2>&1
|
gsettings set org.gnome.settings-daemon.plugins.media-keys control-center "['<Super>i']" >> "$LOG" 2>&1
|
||||||
|
|
||||||
# Extensions
|
|
||||||
gsettings set org.gnome.shell enabled-extensions "['blur-my-shell@aunetx']" >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell enabled-extensions "['blur-my-shell@aunetx','just-perfection-desktop@just-perfection']" >> "$LOG" 2>&1
|
|
||||||
|
|
||||||
# Blur My Shell settings
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock blur true >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.appfolder.brightness 0.6 >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.appfolder.sigma 30 >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock.brightness 0.6 >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock.sigma 30 >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock.static-blur true >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.dash-to-dock.style-dash-to-dock 0 >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.panel.brightness 0.6 >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.panel.sigma 30 >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.settings-version 2 >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.window-list.brightness 0.6 >> "$LOG" 2>&1
|
|
||||||
gsettings set org.gnome.shell.extensions.blur-my-shell.window-list.sigma 30 >> "$LOG" 2>&1
|
|
||||||
|
|
||||||
echo "DONE" >> "$LOG"
|
echo "DONE" >> "$LOG"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.fred = {
|
users.users.fred = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue