From 899ce57d60523ee9679dfd4bd2e75f50901f32d1 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 25 Sep 2015 11:25:59 -0400 Subject: Have he Makefile be smarter about when it needs to do things --- .config/Makefile | 10 ++- .config/dconf/user.txt | 200 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 206 insertions(+), 4 deletions(-) create mode 100644 .config/dconf/user.txt diff --git a/.config/Makefile b/.config/Makefile index 9ee3115..002a933 100644 --- a/.config/Makefile +++ b/.config/Makefile @@ -10,9 +10,10 @@ GIT_DIR = ${HOME}/.git targets = \ ${GIT_DIR}/info/exclude \ - ${HOME}/.folders \ ${XDG_CACHE_HOME}/config-symlinks/cookie \ - ${XDG_CACHE_HOME}/cron/cookie + $(if $(shell crontab -l),${XDG_CACHE_HOME}/cron/cookie) \ + $(if $(wildcard ${HOME}/Maildir),${HOME}/.folders) \ + $(if $(wildcard ${XDG_CONFIG_HOME}/dconf/user),${XDG_CONFIG_HOME}/dconf/user.txt) all: $(targets) clean: @@ -24,6 +25,9 @@ ${HOME}/.folders: ${HOME}/Maildir $(MAKEFILE_LIST) ${GIT_DIR}/info/exclude: ${HOME}/.git.info.exclude.in $(shell echo .??*/) ( cat $<; find $^ -type f -name 'CACHEDIR.TAG' -printf '%h\n'|sed 's@^\./@/@' ) > $@ +${XDG_CONFIG_HOME}/dconf/user.txt: ${XDG_CONFIG_HOME}/dconf/user + dconf dump / > $@ + ${XDG_CACHE_HOME}/cron/cookie: ${XDG_CONFIG_HOME}/cron -(cat $^/*; echo) | crontab - 2>/dev/null mkdir -p '$(@D)' @@ -34,8 +38,6 @@ ${XDG_CACHE_HOME}/config-symlinks/cookie: ${XDG_CONFIG_HOME}/symlinks mkdir -p '$(@D)' date > '$@' -${HOME}/Maildir: - mkdir -p '$@'/{cur,new,tmp} ${HOME}/Maildir/%: | ${HOME}/Maildir mkdir -p '$@'/{cur,new,tmp} touch '$@'/maildirfolder diff --git a/.config/dconf/user.txt b/.config/dconf/user.txt new file mode 100644 index 0000000..48a55eb --- /dev/null +++ b/.config/dconf/user.txt @@ -0,0 +1,200 @@ +[org/mate/terminal/profiles/default] +background-color='#FFFFFFFFDDDD' +login-shell=true +palette='#2E2E34343636:#CCCC00000000:#4E4E9A9A0606:#C4C4A0A00000:#34346565A4A4:#757550507B7B:#060698209A9A:#D3D3D7D7CFCF:#555557575353:#EFEF29292929:#8A8AE2E23434:#FCFCE9E94F4F:#72729F9FCFCF:#ADAD7F7FA8A8:#3434E2E2E2E2:#EEEEEEEEECEC' +bold-color='#000000000000' +foreground-color='#000000000000' +visible-name='Default' + +[org/mate/eom/ui] +image-collection=false +sidebar=false + +[org/mate/engrampa/listing] +sort-method='name' +name-column-width=250 +sort-type='ascending' +list-mode='as-folder' +show-path=false + +[org/mate/engrampa/ui] +sidebar-width=200 +window-height=480 +window-width=600 + +[org/mate/volume-control] +window-height=886 +window-width=1706 + +[org/mate/screenshot] +include-pointer=true +include-border=true +border-effect='none' +delay=0 + +[org/mate/desktop/peripherals/keyboard] +numlock-state='off' + +[org/mate/desktop/accessibility/keyboard] +slowkeys-beep-press=true +mousekeys-accel-time=1200 +bouncekeys-beep-reject=true +slowkeys-beep-reject=false +togglekeys-enable=false +enable=false +bouncekeys-enable=false +stickykeys-enable=false +feature-state-change-beep=false +slowkeys-beep-accept=true +bouncekeys-delay=300 +mousekeys-max-speed=750 +mousekeys-enable=false +timeout-enable=false +slowkeys-delay=300 +stickykeys-modifier-beep=true +stickykeys-two-key-off=true +mousekeys-init-delay=160 +timeout=120 +slowkeys-enable=false + +[org/mate/desktop/background] +color-shading-type='solid' +primary-color='#a1a184845c5c' +picture-options='wallpaper' +picture-filename='' +secondary-color='#3c3c8f8f2525' + +[org/mate/desktop/font-rendering] +antialiasing='grayscale' +dpi=95.0 +hinting='full' + +[org/mate/desktop/session] +session-start=1443192888 + +[org/mate/pluma/plugins/filebrowser/on-load] +virtual-root='file:///tmp' +tree-view=true +root='file:///' + +[org/mate/pluma] +statusbar-visible=true + +[org/mate/marco/general] +mouse-button-modifier='' +side-by-side-tiling=true +focus-mode='click' +theme='Purdue' + +[org/mate/panel/general] +show-program-list=true +toplevel-id-list=['top', 'bottom'] +history-mate-run=['/homes/shumakl/.prefix.x86_64/bin/urxvt', '/bin/bash --noprofile --norc', 'mate-terminal /bin/sh', 'vncviewer', 'gimp', 'emacs', 'killall emacs', 'urxvt', 'mate-terminal bash --noprofile --norc', 'mate-terminal'] +object-id-list=['menu-bar', 'separator', 'terminal', 'web-browser', 'notification-area', 'clock', 'window-menu', 'show-desktop', 'window-list', 'workspace-switcher', 'object_0'] + +[org/mate/panel/toplevels/bottom] +expand=true +orientation='bottom' +screen=0 +y-bottom=0 +size=24 +y=1055 + +[org/mate/panel/toplevels/top] +expand=true +orientation='top' +screen=0 +size=24 + +[org/mate/panel/objects/workspace-switcher] +applet-iid='WnckletFactory::WorkspaceSwitcherApplet' +locked=true +toplevel-id='bottom' +position=0 +object-type='applet' +panel-right-stick=true + +[org/mate/panel/objects/clock] +applet-iid='ClockAppletFactory::ClockApplet' +locked=true +toplevel-id='top' +position=5 +object-type='applet' +panel-right-stick=true + +[org/mate/panel/objects/clock/prefs] +format='12-hour' +custom-format='' + +[org/mate/panel/objects/object_0] +launcher-location='v-editor.desktop' +toplevel-id='top' +position=296 +object-type='launcher' +panel-right-stick=false + +[org/mate/panel/objects/separator] +locked=true +toplevel-id='top' +position=5 +object-type='separator' + +[org/mate/panel/objects/menu-bar] +locked=true +toplevel-id='top' +position=0 +object-type='menu-bar' + +[org/mate/panel/objects/window-menu] +applet-iid='WnckletFactory::WindowMenuApplet' +locked=true +toplevel-id='top' +position=0 +object-type='applet' +panel-right-stick=true + +[org/mate/panel/objects/window-list] +applet-iid='WnckletFactory::WindowListApplet' +locked=true +toplevel-id='bottom' +position=20 +object-type='applet' + +[org/mate/panel/objects/notification-area] +applet-iid='NotificationAreaAppletFactory::NotificationArea' +locked=true +toplevel-id='top' +position=10 +object-type='applet' +panel-right-stick=true + +[org/mate/panel/objects/show-desktop] +applet-iid='WnckletFactory::ShowDesktopApplet' +locked=true +toplevel-id='bottom' +position=0 +object-type='applet' + +[org/mate/panel/objects/web-browser] +locked=true +launcher-location='/usr/share/applications/firefox.desktop' +toplevel-id='top' +position=10 +object-type='launcher' + +[org/mate/panel/objects/terminal] +locked=true +launcher-location='urxvt.desktop' +toplevel-id='top' +position=10 +object-type='launcher' + +[org/mate/caja/window-state] +start-with-sidebar=true +geometry='800x550+312+123' +start-with-status-bar=true +maximized=true +start-with-toolbar=true + +[org/mate/atril/default] +window-ratio=(3.1209150326797386, 1.2676767676767677) -- cgit v1.2.3