Created
March 15, 2023 19:10
-
-
Save quidome/4e225db4b1611a9624d3927919f96bc6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, pkgs, config, ... }: | |
let | |
cfg = config.my.gui; | |
in | |
{ | |
config = lib.mkIf (cfg.environment == "gnome") { | |
# set some defaults for gnome | |
my.xorg.enable = true; | |
# gnome settings by dconf | |
dconf.settings = { | |
"apps/guake/general" = { | |
gtk-prefer-dark-theme = true; | |
gtk-theme-name = "Adwaita-dark"; | |
use-scrollbar = false; | |
use-trayicon = false; | |
window-tabbar = false; | |
window-width = 80; | |
}; | |
"apps/guake/style/background" = { | |
transparency = 90; | |
}; | |
"org/gnome/mutter" = { | |
workspaces-only-on-primary = false; | |
}; | |
"org/gnome/desktop/calendar" = { | |
show-weekdate = true; | |
}; | |
"org/gnome/desktop/interface" = { | |
clock-show-seconds = false; | |
clock-show-weekday = true; | |
enable-hot-corners = false; | |
font-antialiasing = "rgba"; | |
font-hinting = "slight"; | |
show-battery-percentage = true; | |
}; | |
"org/gnome/desktop/peripherals/touchpad" = { | |
natural-scroll = true; | |
two-finger-scrolling-enabled = true; | |
}; | |
"org/gnome/desktop/wm/preferences" = { | |
focus-mode = "sloppy"; | |
}; | |
"org/gnome/settings-daemon/plugins/power" = { | |
sleep-inactive-ac-type = "nothing"; | |
}; | |
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0" = { | |
binding = "<Super>Return"; | |
command = "kgx"; | |
name = "launch terminal"; | |
}; | |
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1" = { | |
binding = "<Shift><Super>b"; | |
command = "browser-chooser"; | |
name = "launch browserchooser"; | |
}; | |
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2" = { | |
binding = "<Shift><Super>p"; | |
command = "/home/${config.home.username}/bin/rofipass"; | |
name = "launch rofipass"; | |
}; | |
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3" = { | |
binding = "<Super>backslash"; | |
command = "guake-toggle"; | |
name = "guake toggle"; | |
}; | |
"org/gnome/shell/app-switcher" = { | |
current-workspace-only = true; | |
}; | |
"org/gnome/tweaks" = { | |
show-extensions-notice = false; | |
}; | |
}; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment