diff options
Diffstat (limited to '')
-rwxr-xr-x | dconf/gen-xmonad | 242 | ||||
-rw-r--r-- | dconf/xinit | 10 |
2 files changed, 250 insertions, 2 deletions
diff --git a/dconf/gen-xmonad b/dconf/gen-xmonad new file mode 100755 index 0000000..120fd65 --- /dev/null +++ b/dconf/gen-xmonad @@ -0,0 +1,242 @@ +#!/bin/sh -ev + + +### mate-panel + +dconf write /org/mate/panel/general/toplevel-id-list "['bottom']" +dconf write /org/mate/panel/toplevels/bottom/auto-hide false +dconf write /org/mate/panel/toplevels/bottom/enable-arrows true +dconf write /org/mate/panel/toplevels/bottom/enable-buttons false +dconf write /org/mate/panel/toplevels/bottom/expand true +dconf write /org/mate/panel/toplevels/bottom/monitor 0 +dconf write /org/mate/panel/toplevels/bottom/orientation "'bottom'" +dconf write /org/mate/panel/toplevels/bottom/screen 0 +dconf write /org/mate/panel/toplevels/bottom/size 24 +dconf write /org/mate/panel/toplevels/bottom/background/color "'#000000'" +dconf write /org/mate/panel/toplevels/bottom/background/opacity 65535 +dconf write /org/mate/panel/toplevels/bottom/background/type "'color'" + +dconf write /org/mate/panel/general/show-program-list false + +dconf write /org/mate/panel/general/object-id-list "['main-menu', 'run', 'notification-area']" + +dconf write /org/mate/panel/objects/main-menu/locked true +dconf write /org/mate/panel/objects/main-menu/object-type "'menu'" +dconf write /org/mate/panel/objects/main-menu/panel-right-stick false +dconf write /org/mate/panel/objects/main-menu/position 0 +dconf write /org/mate/panel/objects/main-menu/tooltip "'Main Menu'" +dconf write /org/mate/panel/objects/main-menu/toplevel-id "'bottom'" +dconf write /org/mate/panel/objects/main-menu/use-menu-path false + +dconf write /org/mate/panel/objects/run/action-type "'run'" +dconf write /org/mate/panel/objects/run/locked true +dconf write /org/mate/panel/objects/run/object-type "'action'" +dconf write /org/mate/panel/objects/run/panel-right-stick false +dconf write /org/mate/panel/objects/run/position 24 +dconf write /org/mate/panel/objects/run/toplevel-id "'bottom'" + +dconf write /org/mate/panel/objects/notification-area/applet-iid "'NotificationAreaAppletFactory::NotificationArea'" +dconf write /org/mate/panel/objects/notification-area/locked true +dconf write /org/mate/panel/objects/notification-area/object-type "'applet'" +dconf write /org/mate/panel/objects/notification-area/panel-right-stick true +dconf write /org/mate/panel/objects/notification-area/position 0 +dconf write /org/mate/panel/objects/notification-area/toplevel-id "'bottom'" + + +### mate-desktop, mate-settings-daemon, marco + +dconf write /org/mate/desktop/applications/terminal/exec "'terminator'" + +dconf write /org/mate/desktop/sound/enable-esd false +dconf write /org/mate/desktop/sound/event-sounds false +dconf write /org/mate/desktop/sound/input-feedback-sounds false + +dconf write /org/mate/desktop/peripherals/mouse/cursor-size 24 +dconf write /org/mate/desktop/peripherals/mouse/cursor-theme "'mate'" +dconf write /org/mate/desktop/peripherals/mouse/motion-acceleration 1.0 +dconf write /org/mate/desktop/peripherals/mouse/motion-threshold 1 + +dconf write /org/mate/macro/general/theme "'DustBlue'" + +dconf write /org/mate/desktop/font-rendering/antialiasing "'greyscale'" +dconf write /org/mate/desktop/font-rendering/hinting "'medium'" + +dconf write /org/mate/desktop/media-handling/automount-open false + +dconf write /org/mate/desktop/background/color-shading-type "'vertical-gradient'" +dconf write /org/mate/desktop/background/picture-filename "''" +dconf write /org/mate/desktop/background/picture-options "'wallpaper'" +dconf write /org/mate/desktop/background/primary-color "'#000000000000'" +dconf write /org/mate/desktop/background/secondary-color "'#000000000000'" + +dconf write /org/mate/desktop/interface/accessibility false +dconf write /org/mate/desktop/interface/can-change-accels false +dconf write /org/mate/desktop/interface/document-font-name "'Sans 10'" +dconf write /org/mate/desktop/interface/font-name "'Sans 10'" +dconf write /org/mate/desktop/interface/gtk-theme "'Clearlooks'" +dconf write /org/mate/desktop/interface/icon-theme "'simple'" +dconf write /org/mate/desktop/interface/menubar-detachable false +dconf write /org/mate/desktop/interface/menus-have-icons true +dconf write /org/mate/desktop/interface/menus-have-tearoff false +dconf write /org/mate/desktop/interface/toolbar-style "'both-horiz'" +fg_color=cccccccccccc +bg_color=428f424741ff +text_color=cccccccccccc +base_color=111111111111 +selected_fg_color=cccccccccccc +selected_bg_color=5c295c295c29 +tooltip_fg_color=000000000000 +tooltip_bg_color=b851b851882c +fg_color="fg_color:#${fg_color}" +bg_color="bg_color:#${bg_color}" +text_color="text_color:#${text_color}" +base_color="base_color:#${base_color}" +selected_fg_color="selected_fg_color:#${selected_fg_color}" +selected_bg_color="selected_bg_color:#${selected_bg_color}" +tooltip_fg_color="tooltip_fg_color:#${tooltip_fg_color}" +tooltip_bg_color="tooltip_bg_color:#${tooltip_bg_color}" +dconf write /org/mate/desktop/interface/gtk-color-scheme "'${fg_color}\n${bg_color}\n${text_color}\n${base_color}\n${selected_fg_color}\n${selected_bg_color}\n${tooltip_fg_color}\n${tooltip_bg_color}'" + + +### mate-system-monitor + +dconf write /org/mate/system-monitor/cpu-color0 "'#cdcd65656c6c'" +dconf write /org/mate/system-monitor/cpu-color1 "'#3232a6a67979'" +dconf write /org/mate/system-monitor/cpu-color2 "'#24249595bebe'" +dconf write /org/mate/system-monitor/cpu-color3 "'#ccccadad4747'" +dconf write /org/mate/system-monitor/cpu-color4 "'#ebeb5e5e6a6a'" +dconf write /org/mate/system-monitor/cpu-color5 "'#0e0ec2c28787'" +dconf write /org/mate/system-monitor/cpu-color6 "'#0000acace0e0'" +dconf write /org/mate/system-monitor/cpu-color7 "'#f2f2caca3838'" +dconf write /org/mate/system-monitor/current-tab 2 +dconf write /org/mate/system-monitor/disks-interval 5000 +dconf write /org/mate/system-monitor/graph-update-interval 1000 +dconf write /org/mate/system-monitor/kill-dialog true +dconf write /org/mate/system-monitor/net-in-color "'#92022d2db3b3'" +dconf write /org/mate/system-monitor/net-out-color "'#1cfb8733c944'" +dconf write /org/mate/system-monitor/network-in-bits false +dconf write /org/mate/system-monitor/show-all-fs false +dconf write /org/mate/system-monitor/show-tree true +dconf write /org/mate/system-monitor/smooth-refresh true +dconf write /org/mate/system-monitor/solaris-mode false +dconf write /org/mate/system-monitor/update-interval 3000 +dconf write /org/mate/system-monitor/view-as 0 + +dconf write /org/mate/system-monitor/disktreenew/col-0-width 95 +dconf write /org/mate/system-monitor/disktreenew/col-1-width 129 +dconf write /org/mate/system-monitor/disktreenew/col-6-width 1354 +dconf write /org/mate/system-monitor/disktreenew/columns-order "[0, 1, 2, 3, 4, 5, 6]" +dconf write /org/mate/system-monitor/disktreenew/sort-col 1 +dconf write /org/mate/system-monitor/disktreenew/sort-order 0 + +dconf write /org/mate/system-monitor/memmapstree/sort-col 0 +dconf write /org/mate/system-monitor/memmapstree/sort-order 0 + +dconf write /org/mate/system-monitor/openfilestree/sort-col 0 +dconf write /org/mate/system-monitor/openfilestree/sort-order 0 + +dconf write /org/mate/system-monitor/proctree/col-0-visible true +dconf write /org/mate/system-monitor/proctree/col-0-width 314 +dconf write /org/mate/system-monitor/proctree/col-1-visible true +dconf write /org/mate/system-monitor/proctree/col-1-width 57 +dconf write /org/mate/system-monitor/proctree/col-10-visible false +dconf write /org/mate/system-monitor/proctree/col-10-width 0 +dconf write /org/mate/system-monitor/proctree/col-11-visible true +dconf write /org/mate/system-monitor/proctree/col-11-width 55 +dconf write /org/mate/system-monitor/proctree/col-12-visible true +dconf write /org/mate/system-monitor/proctree/col-12-width 40 +dconf write /org/mate/system-monitor/proctree/col-13-visible false +dconf write /org/mate/system-monitor/proctree/col-13-width 0 +dconf write /org/mate/system-monitor/proctree/col-14-visible true +dconf write /org/mate/system-monitor/proctree/col-14-width 532 +dconf write /org/mate/system-monitor/proctree/col-15-visible true +dconf write /org/mate/system-monitor/proctree/col-15-width 79 +dconf write /org/mate/system-monitor/proctree/col-16-visible true +dconf write /org/mate/system-monitor/proctree/col-16-width 128 +dconf write /org/mate/system-monitor/proctree/col-17-visible false +dconf write /org/mate/system-monitor/proctree/col-2-visible true +dconf write /org/mate/system-monitor/proctree/col-2-width 69 +dconf write /org/mate/system-monitor/proctree/col-22-width 74 +dconf write /org/mate/system-monitor/proctree/col-3-visible true +dconf write /org/mate/system-monitor/proctree/col-3-width 124 +dconf write /org/mate/system-monitor/proctree/col-4-visible true +dconf write /org/mate/system-monitor/proctree/col-4-width 0 +dconf write /org/mate/system-monitor/proctree/col-5-visible true +dconf write /org/mate/system-monitor/proctree/col-5-width 141 +dconf write /org/mate/system-monitor/proctree/col-6-visible true +dconf write /org/mate/system-monitor/proctree/col-6-width 129 +dconf write /org/mate/system-monitor/proctree/col-7-visible true +dconf write /org/mate/system-monitor/proctree/col-7-width 137 +dconf write /org/mate/system-monitor/proctree/col-8-visible true +dconf write /org/mate/system-monitor/proctree/col-8-width 70 +dconf write /org/mate/system-monitor/proctree/col-9-visible true +dconf write /org/mate/system-monitor/proctree/col-9-width 89 +dconf write /org/mate/system-monitor/proctree/columns-order "[12, 0, 1, 2, 8, 9, 10, 11, 13, 15, 16, 14, 3, 4, 5, 6, 7, 17, 18, 19, 20, 21, 22]" +dconf write /org/mate/system-monitor/proctree/sort-col 12 +dconf write /org/mate/system-monitor/proctree/sort-order 0 + + +### atril +dconf write /org/mate/atril/default/continuous true +dconf write /org/mate/atril/default/dual-page false +dconf write /org/mate/atril/default/dual-page-odd-left false +dconf write /org/mate/atril/default/fullscreen false +dconf write /org/mate/atril/default/inverted-colors false +dconf write /org/mate/atril/default/show-sidebar true +dconf write /org/mate/atril/default/show-toolbar true +dconf write /org/mate/atril/default/sidebar-page "'thumbnails'" +dconf write /org/mate/atril/default/sidebar-size 192 +dconf write /org/mate/atril/default/sizing-mode "'fit-width'" +dconf write /org/mate/atril/default/zoom 1.0 + +### baobab +dconf write /org/gnome/baobab/ui/active-chart "'rings'" + +### caja +dconf write /org/mate/caja/icon-view/default-use-tighter-layout false +dconf write /org/mate/caja/icon-view/default-zoom-level "'standard'" +dconf write /org/mate/caja/icon-view/labels-beside-icons false +dconf write /org/mate/caja/preferences/always-use-location-entry false +dconf write /org/mate/caja/preferences/thumbnail-limit "uint64 4294967295" +dconf write /org/mate/caja/preferences/use-iec-units false +dconf write /org/mate/caja/window-state/side-pane-view "'places'" +dconf write /org/mate/caja/window-state/sidebar-width 155 +dconf write /org/mate/caja/window-state/start-with-location-bar true +dconf write /org/mate/caja/window-state/start-with-sidebar true +dconf write /org/mate/caja/window-state/start-with-status-bar true +dconf write /org/mate/caja/window-state/start-with-toolbar true + +### mate-notification-daemon +dconf write /org/mate/notification-daemon/popup-location "'top_right'" +dconf write /org/mate/notification-daemon/theme "'nodoka'" +dconf write /org/mate/notification-daemon/use-active-monitor true + +### meld +dconf write /org/gnome/meld/indent-width 8 +dconf write /org/gnome/meld/insert-spaces-instead-of-tabs false +dconf write /org/gnome/meld/show-line-numbers false +dconf write /org/gnome/meld/wrap-mode "'none'" + +### mucharmap +dconf write /org/mate/mucharmap/group-by "'block'" + +### pluma +dconf write /org/mate/pluma/auto-indent true +dconf write /org/mate/pluma/bracket-matching true +dconf write /org/mate/pluma/color-theme "'tango'" +dconf write /org/mate/pluma/display-right-margin true +dconf write /org/mate/pluma/editor-font "'Misc Fixed 10'" +dconf write /org/mate/pluma/highlight-current-line true +dconf write /org/mate/pluma/insert-spaces true +dconf write /org/mate/pluma/print-font-body-pango "'Fixed 10'" +dconf write /org/mate/pluma/print-font-header-pango "'Sans 11'" +dconf write /org/mate/pluma/print-font-numbers-pango "'Sans 8'" +dconf write /org/mate/pluma/print-header false +dconf write /org/mate/pluma/print-line-numbers 0 +dconf write /org/mate/pluma/print-syntax-highlighting true +dconf write /org/mate/pluma/print-wrap-mode "'GTK_WRAP_WORD'" +dconf write /org/mate/pluma/right-margin-position 80 +dconf write /org/mate/pluma/statusbar-visible true +dconf write /org/mate/pluma/tabs-size 8 +dconf write /org/mate/pluma/use-default-font false +dconf write /org/mate/pluma/wrap-mode "'GTK_WRAP_NONE'" diff --git a/dconf/xinit b/dconf/xinit index 645f699..f2557b7 100644 --- a/dconf/xinit +++ b/dconf/xinit @@ -11,7 +11,13 @@ if test ! "${SET_DCONF_PROFILE}" = 0; then > ~/.config/dconf/profiles/"${SESSION/-/_}" fi - if test ! -e ~/.config/dconf/"${SESSION/-/_}" && test -e ~/.config/dconf/user; then - cp -- ~/.config/dconf/user ~/.config/dconf/"${SESSION/-/_}" + if test ! -e ~/.config/dconf/"${SESSION/-/_}"; then + # Unfortunely dconf requires X+DBus, so we need to generate the profile when + # the winow manager is first ran + if test -x ~/.dotfiles/dconf/gen-"${SESSION/-/_}"; then + ~/.dotfiles/dconf/gen-"${SESSION/-/_}" + elif test -e ~/.config/dconf/user; then + cp -- ~/.config/dconf/user ~/.config/dconf/"${SESSION/-/_}" + fi fi fi |