Browse code
Update various configuration files
fiddlerwoaroof authored on 20/06/2017 07:07:41
Showing 5 changed files
Showing 5 changed files
- .gitignore
- external/smart-change-directory
- roxterm/Colours/solatarized-dark
- scripts/quickproject-start
- scripts/startmonad
... | ... |
@@ -1,17 +1,23 @@ |
1 | 1 |
#!/usr/bin/sbcl --script |
2 |
-(load #p"~/.sbclrc") |
|
2 |
+#+sbcl (load #p"~/.sbclrc") |
|
3 |
+#+ecl (load #p"~/.eclrc") |
|
4 |
+ |
|
5 |
+(defun get-project-name () |
|
6 |
+ #+sbcl (cadr sb-ext:*posix-argv*) |
|
7 |
+ #+ecl (car (last si:*command-args*))) |
|
3 | 8 |
|
4 | 9 |
(eval-when (:compile-toplevel :load-toplevel :execute) |
5 | 10 |
(ql:quickload :fwoar.lisputils) |
6 |
- (ql:quickload :swank-client) |
|
11 |
+ ;(ql:quickload :swank-client) |
|
7 | 12 |
(ql:quickload :quickproject)) |
8 | 13 |
|
9 | 14 |
(defparameter *host* "localhost") |
10 | 15 |
(defparameter *port* 4005) |
16 |
+(defparameter *project-name* (get-project-name)) |
|
11 | 17 |
|
12 | 18 |
(defparameter *out* |
13 | 19 |
(fw.lu:let-each (:be *) |
14 |
- (cadr sb-ext:*posix-argv*) |
|
20 |
+ *project-name* |
|
15 | 21 |
(uiop:ensure-directory-pathname *) |
16 | 22 |
(merge-pathnames *))) |
17 | 23 |
|
... | ... |
@@ -20,10 +26,11 @@ |
20 | 26 |
:alexandria |
21 | 27 |
:serapeum)) |
22 | 28 |
|
23 |
-(swank-client:with-slime-connection (conn *host* *port*) |
|
24 |
- (swank-client:slime-eval |
|
25 |
- `(progn |
|
26 |
- (push ,(car asdf:*central-registry*) asdf:*central-registry*)) |
|
27 |
- conn)) |
|
29 |
+;(swank-client:with-slime-connection (conn *host* *port*) |
|
30 |
+; (swank-client:slime-eval |
|
31 |
+; `(progn |
|
32 |
+; (push ,(car asdf:*central-registry*) asdf:*central-registry*) |
|
33 |
+; (ql:quickload ,*project-name*)) |
|
34 |
+; conn)) |
|
28 | 35 |
|
29 | 36 |
; vim: set ft=lisp: |
... | ... |
@@ -1,6 +1,8 @@ |
1 | 1 |
#!/bin/zsh |
2 |
+ |
|
2 | 3 |
export PATH=$HOME/bin:$PATH |
3 |
-export LD_LIBRARY_PATH=/home/edwlan/gtk-git/inst/lib/:/home/edwlan/lib:$LD_LIBRARY_PATH |
|
4 |
+#export LD_LIBRARY_PATH=/home/edwlan/gtk-git/inst/lib/:/home/edwlan/lib:$LD_LIBRARY_PATH |
|
5 |
+export LD_LIBRARY_PATH=/home/edwlan/lib:$LD_LIBRARY_PATH |
|
4 | 6 |
#xrandr --output HDMI-0 --mode 1920x1200 --left-of VGA-0 |
5 | 7 |
#xrandr --output HDMI-0 --primary |
6 | 8 |
#xrandr --output VGA-0 --mode 1024x768 |
... | ... |
@@ -15,54 +17,62 @@ xmodmap $HOME/.xmodmap |
15 | 17 |
xsetroot -solid black |
16 | 18 |
xsetbg $HOME/.xmonad/cheatsheet.png |
17 | 19 |
if [ -e $HOME/Pictures/background.png ]; then |
18 |
- xloadimage -onroot -quiet $HOME/Pictures/background.png |
|
20 |
+ xloadimage -onroot -quiet $HOME/Pictures/background.png |
|
19 | 21 |
fi |
20 | 22 |
|
21 |
-conky -bd -a middle_left & |
|
23 |
+init () { |
|
24 |
+ #conky -bd -a middle_left & |
|
22 | 25 |
|
23 |
-xscreensaver -no-splash & |
|
26 |
+ xscreensaver -no-splash & |
|
24 | 27 |
|
25 | 28 |
|
26 |
-# Set up an icon tray |
|
27 |
-#trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --tint 0x000000 --height 17 & |
|
29 |
+ # Set up an icon tray |
|
30 |
+ #trayer --edge top --align right --SetDockType true --SetPartialStrut true --expand true --width 10 --transparent true --tint 0x000000 --height 17 & |
|
28 | 31 |
|
29 |
-#synergy |
|
30 |
-synergys |
|
32 |
+ #synergy |
|
33 |
+ #synergys |
|
31 | 34 |
|
32 |
-# notifications |
|
35 |
+ # notifications |
|
33 | 36 |
|
34 |
-dunst & |
|
37 |
+ dunst & |
|
35 | 38 |
|
36 |
-# dropbox |
|
39 |
+ # dropbox |
|
37 | 40 |
|
38 |
-dropbox start & |
|
39 |
-btsync |
|
41 |
+ dropbox start & |
|
42 |
+ btsync |
|
40 | 43 |
|
41 |
-# notes |
|
44 |
+ # notes |
|
42 | 45 |
|
43 |
-tomboy & |
|
46 |
+ tomboy & |
|
44 | 47 |
|
45 |
-# mixer |
|
48 |
+ # mixer |
|
46 | 49 |
|
47 |
-qasmixer -t & |
|
50 |
+ qasmixer -t & |
|
48 | 51 |
|
49 |
-# Fire up apps |
|
52 |
+ # Fire up apps |
|
50 | 53 |
|
54 |
+ SHAIRPORT=$HOME/github_repos/shairport/shairport |
|
55 |
+ if [[ -x $SHAIRPORT ]]; then |
|
56 |
+ $SHAIRPORT -a srv2 -o pulse -d | swap_variable SHAIRPORT_PID |
|
57 |
+ fi |
|
51 | 58 |
|
52 |
-$HOME/github_repos/shairport/shairport -a srv2 -o pulse -d | swap_variable SHAIRPORT_PID |
|
59 |
+ #sonata --hidden & |
|
53 | 60 |
|
54 |
-sonata --hidden & |
|
61 |
+ if [[ -x /usr/bin/nm-applet ]] ; then |
|
62 |
+ nm-applet --sm-disable & |
|
63 |
+ fi |
|
55 | 64 |
|
56 |
-if [[ -x /usr/bin/nm-applet ]] ; then |
|
57 |
- nm-applet --sm-disable & |
|
58 |
-fi |
|
65 |
+ gnome-settings-daemon & |
|
66 |
+ |
|
67 |
+} |
|
68 |
+ |
|
69 |
+( init ) & |
|
59 | 70 |
|
60 |
-gnome-settings-daemon & |
|
61 | 71 |
eval `gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh` |
62 | 72 |
export GNOME_KEYRING_CONTROL |
63 | 73 |
export SSH_AUTH_SOCK |
64 | 74 |
export GPG_AGENT_INFO |
65 | 75 |
export GNOME_KEYRING_PID |
66 | 76 |
|
67 |
-exec ssh-agent /home/edwlan/bin/stumpwm |
|
77 |
+exec /home/edwlan/bin/stumpwm |
|
68 | 78 |
#exec xmonad |