dconf.nix (4330B)
1 { lib, ... }: 2 let 3 mkTuple = lib.hm.gvariant.mkTuple; 4 in 5 { 6 dconf.settings = { 7 # Interface 8 "org/gnome/desktop/interface" = { 9 clock-show-date = true; 10 clock-show-seconds = false; 11 clock-show-weekday = true; 12 # enable-animations=false; 13 monospace-font-name = "Ubuntu Mono 13"; 14 show-battery-percentage = true; 15 toolkit-accessibility = false; 16 }; 17 # Inputs 18 "org/gnome/desktop/input-sources" = { 19 "current" = "uint32 0"; 20 "sources" = [ (mkTuple [ "xkb" "fr+bepo" ]) (mkTuple [ "xkb" "us" ]) ]; 21 "xkb-options" = [ "lv3:ralt_switch" "caps:ctrl_modifier" ]; 22 }; 23 # Window manager 24 "org/gnome/desktop/wm/keybindings" = { 25 activate-window-menu = [ "<Shift><Alt>nobreakspace" ]; 26 close = [ "<Shift><Super>b" ]; 27 panel-run-dialog = [ "<Super>j" ]; 28 switch-applications = [ "<Alt>Tab" ]; 29 switch-applications-backward = [ "<Shift><Alt>Tab" ]; 30 switch-windows = [ "<Super>Tab" ]; 31 switch-windows-backward = [ "<Shift><Super>Tab" ]; 32 toggle-fullscreen = [ "<Alt>F11" ]; 33 }; 34 "org/gnome/desktop/wm/preferences" = { 35 action-middle-click-titlebar = "none"; 36 auto-raise = true; 37 button-layout = "appmenu:close"; 38 focus-new-windows = "strict"; 39 resize-with-right-button = true; 40 }; 41 # Background and screensaver 42 "org/gnome/desktop/background" = { 43 "picture-uri" = "file:///home/vincent/desktop/pictures/wallpapers/dynamics/firewatch/firewatch.xml"; 44 }; 45 "org/gnome/desktop/screensaver" = { 46 "picture-uri" = "file:///home/vincent/desktop/pictures/wallpapers/dynamics/firewatch/firewatch.xml"; 47 }; 48 # settings 49 "org/gnome/settings-daemon/plugins/color" = { 50 night-light-enabled = true; 51 night-light-last-coordinates = (mkTuple [ 48.844400719942406 2.3488000000000002 ]); 52 }; 53 "org/gnome/settings-daemon/plugins/power" = { 54 sleep-inactive-ac-type = "nothing"; 55 }; 56 # Tilix 57 "com/gexperts/Tilix" = { 58 "control-scoll-zoom" = true; 59 "notify-on-process-complete" = true; 60 "prompt-on-close" = true; 61 "theme-variant" = "dark"; 62 }; 63 "com/gexperts/Tilix/keybindings" = { 64 "session-add-down" = "<Primary><Alt>d"; 65 }; 66 "com/gexperts/Tilix/profiles" = { 67 list = [ "2b7c4080-0ddd-46c5-8f23-563fd3ba789d" "3c416d51-7dbc-4c73-8448-de56ed4ac3c2" ]; 68 }; 69 "com/gexperts/Tilix/profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d" = { 70 background-color = "#272C34"; 71 badge-color-set = false; 72 bold-color-set = false; 73 cursor-colors-set = false; 74 font = "Fira Code weight=450 13"; 75 foreground-color = "#BBC2CF"; 76 highlight-colors-set = false; 77 palette = [ "#272C34" "#FF6C6B" "#98BE65" "#ECBE7A" "#50AFEF" "#C678DD" "#46D9FF" "#BBC2CF" "#4A4A4F4F5555" "#FF6C6B" "#98BE65" "#ECBE7A" "#50AFEF" "#C678DD" "#46D9FF" "#BBC2CF" ]; 78 shortcut = "<Primary><Shift><Alt>d"; 79 use-system-font = true; 80 use-theme-colors = false; 81 visible-name = "Default"; 82 }; 83 "com/gexperts/Tilix/profiles/3c416d51-7dbc-4c73-8448-de56ed4ac3c2" = { 84 background-color = "#BBBBC2C2CFCF"; 85 badge-color = "#AC7EA8"; 86 badge-color-set = false; 87 bold-color-set = false; 88 cursor-colors-set = false; 89 font = "Fira Code weight=450 12"; 90 foreground-color = "#26262C2C3434"; 91 highlight-colors-set = false; 92 palette = [ "#272C34" "#FF6C6B" "#98BE65" "#ECBE7A" "#50AFEF" "#C678DD" "#46D9FF" "#BBC2CF" "#272C34" "#FF6C6B" "#98BE65" "#ECBE7A" "#50AFEF" "#C678DD" "#46D9FF" "#BBC2CF" ]; 93 shortcut = "<Primary><Shift><Alt>l"; 94 use-system-font = true; 95 use-theme-colors = false; 96 visible-name = "Light"; 97 }; 98 # Shell 99 "org/gnome/shell" = { 100 enabled-extensions = [ "drive-menu@gnome-shell-extensions.gcampax.github.com" "sound-output-device-chooser@kgshank.net" "user-theme@gnome-shell-extensions.gcampax.github.com" "launch-new-instance@gnome-shell-extensions.gcampax.github.com" "bluetooth-quick-connect@bjarosze.gmail.com" "noannoyance@sindex.com" ]; # "hidetopbar@mathieu.bidon.ca" 101 }; 102 # Extensions 103 "org/gnome/shell/extensions/hidetopbar" = { 104 enable-active-window = false; 105 enable-intellihide = true; 106 mouse-sensitive = true; 107 mouse-sensitive-fullscreen-window = false; 108 }; 109 }; 110 }