From 081cb5a1365504082165d4b3f14df2c418f551d4 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 27 Dec 2013 15:36:23 -0200 Subject: Removing profile to convert it to a submodule --- modules/profile/Xresources.dot.link | 7 - modules/profile/aliases.dot.link | 18 -- modules/profile/bash_logout.dot.link | 7 - modules/profile/bashrc.dot.link | 6 - modules/profile/config.dot/user-dirs.dirs.link | 15 - modules/profile/config.dot/user-dirs.locale.link | 1 - modules/profile/dircolorsrc.dot.link | 194 ------------- modules/profile/dmrc.dot.link | 2 - modules/profile/geometry.dot.link | 11 - modules/profile/inputrc.dot.link | 1 - .../share/applications/mimeapps.list.link | 6 - modules/profile/profile.dot.link | 93 ------ modules/profile/screenrc.dot.link | 156 ---------- modules/profile/terminal.dot.link | 30 -- modules/profile/terminfo.dot/s/screen-bce.link | 1 - modules/profile/xinitrc.dot.link | 10 - modules/profile/xprofile.dot.link | 10 - modules/profile/xscreensaver.dot.link | 318 --------------------- modules/profile/xsession.dot.link | 79 ----- modules/profile/zshrc.dot.link | 40 --- 20 files changed, 1005 deletions(-) delete mode 100644 modules/profile/Xresources.dot.link delete mode 100644 modules/profile/aliases.dot.link delete mode 100644 modules/profile/bash_logout.dot.link delete mode 100644 modules/profile/bashrc.dot.link delete mode 100644 modules/profile/config.dot/user-dirs.dirs.link delete mode 100644 modules/profile/config.dot/user-dirs.locale.link delete mode 100644 modules/profile/dircolorsrc.dot.link delete mode 100644 modules/profile/dmrc.dot.link delete mode 100644 modules/profile/geometry.dot.link delete mode 100644 modules/profile/inputrc.dot.link delete mode 100644 modules/profile/local.dot/share/applications/mimeapps.list.link delete mode 100644 modules/profile/profile.dot.link delete mode 100644 modules/profile/screenrc.dot.link delete mode 100644 modules/profile/terminal.dot.link delete mode 120000 modules/profile/terminfo.dot/s/screen-bce.link delete mode 100644 modules/profile/xinitrc.dot.link delete mode 100644 modules/profile/xprofile.dot.link delete mode 100644 modules/profile/xscreensaver.dot.link delete mode 100755 modules/profile/xsession.dot.link delete mode 100644 modules/profile/zshrc.dot.link diff --git a/modules/profile/Xresources.dot.link b/modules/profile/Xresources.dot.link deleted file mode 100644 index 54f7a0f..0000000 --- a/modules/profile/Xresources.dot.link +++ /dev/null @@ -1,7 +0,0 @@ -XTerm*metaSendsEscape: true -URxvt*searchable-scrollback: M-S - -! The string will be interpreted as if typed into the shell as-is. -! In this example, printing will be disabled altogether. -! See https://wiki.gentoo.org/wiki/Rxvt-unicode#Printing -URxvt.print-pipe: "cat > /dev/null" diff --git a/modules/profile/aliases.dot.link b/modules/profile/aliases.dot.link deleted file mode 100644 index b01fcf0..0000000 --- a/modules/profile/aliases.dot.link +++ /dev/null @@ -1,18 +0,0 @@ -# Generic aliases -alias ls="ls --color=auto" -alias ll="ls --color=auto -lh" -alias grep="grep --color=auto" -alias kedpmc="kedpm -c" -alias gvim="vim.gtk -g &> /dev/null" -alias news="newsbeuter #; newsbeuter -X" -alias music="ncmpcpp" -alias mkdir="mkdir -p" -alias today="date +%Y%m%d" -alias month="date +%Y%m" - -# Editor, avoiding "Avoiding protocol specified" error -alias vim="vim -X" -alias vi="vim -X" - -# Development -alias dquilt="quilt --quiltrc=${HOME}/.quiltrc-dpkg" diff --git a/modules/profile/bash_logout.dot.link b/modules/profile/bash_logout.dot.link deleted file mode 100644 index de4f5f7..0000000 --- a/modules/profile/bash_logout.dot.link +++ /dev/null @@ -1,7 +0,0 @@ -# ~/.bash_logout: executed by bash(1) when login shell exits. - -# when leaving the console clear the screen to increase privacy - -if [ "$SHLVL" = 1 ]; then - [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q -fi diff --git a/modules/profile/bashrc.dot.link b/modules/profile/bashrc.dot.link deleted file mode 100644 index 2c8814c..0000000 --- a/modules/profile/bashrc.dot.link +++ /dev/null @@ -1,6 +0,0 @@ -# -# Bash rc file -# - -# Load the profile -source $HOME/.profile diff --git a/modules/profile/config.dot/user-dirs.dirs.link b/modules/profile/config.dot/user-dirs.dirs.link deleted file mode 100644 index 5ab607e..0000000 --- a/modules/profile/config.dot/user-dirs.dirs.link +++ /dev/null @@ -1,15 +0,0 @@ -# This file is written by xdg-user-dirs-update -# If you want to change or add directories, just edit the line you're -# interested in. All local changes will be retained on the next run -# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped -# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an -# absolute path. No other format is supported. -# -XDG_DESKTOP_DIR="$HOME/" -XDG_DOWNLOAD_DIR="$HOME/load" -XDG_TEMPLATES_DIR="$HOME/file/templates" -XDG_PUBLICSHARE_DIR="$HOME/file/public" -XDG_DOCUMENTS_DIR="$HOME/file" -XDG_MUSIC_DIR="$HOME/data/noise" -XDG_PICTURES_DIR="$HOME/data/images" -XDG_VIDEOS_DIR="$HOME/data/video" diff --git a/modules/profile/config.dot/user-dirs.locale.link b/modules/profile/config.dot/user-dirs.locale.link deleted file mode 100644 index da462d3..0000000 --- a/modules/profile/config.dot/user-dirs.locale.link +++ /dev/null @@ -1 +0,0 @@ -pt_BR \ No newline at end of file diff --git a/modules/profile/dircolorsrc.dot.link b/modules/profile/dircolorsrc.dot.link deleted file mode 100644 index e55b70c..0000000 --- a/modules/profile/dircolorsrc.dot.link +++ /dev/null @@ -1,194 +0,0 @@ -# Configuration file for dircolors, a utility to help you set the -# LS_COLORS environment variable used by GNU ls with the --color option. -# Copyright (C) 1996, 1999-2010 Free Software Foundation, Inc. -# Copying and distribution of this file, with or without modification, -# are permitted provided the copyright notice and this notice are preserved. -# The keywords COLOR, OPTIONS, and EIGHTBIT (honored by the -# slackware version of dircolors) are recognized but ignored. -# Below, there should be one TERM entry for each termtype that is colorizable -TERM Eterm -TERM ansi -TERM color-xterm -TERM con132x25 -TERM con132x30 -TERM con132x43 -TERM con132x60 -TERM con80x25 -TERM con80x28 -TERM con80x30 -TERM con80x43 -TERM con80x50 -TERM con80x60 -TERM cons25 -TERM console -TERM cygwin -TERM dtterm -TERM eterm-color -TERM gnome -TERM gnome-256color -TERM jfbterm -TERM konsole -TERM kterm -TERM linux -TERM linux-c -TERM mach-color -TERM mlterm -TERM putty -TERM rxvt -TERM rxvt-256color -TERM rxvt-cygwin -TERM rxvt-cygwin-native -TERM rxvt-unicode -TERM rxvt-unicode256 -TERM screen -TERM screen-256color -TERM screen-256color-bce -TERM screen-bce -TERM screen-w -TERM screen.linux -TERM vt100 -TERM xterm -TERM xterm-16color -TERM xterm-256color -TERM xterm-88color -TERM xterm-color -TERM xterm-debian -# Below are the color init strings for the basic file types. A color init -# string consists of one or more of the following numeric codes: -# Attribute codes: -# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed -# Text color codes: -# 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white -# Background color codes: -# 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white -#NORMAL 00 # no color code at all -#FILE 00 # regular file: use no color at all -RESET 0 # reset to "normal" color -DIR 01;37 # directory -LINK 01;36 # symbolic link. (If you set this to 'target' instead of a - # numerical value, the color is as for the file pointed to.) -MULTIHARDLINK 00 # regular file with more than one link -FIFO 40;33 # pipe -SOCK 01;35 # socket -DOOR 01;35 # door -BLK 40;33;01 # block device driver -CHR 40;33;01 # character device driver -ORPHAN 40;31;01 # symlink to nonexistent file, or non-stat'able file -SETUID 37;41 # file that is setuid (u+s) -SETGID 30;43 # file that is setgid (g+s) -CAPABILITY 30;41 # file with capability -STICKY_OTHER_WRITABLE 30;42 # dir that is sticky and other-writable (+t,o+w) -OTHER_WRITABLE 34;42 # dir that is other-writable (o+w) and not sticky -STICKY 37;44 # dir with the sticky bit set (+t) and not other-writable -# This is for files with execute permission: -EXEC 01;32 -# List any file extensions like '.gz' or '.tar' that you would like ls -# to colorize below. Put the extension, a space, and the color init string. -# (and any comments you want to add after a '#') -# If you use DOS-style suffixes, you may want to uncomment the following: -#.cmd 01;32 # executables (bright green) -#.exe 01;32 -#.com 01;32 -#.btm 01;32 -#.bat 01;32 -# Or if you want to colorize scripts even if they do not have the -# executable bit actually set. -#.sh 01;32 -#.csh 01;32 - # archives or compressed (bright red) -.tar 01;31 -.tgz 01;31 -.arj 01;31 -.taz 01;31 -.lzh 01;31 -.lzma 01;31 -.tlz 01;31 -.txz 01;31 -.zip 01;31 -.z 01;31 -.Z 01;31 -.dz 01;31 -.gz 01;31 -.lz 01;31 -.xz 01;31 -.bz2 01;31 -.bz 01;31 -.tbz 01;31 -.tbz2 01;31 -.tz 01;31 -.deb 01;31 -.rpm 01;31 -.jar 01;31 -.rar 01;31 -.ace 01;31 -.zoo 01;31 -.cpio 01;31 -.7z 01;31 -.rz 01;31 -# image formats -.jpg 01;35 -.jpeg 01;35 -.gif 01;35 -.bmp 01;35 -.pbm 01;35 -.pgm 01;35 -.ppm 01;35 -.tga 01;35 -.xbm 01;35 -.xpm 01;35 -.tif 01;35 -.tiff 01;35 -.png 01;35 -.svg 01;35 -.svgz 01;35 -.mng 01;35 -.pcx 01;35 -.mov 01;35 -.mpg 01;35 -.mpeg 01;35 -.m2v 01;35 -.mkv 01;35 -.ogm 01;35 -.mp4 01;35 -.m4v 01;35 -.mp4v 01;35 -.vob 01;35 -.qt 01;35 -.nuv 01;35 -.wmv 01;35 -.asf 01;35 -.rm 01;35 -.rmvb 01;35 -.flc 01;35 -.avi 01;35 -.fli 01;35 -.flv 01;35 -.gl 01;35 -.dl 01;35 -.xcf 01;35 -.xwd 01;35 -.yuv 01;35 -.cgm 01;35 -.emf 01;35 -# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions -.axv 01;35 -.anx 01;35 -.ogv 01;35 -.ogx 01;35 -# audio formats -.aac 00;36 -.au 00;36 -.flac 00;36 -.mid 00;36 -.midi 00;36 -.mka 00;36 -.mp3 00;36 -.mpc 00;36 -.ogg 00;36 -.ra 00;36 -.wav 00;36 -# http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions -.axa 00;36 -.oga 00;36 -.spx 00;36 -.xspf 00;36 diff --git a/modules/profile/dmrc.dot.link b/modules/profile/dmrc.dot.link deleted file mode 100644 index 52e0f96..0000000 --- a/modules/profile/dmrc.dot.link +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop] -Session=awesome diff --git a/modules/profile/geometry.dot.link b/modules/profile/geometry.dot.link deleted file mode 100644 index 7657e8d..0000000 --- a/modules/profile/geometry.dot.link +++ /dev/null @@ -1,11 +0,0 @@ -# -# Terminal geometry file configuration. -# - -TERM="rxvt" -FONT="-*-terminus-*-*-*-*-18-*-*-*-*-*-*-*" - -# Load custom configuration -if [ -e "$HOME/.custom/geometry" ]; then - source $HOME/.custom/geometry -fi diff --git a/modules/profile/inputrc.dot.link b/modules/profile/inputrc.dot.link deleted file mode 100644 index ac81a39..0000000 --- a/modules/profile/inputrc.dot.link +++ /dev/null @@ -1 +0,0 @@ -set bell-style none diff --git a/modules/profile/local.dot/share/applications/mimeapps.list.link b/modules/profile/local.dot/share/applications/mimeapps.list.link deleted file mode 100644 index 9d22a7f..0000000 --- a/modules/profile/local.dot/share/applications/mimeapps.list.link +++ /dev/null @@ -1,6 +0,0 @@ -[Default Applications] -inode/symlink=gvim.desktop -text/plain=gvim.desktop; - -[Added Associations] -inode/symlink=gvim.desktop; diff --git a/modules/profile/profile.dot.link b/modules/profile/profile.dot.link deleted file mode 100644 index cad7fd1..0000000 --- a/modules/profile/profile.dot.link +++ /dev/null @@ -1,93 +0,0 @@ -# -# .profile: basic environment setup -# - -# Set language -export LANG=pt_BR.UTF-8 - -# Source functions and variables from other places -if [ -e "$HOME/.aliases" ]; then - . $HOME/.aliases -fi - -# Funcoes ZZ -#if [ -e "/usr/bin/funcoeszz" ]; then -# . /usr/bin/funcoeszz -#fi - -# Set PATH -PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin -export PATH=$PATH:$HOME/apps/metadot:$HOME/apps/scripts:$HOME/apps/brweather/brweather - -# See http://www.caliban.org/bash/#bashtips -export CDPATH=".:~:~/code:~/data:~/file:/var/www/data" - -# Editor variables, avoiding "Avoiding protocol specified" error -export EDITOR="vim -X" - -# Basic git configuration -# See http://stackoverflow.com/questions/4192014/git-ps1-extremely-slow-in-kernel-tree -export GIT_PS1_SHOWDIRTYSTATE="" -export GIT_PS1_SHOWUNTRACKEDFILES="" - -# Temporary folder -export TMPDIR="$HOME/temp/misc" -export TMP="$HOME/temp/misc" -mkdir -p $TMP - -# Dir colors -eval "`dircolors -b ~/.dircolorsrc`" - -# SSH and GPG Agents -if [ -e "$HOME/.ssh/id_rsa" ]; then - mkdir -p $HOME/.keychain - /usr/bin/keychain -q $HOME/.ssh/id_rsa - - if [ -e "$HOME/.keychain/$HOSTNAME-sh" ]; then - source $HOME/.keychain/$HOSTNAME-sh - fi - - if [ -e "$HOME/.keychain/$HOSTNAME-sh-gpg" ]; then - source $HOME/.keychain/$HOSTNAME-sh-gpg - fi - - #if [ -e "$HOME/apps/scripts/ssh-agent-eval" ]; then - # $HOME/apps/scripts/ssh-agent-eval - #fi -fi - -# GPG Agent -#if [ -e "$HOME/apps/scripts/gpg-agent-eval" ]; then -# $HOME/apps/scripts/gpg-agent-eval -#fi - -# Remove lost found folder if empty -if [ -d "$HOME/lost+found" ]; then - rmdir $HOME/lost+found &> /dev/null -fi - -# Make sure basic folder structure exists -mkdir -p $HOME/apps $HOME/file $HOME/html $HOME/mail $HOME/temp - -# Make sure data symlink exists -if [ -e "/var/data" ] && [ ! -e "$HOME/data" ]; then - ln -s /var/data $HOME/data -fi - -# Make sure code symlink exists -if [ -e "/var/data/code" ] && [ ! -e "$HOME/code" ]; then - ln -s /var/data/code $HOME/code -fi - -# Make sure download symlink exists -if [ -e "/var/data/load" ] && [ ! -e "$HOME/load" ]; then - ln -s /var/data/load $HOME/load -fi - -# Custom configuration -if [ -e "$HOME/.custom/profile" ]; then - . $HOME/.custom/profile -fi - -# Make sure we start at home -cd diff --git a/modules/profile/screenrc.dot.link b/modules/profile/screenrc.dot.link deleted file mode 100644 index 26c9e81..0000000 --- a/modules/profile/screenrc.dot.link +++ /dev/null @@ -1,156 +0,0 @@ -# -# Example of a user's .screenrc file -# - -# This is how one can set a reattach password: -# password ODSJQf.4IJN7E # "1234" - -# no annoying audible bell, please -vbell on - -# detach on hangup -autodetach on - -# don't display the copyright page -startup_message off - -# emulate .logout message -pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." - -# advertise hardstatus support to $TERMCAP -# termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\' - -# make the shell in every window a login shell -#shell -$SHELL - -# autoaka testing -# shellaka '> |tcsh' -# shellaka '$ |sh' - -# set every new windows hardstatus line to somenthing descriptive -# defhstatus "screen: ^En (^Et)" - -defscrollback 1000 - -# don't kill window after the process died -# zombie "^[" - -################ -# -# xterm tweaks -# - -#xterm understands both im/ic and doesn't have a status line. -#Note: Do not specify im and ic in the real termcap/info file as -#some programs (e.g. vi) will not work anymore. -termcap xterm hs@:cs=\E[%i%d;%dr:im=\E[4h:ei=\E[4l -terminfo xterm hs@:cs=\E[%i%p1%d;%p2%dr:im=\E[4h:ei=\E[4l - -#80/132 column switching must be enabled for ^AW to work -#change init sequence to not switch width -termcapinfo xterm Z0=\E[?3h:Z1=\E[?3l:is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l - -# Make the output buffer large for (fast) xterms. -termcapinfo xterm* OL=10000 - -# tell screen that xterm can switch to dark background and has function -# keys. -termcapinfo xterm 'VR=\E[?5h:VN=\E[?5l' -termcapinfo xterm 'k1=\E[11~:k2=\E[12~:k3=\E[13~:k4=\E[14~' -termcapinfo xterm 'kh=\E[1~:kI=\E[2~:kD=\E[3~:kH=\E[4~:kP=\E[H:kN=\E[6~' - -# special xterm hardstatus: use the window title. -termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' - -#terminfo xterm 'vb=\E[?5h$<200/>\E[?5l' -termcapinfo xterm 'vi=\E[?25l:ve=\E[34h\E[?25h:vs=\E[34l' - -# emulate part of the 'K' charset -termcapinfo xterm 'XC=K%,%\E(B,[\304,\\\\\326,]\334,{\344,|\366,}\374,~\337' - -# xterm-52 tweaks: -# - uses background color for delete operations -termcapinfo xterm ut - -################ -# -# wyse terminals -# - -#wyse-75-42 must have flow control (xo = "terminal uses xon/xoff") -#essential to have it here, as this is a slow terminal. -termcapinfo wy75-42 xo:hs@ - -# New termcap sequences for cursor application mode. -termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J - -################ -# -# other terminals -# - -#make hp700 termcap/info better -termcapinfo hp700 'Z0=\E[?3h:Z1=\E[?3l:hs:ts=\E[62"p\E[0$~\E[2$~\E[1$}:fs=\E[0}\E[61"p:ds=\E[62"p\E[1$~\E[61"p:ic@' - -# Extend the vt100 description by some sequences. -termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC -terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC - - -################ -# -# keybindings -# - -#remove some stupid / dangerous key bindings -bind k -bind ^k -bind . -bind ^\ -bind \\ -bind ^h -bind h -#make them better -bind 'K' kill -bind 'I' login on -bind 'O' login off -bind '}' history -# See http://www.forwardyouth.com/ubuntu/10-tips-for-using-gnu-screen-to-improve-productivity/ -bind s - -# Yet another hack: -# Prepend/append register [/] to the paste if ^a^] is pressed. -# This lets me have autoindent mode in vi. -register [ "\033:se noai\015a" -register ] "\033:se ai\015a" -bind ^] paste [.] - -################ -# -# default windows -# - -# screen -t local 0 -# screen -t mail 1 elm -# screen -t 40 2 rlogin faui40 -# screen -M -t wyrd 0 wyrd -# screen -t irssi 0 irssi -screen -t mutt 0 mutt -screen -t wyrd 1 wyrd -screen -t news 2 newsbeuter -screen 3 -select 0 - -# caption always "%3n %t%? @%u%?%? [%h]%?" -# hardstatus alwaysignore -# hardstatus alwayslastline "%w" - -# Green text, time, and date; windows in blue: -hardstatus alwayslastline "%{=b}%{G} Screen(s): %{c}%w %=%{kG}%C%A %D, %M/%d/%Y " - -# https://forums.gentoo.org/viewtopic-t-399120-start-0.html -# http://www.mail-archive.com/mutt-users@mutt.org/msg29525.html -# https://lists.gnu.org/archive/html/screen-users/2010-12/msg00000.html -# http://wiki.mutt.org/?MuttFaq/Appearance -# http://old.nabble.com/Mutt-status-lines-under-GNU-screen-td26927395.html -#defbce on diff --git a/modules/profile/terminal.dot.link b/modules/profile/terminal.dot.link deleted file mode 100644 index ada0ceb..0000000 --- a/modules/profile/terminal.dot.link +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash -# -# .terminal: sets default behaviour for a X11 console -# - -# Load ANSI Art -#cat $HOME/themes/ans/slack.ans - -# Make sure to load the profile -source $HOME/.profile - -# Default window title -TITLE="terminal" - -# Set window title, standard version -#trap 'echo -ne "\e]0;terminal: ${TITLE:-$BASH_COMMAND}\007"' DEBUG -#trap 'xtitle ${TITLE:-$BASH_COMMAND}' DEBUG - -# Set window title, special version -# -# In the standard version, $_ stops to keep the parameter of the last command. -# The sollution is to save the value of $_ and issue a pointless command with -# it after changing the title so $_ retain it's intended value. -# -#trap 'last="$_" ; echo -ne "\e]0;terminal: ${TITLE:-$BASH_COMMAND}\007"; true $last' DEBUG -#trap 'last="$_" ; xtitle ${TITLE:-$BASH_COMMAND}; true $last' DEBUG -trap '_last="$_" ; _command=${BASH_COMMAND#command_prompt} ; xtitle ${_command:-$TITLE}; true $_last' DEBUG - -# Fortune :) -#fortune diff --git a/modules/profile/terminfo.dot/s/screen-bce.link b/modules/profile/terminfo.dot/s/screen-bce.link deleted file mode 120000 index cff266a..0000000 --- a/modules/profile/terminfo.dot/s/screen-bce.link +++ /dev/null @@ -1 +0,0 @@ -/lib/terminfo/s/screen-bce \ No newline at end of file diff --git a/modules/profile/xinitrc.dot.link b/modules/profile/xinitrc.dot.link deleted file mode 100644 index dacd106..0000000 --- a/modules/profile/xinitrc.dot.link +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# -# .xinitrc: set basic X11 environment for non-X11 runlevel -# - -# Load .xprofile -source $HOME/.xprofile & - -# Run window manager -#awesome diff --git a/modules/profile/xprofile.dot.link b/modules/profile/xprofile.dot.link deleted file mode 100644 index 91c86d4..0000000 --- a/modules/profile/xprofile.dot.link +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -# -# .xprofile: set basic X11 environment -# - -# Load .xprofile -#source $HOME/.xprofile & - -# Run window manager -#awesome diff --git a/modules/profile/xscreensaver.dot.link b/modules/profile/xscreensaver.dot.link deleted file mode 100644 index 9576ee7..0000000 --- a/modules/profile/xscreensaver.dot.link +++ /dev/null @@ -1,318 +0,0 @@ -# XScreenSaver Preferences File -# Written by xscreensaver-demo 5.05 for rhatto on Sat Jun 12 18:30:38 2010. -# http://www.jwz.org/xscreensaver/ - -timeout: 0:10:00 -cycle: 0:10:00 -lock: False -lockTimeout: 0:00:00 -passwdTimeout: 0:00:30 -visualID: default -installColormap: True -verbose: False -timestamp: True -splash: True -splashDuration: 0:00:05 -demoCommand: xscreensaver-demo -prefsCommand: xscreensaver-demo -prefs -nice: 10 -memoryLimit: 0 -fade: True -unfade: False -fadeSeconds: 0:00:03 -fadeTicks: 20 -captureStderr: True -ignoreUninstalledPrograms:False -font: *-medium-r-*-140-*-m-* -dpmsEnabled: True -dpmsStandby: 2:00:00 -dpmsSuspend: 2:00:00 -dpmsOff: 4:00:00 -grabDesktopImages: True -grabVideoFrames: False -chooseRandomImages: False -imageDirectory: - -mode: blank -selected: -1 - -textMode: file -textLiteral: XScreenSaver -textFile: /usr/share/doc/xserver-xorg-core/copyright -textProgram: fortune -textURL: http://planet.debian.org/rss20.xml - -programs: \ - "Qix (solid)" qix -root -solid -segments 100 \n\ - "Qix (transparent)" qix -root -count 4 -solid -transparent \n\ - "Qix (linear)" qix -root -count 5 -solid -transparent \ - -linear -segments 250 -size 100 \n\ - "Attraction (balls)" attraction -root -mode balls \n\ - "Attraction (lines)" attraction -root -mode lines -points 3 \ - -segments 200 \n\ -- "Attraction (splines)" attraction -root -mode splines -segments \ - 300 \n\ -- "Attraction (orbital)" attraction -root -mode lines -radius 300 \ - -orbit -vmult 0.5 \n\ - pyro -root \n\ - rocks -root \n\ - helix -root \n\ - pedal -root \n\ - rorschach -root \n\ - hopalong -root \n\ - greynetic -root \n\ - imsmap -root \n\ - slidescreen -root \n\ - decayscreen -root \n\ - jigsaw -root \n\ - blitspin -root \n\ - slip -root \n\ - distort -root \n\ - spotlight -root \n\ - "Ripples (stir)" ripples -root -oily -light 2 -stir \n\ - "Ripples (desktop)" ripples -root -water -light 6 \n\ - hypercube -root \n\ -- hyperball -root \n\ - halo -root \n\ - maze -root \n\ - noseguy -root \n\ - flame -root \n\ -- lmorph -root \n\ - deco -root \n\ - moire -root \n\ - moire2 -root \n\ - lightning -root \n\ - strange -root \n\ -- spiral -root \n\ - laser -root \n\ - grav -root \n\ - drift -root \n\ - ifs -root \n\ - julia -root \n\ - penrose -root \n\ -- sierpinski -root \n\ - braid -root \n\ - galaxy -root \n\ - bouboule -root \n\ - swirl -root \n\ - flag -root \n\ - sphere -root \n\ - forest -root \n\ -- lisa -root \n\ -- lissie -root \n\ - goop -root \n\ - starfish -root \n\ - munch -root \n\ - mismunch -root \n\ - fadeplot -root \n\ - coral -root \n\ - mountain -root \n\ - triangle -root \n\ -- worm -root \n\ -- rotor -root \n\ -- demon -root \n\ -- loop -root \n\ -- vines -root \n\ - kaleidescope -root \n\ - xjack -root \n\ - xlyap -root \n\ - cynosure -root \n\ - flow -root \n\ - epicycle -root \n\ - interference -root \n\ - truchet -root \n\ - bsod -root \n\ - crystal -root \n\ - discrete -root \n\ - kumppa -root \n\ - rd-bomb -root \n\ - "RD-Bomb (mobile)" rd-bomb -root -speed 1 -size 0.1 \n\ - sonar -root \n\ - t3d -root \n\ - penetrate -root \n\ - deluxe -root \n\ - compass -root \n\ - squiral -root \n\ - xflame -root \n\ - wander -root \n\ - "Wander (spots)" wander -root -advance 0 -size 10 -circles \ - -length 10000 -reset 100000 \n\ -- critical -root \n\ - phosphor -root \n\ - xmatrix -root \n\ - petri -root \n\ - "Petri 2" petri -root -minlifespeed 0.02 \ - -maxlifespeed 0.03 -minlifespan 1 \ - -maxlifespan 1 -instantdeathchan 0 \ - -minorchan 0 -anychan 0.3 \n\ - shadebobs -root \n\ - ccurve -root \n\ - blaster -root \n\ - bumps -root \n\ - xanalogtv -root \n\ - xspirograph -root \n\ - nerverot -root \n\ - xrayswarm -root \n\ -- "Zoom (Fatbits)" zoom -root \n\ - "Zoom (Lenses)" zoom -root -lenses \n\ - rotzoomer -root \n\ - whirlwindwarp -root \n\ - whirlygig -root \n\ - speedmine -root \n\ - "SpeedWorm" speedmine -root -worm \n\ - vermiculate -root \n\ - twang -root \n\ - apollonian -root \n\ - euler2d -root \n\ - "Euler2d (dense)" euler2d -root -count 4000 -eulertail 400 \ - -ncolors 230 \n\ -- juggle -root \n\ - polyominoes -root \n\ -- thornbird -root \n\ - fluidballs -root \n\ - anemone -root \n\ - halftone -root \n\ - metaballs -root \n\ - eruption -root \n\ - popsquares -root \n\ - barcode -root \n\ - piecewise -root \n\ - cloudlife -root \n\ - fontglide -root \n\ - apple2 -root \n\ - bubbles -root \n\ - pong -root \n\ - wormhole -root \n\ - pacman -root \n\ - fuzzyflakes -root \n\ - anemotaxis -root \n\ - memscroller -root \n\ - substrate -root \n\ - intermomentary -root \n\ - interaggregate -root \n\ - fireworkx -root \n\ - fiberlamp -root \n\ - boxfit -root \n\ - celtic -root \n\ - cwaves -root \n\ - m6502 -root \n\ - abstractile -root \n\ -- lcdscrub -root \n\ -- default-n: webcollage -root \n\ -- default-n: "WebCollage (whacked)" \ - webcollage -root -filter 'vidwhacker \ - -stdin -stdout' \n\ -- default-n: vidwhacker -root \n\ -- GL: gears -root \n\ -- GL: superquadrics -root \n\ -- GL: morph3d -root \n\ -- GL: cage -root \n\ -- GL: moebius -root \n\ -- GL: stairs -root \n\ -- GL: pipes -root \n\ -- GL: sproingies -root \n\ -- GL: rubik -root \n\ -- GL: atlantis -root \n\ -- GL: lament -root \n\ -- GL: bubble3d -root \n\ -- GL: glplanet -root \n\ -- GL: flurry -root \n\ -- GL: pulsar -root \n\ -- GL: "Pulsar (textures)" pulsar -root -texture -mipmap \ - -texture_quality -light -fog \n\ -- GL: extrusion -root \n\ -- GL: sierpinski3d -root \n\ -- GL: menger -root \n\ -- GL: gflux -root \n\ -- GL: "GFlux (grab)" gflux -root -mode grab \n\ -- GL: stonerview -root \n\ -- GL: starwars -root \n\ -- GL: gltext -root \n\ -- GL: "GLText (clock)" gltext -text "%A%n%d %b %Y%n%r" -root \n\ -- GL: molecule -root \n\ -- GL: dangerball -root \n\ -- GL: circuit -root \n\ -- GL: engine -root \n\ -- GL: flipscreen3d -root \n\ -- GL: glsnake -root \n\ -- GL: boxed -root \n\ -- GL: glforestfire -root \n\ -- GL: "GLForestFire (rain)" glforestfire -root -count 0 \n\ -- GL: sballs -root \n\ -- GL: cubenetic -root \n\ -- GL: spheremonics -root \n\ -- GL: lavalite -root \n\ -- GL: queens -root \n\ -- GL: endgame -root \n\ -- GL: glblur -root \n\ -- GL: atunnel -root \n\ -- GL: flyingtoasters -root \n\ -- GL: bouncingcow -root \n\ -- GL: jigglypuff -root \n\ -- GL: klein -root \n\ -- GL: hypertorus -root \n\ -- GL: glmatrix -root \n\ -- GL: cubestorm -root \n\ -- GL: glknots -root \n\ -- GL: blocktube -root \n\ -- GL: flipflop -root \n\ -- GL: antspotlight -root \n\ -- GL: glslideshow -root \n\ -- GL: polytopes -root \n\ -- GL: gleidescope -root \n\ -- GL: mirrorblob -root \n\ -- GL: "MirrorBlob (color only)" mirrorblob -root -colour -no-texture \n\ -- GL: blinkbox -root \n\ -- GL: noof -root \n\ -- GL: polyhedra -root \n\ -- GL: antinspect -root \n\ -- GL: providence -root \n\ -- GL: "Pinion (large gears)" pinion -root \n\ -- GL: "Pinion (small gears)" pinion -root -size 0.2 -scroll 0.3 \n\ -- GL: boing -root -lighting -smooth \n\ -- GL: carousel -root \n\ -- GL: fliptext -root \n\ -- GL: antmaze -root \n\ -- GL: tangram -root \n\ -- GL: crackberg -root \n\ -- GL: glhanoi -root \n\ -- GL: cube21 -root \n\ -- GL: timetunnel -root \n\ -- GL: juggler3d -root \n\ -- GL: topblock -root \n\ -- GL: glschool -root \n\ -- GL: glcells -root \n\ -- GL: voronoi -root \n\ -- GL: moebiusgears -root \n\ -- GL: lockward -root \n\ -- GL: cubicgrid -root \n\ -- GL: hypnowheel -root \n\ -- GL: "Hypnowheel (dense)" hypnowheel -root -count 3 -layers 50 \n\ -- GL: "Hypnowheel (trifoil)" hypnowheel -root -count 3 -layers 2 \ - -speed 9 -twist 9 -wander \n\ -- xdaliclock -root -font BUILTIN3 \n\ -- xplanet -vroot -wait 1 -timewarp 90000 \ - -label -origin moon \n\ -- xmountains -b -M -Z 0 -r 1 \n\ -- "XMountains (top)" xmountains -b -M -Z 0 -r 1 -m \n\ -- xaos -root -autopilot -nogui -delay 10000 \ - -maxframerate 30 -incoloring -1 \ - -outcoloring -1 \n\ -- xsnow -root \n\ -- goban -root \n\ -- electricsheep \n\ -- cosmos -root \n\ -- GL: sphereEversion --root \n\ -- GL: fireflies -root \n\ - - -pointerPollTime: 0:00:05 -pointerHysteresis: 10 -windowCreationTimeout:0:00:30 -initialDelay: 0:00:00 -sgiSaverExtension: True -xidleExtension: True -GetViewPortIsFullOfLies:False -procInterrupts: True -overlayStderr: True - diff --git a/modules/profile/xsession.dot.link b/modules/profile/xsession.dot.link deleted file mode 100755 index 6af48b3..0000000 --- a/modules/profile/xsession.dot.link +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/bash -# -# .xsession: set basic X11 environment -# - -# Background image -BACKGROUND="" - -# Session applications -PROGRAMS="" - -# OS Version -OSVERSION="`cut -d . -f 1 /etc/debian_version`" - -# Hostname -HOSTNAME="`cat /etc/hostname`" - -# Make sure to load the profile -. $HOME/.profile - -# Start xscreensaver -xscreensaver -no-splash & - -# Custom -if [ -e "$HOME/.custom/xsession" ]; then - . $HOME/.custom/xsession -fi - -# Set background -if [ ! -z "$BACKGROUND" ]; then - Esetroot -scale $HOME/.config/themes/backgrounds/$BACKGROUND -else - xsetroot -solid black -fi - -# Additional applications depending on the machine type -if laptop-detect; then - PROGRAMS="$PROGRAMS xwicd" -else - PROGRAMS="$PROGRAMS" -fi - -# Start session applications -for program in $PROGRAMS; do - $program & -done - -# Apply custom keyboard configuration -if [ -f "$HOME/.Xmodmaps/$HOSTNAME" ]; then - xmodmap $HOME/.Xmodmaps/$HOSTNAME - - # Why xmodmap has to run twice to some changes take place? - # https://faq.i3wm.org/question/558/xmodmap-loading/ - # https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/700309 - xmodmap $HOME/.Xmodmaps/$HOSTNAME -fi - -# Fix mumble configuration, which varies depending on machine audio -if [ -f "$HOME/.config/Mumble/Mumble-$HOSTNAME.conf" ]; then - ( - cd $HOME/.config/Mumble - mv Mumble.conf Mumble-$HOSTNAME.conf.backup - ln -s Mumble-$HOSTNAME.conf Mumble.conf - ) -fi - -# Execute window manager -if [ "$OSVERSION" = "7" ]; then - # See https://bugzilla.redhat.com/show_bug.cgi?id=783568 - # https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/932177 - # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653011 - # https://bugzilla.gnome.org/show_bug.cgi?id=660240 - #unset GNOME_KEYRING_PID - #unset GNOME_KEYRING_CONTROL - eval $(gnome-keyring-daemon --start --components=pkcs11,gpg,secrets) - - # Start window manager - awesome -fi diff --git a/modules/profile/zshrc.dot.link b/modules/profile/zshrc.dot.link deleted file mode 100644 index 0b8c1f1..0000000 --- a/modules/profile/zshrc.dot.link +++ /dev/null @@ -1,40 +0,0 @@ -# Set up the prompt - -autoload -Uz promptinit -promptinit -prompt adam1 - -setopt histignorealldups sharehistory - -# Use emacs keybindings even if our EDITOR is set to vi -bindkey -e - -# Keep 1000 lines of history within the shell and save it to ~/.zsh_history: -HISTSIZE=1000 -SAVEHIST=1000 -HISTFILE=~/.zsh_history - -# Add custom completion scripts -fpath=(~/.zsh/completion $fpath) - -# Use modern completion system -autoload -Uz compinit -compinit - -zstyle ':completion:*' auto-description 'specify: %d' -zstyle ':completion:*' completer _expand _complete _correct _approximate -zstyle ':completion:*' format 'Completing %d' -zstyle ':completion:*' group-name '' -zstyle ':completion:*' menu select=2 -eval "$(dircolors -b)" -zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} -zstyle ':completion:*' list-colors '' -zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s -zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*' -zstyle ':completion:*' menu select=long -zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s -zstyle ':completion:*' use-compctl false -zstyle ':completion:*' verbose true - -zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' -zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' -- cgit v1.2.3