Commit Graph

15 Commits

Author SHA1 Message Date
Collin J. Doering 6e6c574abc Fix EDITOR environment variable issue for emacs
Have programs using the $EDITOR environment variable use emacsclient if
a daemon is running but otherwise fallback to plain emacs.

See: http://www.emacswiki.org/emacs/EmacsAsDaemon

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 05:12:44 -05:00
Collin J. Doering cff91a9110 Pass environment variables from shell to systemd
Instead of having the systemd user units in .config/systemd/user/ who's
programs require access to a environment variable to define them
explicitly using "Environment = 'VAR=value'". Instead from .bashrc and
.zshrc we can import all environment variables using "systemctl --user
import-environment" or import variables individually like so "systemctl
--user import-environment VAR_NAME".

Here I import (using the method above) both $PATH and $SMLNJ_HOME so
that they can be used by emacs (and maybe some other
program/systemd-user-unit I have forgotten).

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 05:12:43 -05:00
Collin J. Doering 0e970add95 Various (mostly self-documented) minor changes
Setup the following in .zshrc and bashrc:
 - update path putting paths with form ~/* before others to make them
   higher priority
 - setup gpg agent
 - disabled keychain

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 05:12:43 -05:00
Collin J. Doering 224f475a46 A variety of accumulated changes/fixes
Notable changes include:
  * .Xdefaults:
    - added comments
    - switched from url-select to url-picker (for urxvt)
  * .bashrc: added some alias' and changed PATH
  * .bin/vol.sh: *depreciated*
  * .bin/xmonadClose.sh: added experimental timed-action support
  * .config/dunst/dunstrc:
    - changed transparency to 15%
    - issue with getting "follow = v" to work; where v = mouse or keyboard
  * .config/systemd/user/emacs.service:
     - added a Environment property because it is required with a recent(ish?) update of systemd
  * .config/systemd/user/xbindkeys.service:
    - added Environment property
    - made ExecStart more specific
  * .conkerorrc:
    - added support for magnet urls
    - added firebug-lite support
  * .emacs:
    - disabled tabs
    - enabled column-number-mode
  * .ghci: added ghci config file
  * .gnus: Many changes to make gnus more usable as a email client (multiple
email support)
  * .mpdconf: added password for admin and control access
  * .ncmpcpp/config: use new mpd password
  * .screenrc: use weechat in place of irssi
  * .xbindkeysrc:
    - use new mpd password
    - pulseaudio_ctl merged with pulseaudio-ctl in AUR. Now using the new version *BROKEN*
  * .xinitrc: running "systemd --user" is depreciated (automatically run by logind)
  * .xmobarrc: use DynNetwork in place of Network
  * .xmonad/xmonad.hs: code clean-up
  * .zshrc:
    - added new function 'disable_unit_run' which can be used to run a program temporarily
      disabling a systemd user unit file
    - added alias'
    - changed PATH
2015-01-14 05:12:43 -05:00
Collin J. Doering e3fb51fd6e Did a variety of changes documented by file below;
Key changes include:
  * finally have multiple smtp accounts working with gnu/emacs!
  * using dunst (a notification-daemon)
  * fixes to mpd's service files mpd.{service,socket} to allow for socket
    activation via dbus/systemd

.authinfo.gpg:
  * now holds the information for all my email accounts
.bashrc:
  * set LANG and LC_MESSAGE variables
.bin/xmonadClose.sh:
  * added support for restart which was missed but trivial to implement
.config/dunst/dunstrc:
  * slightly modified version of skeletal dunstrc provided by the dunst package
.config/mc/ini:
  * automatic changes made by mc
.config/mc/panels.ini:
  * deleted; no need to keep this in the git repo since it is modified automatically
    by mc to save the panel's state/s
.config/systemd/user/dunst.service:
  * a service file to manage dunst - a customizable and lightweight notification-daemon
.config/systemd/user/mpd.service:
  * now uses socket activation to allow mpd to be used over the network (via mpd.socket)
.config/systemd/user/mpd.socket:
  * a socket file denoting what port/s to open when mpd.service is run
.emacs:
  * disable pastebin extension because pastebin is a insane and the api has changed
  * set the mail function to smtpmain-send-it
.emacs.d/themes/manoj-transparent-theme.el:
  * fixed minor error caused by using "nill" in place of nil
  * change the marked text background color from blue to gray19
.gitconfig:
  * set default name
  * set some fancy colors
.gnus:
  * finally now supports multiple smtp accounts!
  * some minor cleanup
  * disabled gnus daemon until i spend some time looking into its uses
.local/share/mc/skins/gotar-mod.ini:
  * set the background of the currently selected file to gray in place of
    default (transparent) so that in transparent terminals the currently selected
    file is noticeably highlighted
.mpdconf:
  * no real changes; comments
.ncmpcpp/config:
  * added support for notification using notify-send (libnotify and dunst)
.screenrc:
  * set 256 bit color for urxvt
.xinitrc:
  * set GENERAL_SCREEN instead of exporting it
  * shrink the case expression responsible for determining which wm to launch
.xmonad/xmonad.hs:
  * doMaxFloat pavucontrol instead of doFullFloat
.zshrc:
  * set LANG and LC_MESSAGE variables
  * added support to temporarily disable unclutter when running a command
  * now the alias 'qemu' disables unclutter before running qemu with kvm enabled
  * TODO: find commonalities between .bashrc and .zshrc and create a second shell
    	  script that does the common tasks; then the new shell script can be
	  sourced from either .bashrc or .zshrc

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 05:12:43 -05:00
Collin J. Doering 0d9ac35254 Minor changes across a few config files and a revamp of mc
.bashrc:
.zshrc:
  * added some new alias'
.config/luakit/:
  * started keeping track of a luakit config as a backup browser to conkeror
  * currently this is just the defaults
.config/mc/:
  * updated the config files for mc (from skel /etc/mc)
  * below are the files that have been modified in some way; all others are exactly from skel
  mc.keymap:
    * emacs mc keymap (from skel /etc/mc/mc.keymap.emacs)
  mc.ext:
    * replaced 'bindings'
    * ported over support for many programming languages from old 'bindings' file
    * enabled 'emacsclient -nw' as default editor
.conkerorrc:
  * enable spell checking (not enabled by default)
.emacs:
  * cleaned up file a little and denoted a few more TODO's at the head of the file
  * enabled python-mode and ipython-mode (ELPA)
  * enabled geiser (ELPA)
  * enabled sml-mode (ELPA)
  * enabled quack (ELPA)

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2015-01-14 05:12:43 -05:00
Collin J. Doering 28602aa7ed Some major revisions as i have recently replaced my desktop. Namely:
* switched to systemd for user level daemons and startup programs originally run from .xinitrc
 * beefed up the logout menu implemented by .bin/xmonadClose.sh to support pretty well all
   windows-managers (with some minor modification) and now with support for suspend and hibernate

.Xdefaults:
  * did a little rearrangement to make things pretty
  * added the clipboard extension
.authinfo.gpg:
.authinfo-cd.gpg:
  * encrypted authinfo files for gnus (emacs)
.bash_profile:
  * now checks if ~/.bashrc is a file and then executes it instead of just assuming
.bashrc:
  * added a few new aliases
  * modified path to include ~/.bin
.bin/xmonadClose.sh:
  * now supports pretty well any window manager with minor modification (just edit the
    actionNames and actionExecs arrays respective elements)
  * now brings up a dmenu options menu to select one of cancel, logout, suspend, hybrid-sleep,
    hibernate, or shutdown
  * uses xdotool to send a hidden 'kill switch' to xmonad upon 'logout'
  * uses systemctl to suspend, hybrid-sleep and hibernate
  * uses the classic shutdown command for shutdown
.config/mc/:
  * moved the config files from .mc
.config/systemd/user/:
  * all user instance systemd service files go here

  default.target.wants/:
   * contains a symbolic link to all the currently enabled service files

  emacs.service:
   * starts the emacs daemon
  mpd.service:
   * starts a user level instance of mpd using the config ~/.mpdconf
  udiskie.service:
   * starts udiskie (a user level daemon for automounted media using udisk)
  urxvtd.service:
   * starts the urxvt daemon
  unclutter.service:
   * starts the uncluttered program
  trayer.service:
   * starts trayer using the options:
      --monitor 1 --edge top --align right --expand true --width 4 --height 2 --transparent true --tint 0x000000
  xbindkeys.service:
   * starts xbindkeys
  xcompmgr.service:
   * starts xcompmgr
  xscreensaver.service:
   * starts xscreensaver
.emacs:
  * added support for magit
  * added support for ipython
  * dropped in ELPA version of swank-clojure in place of the AUR version
  * preparing to use babel (part of org more for use with code)
  * upgraded yas to the most recent version from ELPA; need to smooth out some minor issues
  * python-mode is currently commented out in config but working; dropped in ELPA version in
    place of the AUR version i had previous
  * disabled gieser (in the process of dropping in the ELPA version..just ran into some hitch)
  * add a template for ruby to .emacs.d/templates
.mpdconf:
  * user instance mpd config
.screenrc:
  * re-enabled ncmpcpp in place of cmus as i'm using mpd now
  * disable mc in screen because it doesn't start correctly; mc is available through my xmonad
    scratchpad "mc"
.vimrc:
  * enabled syntax highlighting
.xbindkeysrc:
  * switched music keybindings from cmus-remote commands to there respective mpc commands
  * switched www key to conkeror in place of firefox
.xinitrc:
  * use systemd --user to run a user instance of systemd to run startup programs generally
    run from this script. The programs i have written unit files are specified above and left
    as comments in this file.
.xmobarrc:
  * my ethernet interface is now called 'eno1' not 'eth0'
  * TODO: need to setup wireless status xmobar widget for 'wlp7s0'
.xmonad/xmonad.hs:
  * added keybinding for auto-umounting any disk auto-mounted by udiskie (Mod+shift+control u)
  * now using new .bin/xmonadClose.sh to kill session in a few different ways (Mod+shift q)
  * added a keybinding to toggle the status bar (xmobar) using (Mod b)
  * added better support for some full screen games: supertux2, doom3, steam and hl2
  * set opacity on all emacs and gvim windows to 13/16 (btw this is done for urxvt using a
    property in .Xdefaults
.xscreensaver:
  * an auto-generated file by xscreensaver-demo; may consider removing in the future as it can
    always be auto-generated but its nice to have all my screensavers saved and ready
.xsession:
  * not currently using since i use slim but here for compatibility with gdm,kdm and other de's
.zshrc:
  * some auto-generated changes thanks to compinstall
  * added a few new aliases
  * modified path to include ~/.bin

Signed-off-by: Collin Doering <rekahsoft@gmail.com>
2015-01-14 05:12:43 -05:00
Collin J. Doering bd0592baac Various day-to-day changes made summarized as follows:
.conkerorrc:
   * added better support for mime-type handling (pdf, ps, torrent, ...)
.emacs:
   * added PKGBUILD mode
   * disabled hs-org/minor-mode because of it not playing well with auto-complete-mode and flyspell
   * disabled yasnippet for the time being (look into auto-complete-mode and flyspell issues)
   * disabled elget (not functioning plus there is the ELPA so whats the point?)
.gnus:
   * set default account to rekahsoft@gmail.com (previously was only able to send through collin.doering (SMTP) and recieve mail through rekahsoft (IMAP))
   * using encrypted autoinfo files now
   * TODO: get multiple IMAP/SMTP accounts working
.screenrc:
   * disabled ncmpcpp screen (no longer using mpd sadly due to pulseaudio issues
   * disabled nvlc screen
.xinitrc:
   * disabled trayer (no apps use it so whats the point) (still need to modify .xmobar to leave no gap on the right side of the screen)
.xmonad/xmonad.hs:
   * beginning utilization of a few new modules from XMonad.Contrib including:
     - XMonad.Layout.Tabbed
     - XMonad.Layout.Sublayouts
     - XMonad.Layout.WindowNavigation
     - XMonad.Layout.BoringWindows
   Note: many of the added extensions above are not being used; just being prepared to be integrated into the environment (commented out)
         a few other extensions are being considered as well including: CycleWS, XMonad.Actions.TopicSpace and DynamicWorkspaces
   * disabled transmission-gtk scratchpad in preference of transmission-remote cli
.zshrc:
   * new tab completion generated by compinstall (much nicer then previous)

Signed-off-by: Collin Doering <rekahsoft@gmail.com>
2015-01-14 05:12:42 -05:00
Collin J. Doering 0b231dbbcc Various changes made, many in providing a more continuous LAF.
.Xdefaults:
  * added a key/val pair to set emacs font to terminus 12 point
  * did some rearranging..
.zshrc: (same as .bashrc)
.bashrc:
  * added a alias to transmission-remote as it is now my primary torrent client
  * added ~/.cabal/bin to #PATH
.conkerorrc:
  * set default homepage to duckduckgo
.emacs:
  * set emacs font to terminus 12 point in the pursuit of a consistent UI
  * disabled pretty lambdas; neeeds to be re-enabled seeing as the issue noted
    in emacs24 was unrelated and solved by setting the font (both in ~/.emacs
    and ~/.Xdefaults. Though pretty lambdas can only be used for lisp-like languages.
  * added clojure-mode-hook to the list of mode-hooks called 'code-modes'
  * noticed paredit's binding C-j interfered with eval-print-last-sexp in the scratch buffer.
    To rectify this added a global binding. Need to make this a local binding *TODO*
  * set eshell-visual-commands to a list of commands for  eshell to execute in a ansi term
  * created a eshell/ff function for looking up files using eshell's build in globbing. Issue
    is that it does not take into consideration relative paths *TODO*
.screenrc: changed default binding prefix C-a to C-t
.xmobarrc: added modules Weather, Uptime and Swap
.xmonad/xmonad.hs:
  * added the WindowBringer module
  * made dmenu fit more naturally into the UI theme
  * added toggle dullscreen support (Mod+Control+Space)

Signed-off-by: Collin Doering <rekahsoft@gmail.com>
2015-01-14 05:12:42 -05:00
Collin J. Doering ea52337f5b Added syntax-highlighting to less output using source-highlight (in both .bashrc and .zshrc)
Cleaned up comments in .bashrc and .zshrc
Added file .ghci for use of ghci; all it does currently is change the prompt
MC automatic made changes to .mc/ini
Re-added .pentadactylrc..for some reason i removed it..i still use firefox + pentadactyl as my backup browser (second to conkeror)
Added quiet a few new features to .stumpwmrc including:
  * use of swank (so i can connect to the stumpwm lisp process using slime (M-x slime-connect) port 5005
  * some nice keybindings to make life easier..
Changed the border width used by xmonad as well as added the use of GridView (.xmonad/xmonad.hs)

Signed-off-by: Collin Doering <rekahsoft@gmail.com>
2015-01-14 05:12:42 -05:00
Collin J. Doering bd34674049 Did a variety of small fixes including:
* fixed a typo in .emacs relating to the haskell template used
  * automatic work done on .mc/ini by mc it self
  * added nvlc to the list of programs to run in screen
  * added a new alias "skreen" = "screen -c /dev/null" to both .bashrc and .zshrc
  * changed both .xinitrc and .xmonad/xmonad.hs to support urxvt daemon/client shared terminal

Signed-off-by: Collin Doering <rekahsoft@gmail.com>
2015-01-14 05:12:42 -05:00
Collin J. Doering 39713cf97a Modified emacs init so slime doesn't auto-start when a *.lips file is opened
Added an alias kgit (maybe will rename to kit) that knocks into rekahsoft to open
a ssg connection to do got remote stuff
2015-01-14 05:12:42 -05:00
Collin J. Doering ea4bbc3385 Did some minor changes to .xinitrc making trayer sized more aligned with xmobars
Added clojure support to emacs (requires aur/emacs-clojure-mode-git, clojure, aur/clojure-contrib-git, aur/swank-clojure-git, maven)
Added path for maven (required for building clojure-contrib-git from the aur)

Starting to refine use of git..Now have seperate projects for each system and a generic git tree to start from
2015-01-14 05:12:42 -05:00
Collin J. Doering 29d14f09f8 Random changes specific to desktop
Main changes are just some alias' to easily access rekahsoft-mini thorugh port-knocking + ssh
As well as a xbindkeys configuration setup for most generic keyboards and the HHKB2
2015-01-14 05:11:51 -05:00
Collin J. Doering fd9702a05e Initial commit for config project.
The main goal is to keep a generic git project that can be modified locally on a per user/host basis
and then backuped using git clone and kept to date with git pull/fetch (on a per user/host basis with possible generic additions and upgrades
gooing into the public git repo (still setting up the url) and the gitweb is here: http://rekahsoft.homelinux.org/gitweb
2011-06-03 13:44:54 -04:00