From: Christian Heller Date: Sat, 12 Dec 2015 11:48:16 +0000 (+0100) Subject: Restructure dotfiles directories. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/calendar?a=commitdiff_plain;h=91fefe78e7da58646b85f864c53cee30a6ae0376;p=config Restructure dotfiles directories. --- diff --git a/dotfiles/bashrc b/dotfiles/bashrc new file mode 100644 index 0000000..4dc08f7 --- /dev/null +++ b/dotfiles/bashrc @@ -0,0 +1,5 @@ +# Bash as a non-login shell in non-POSIX-mode does not read in the startup +# script at the path in $ENV. This forces it to still read in the ~/.shinit +# startup script for non-login shells. + +. ~/.shinit diff --git a/dotfiles/profile b/dotfiles/profile new file mode 100644 index 0000000..5a58435 --- /dev/null +++ b/dotfiles/profile @@ -0,0 +1,6 @@ +# Initialization for login shells. + +# Tell interactive shells to look in ~/.shinit for setup. +ENV=$HOME/.shinit +export ENV +. $ENV diff --git a/dotfiles/root/shinit_color b/dotfiles/root/shinit_color new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/dotfiles/root/shinit_color @@ -0,0 +1 @@ +1 diff --git a/dotfiles/shinit b/dotfiles/shinit new file mode 100644 index 0000000..c80a6bc --- /dev/null +++ b/dotfiles/shinit @@ -0,0 +1,32 @@ +# Settings for interactive shells. + +# Fancy colors for ls. +alias ls="ls --color=auto" + +# Use vim as default editor for anything. +export VISUAL=vim +export EDITOR=$VISUAL + +# Colored prompt with username, hostname, date/time, directory. +colornumber=7 # Default to white if no color set via colornumber dotfile. +colornumber_file=~/.shinit_color +if [ -f $colornumber_file ]; then + colornumber=`cat $colornumber_file` +fi +tput_color="$(tput setaf $colornumber)$(tput bold)" +tput_reset="$(tput sgr0)" +# Bash confuses the line length when not told to not count escape sequences. +if [ ! "$BASH" = "" ]; then + tput_color="\[$tput_color\]" + tput_reset="\[$tput_reset\]" +fi +PS1="${tput_color}["\$\(date\ +%Y-%m-%d/%H:%M:%S/%Z\)" $USER@$(hostname):"\$\(pwd\)"]$ $tput_reset" +PS2="${tput_color}> $tput_reset" +PS3="${tput_color}select: $tput_reset" +PS4="${tput_color}+ $tput_reset" + +# Add local additions. +local_shinit_file=~/.shinit_add +if [ -f $local_shinit_file ]; then + . $local_shinit_file +fi diff --git a/dotfiles/user/gitconfig b/dotfiles/user/gitconfig new file mode 100644 index 0000000..5cdc162 --- /dev/null +++ b/dotfiles/user/gitconfig @@ -0,0 +1,3 @@ +[user] + name = Christian Heller + email = c.heller@plomlompom.de diff --git a/dotfiles/user/server/getmail/getmailrc b/dotfiles/user/server/getmail/getmailrc new file mode 100644 index 0000000..c456a1e --- /dev/null +++ b/dotfiles/user/server/getmail/getmailrc @@ -0,0 +1,17 @@ +# plomlompom's getmail configuration + +# Where and how to get mail from. +[retriever] +type = SimplePOP3SSLRetriever +server = mail.klostein.com +username = c.heller@plomlompom.de + +# Let procmail take charge of incoming mail. Use user-defined rc file. +[destination] +type = MDA_external +path = /usr/bin/procmail +arguments = ("-m", "/home/plom/.procmailrc") + +# Delete retrieved mail from server. +[options] +delete = true diff --git a/dotfiles/user/server/mailfilter b/dotfiles/user/server/mailfilter new file mode 100644 index 0000000..ce117f7 --- /dev/null +++ b/dotfiles/user/server/mailfilter @@ -0,0 +1,11 @@ +DEFAULT="$HOME/mail/new_inbox/" +logfile "$HOME/.mailfilter.log" + +if ( /^Subject: Postfix SMTP server: errors from /:D && \ + /^From: Mail Delivery System /:D && \ + /^To: Postmaster /:D ) +{ + DIR="$HOME/mail/new_postfix_smtp_server_errors_from/" + `mkdir -p $DIR/{cur,new,tmp}` + to $DIR +} diff --git a/dotfiles/user/server/muttrc b/dotfiles/user/server/muttrc new file mode 100644 index 0000000..517ff99 --- /dev/null +++ b/dotfiles/user/server/muttrc @@ -0,0 +1,42 @@ +# plomlompom's mutt configuration file + +# Define mailboxes. +set mbox_type=Maildir +set folder=/home/plom/mail +set spoolfile=$folder/inbox +set mbox=$folder/archive +set record=$folder/sent +set postponed=$folder/postponed + +# Move read messages from $spoolfile to $mbox. +set move=yes + +# Macro to a mailboxes view built from all folders below ~/mail. +macro index,pager y ? +mailboxes `ls /home/plom/mail | sed -e 's/^/=/' | tr "\n" " "` + +# What goes into the default header display. +ignore * +unignore from: subject to cc date + +# Force some variables for From: and Message-ID: generation. +set realname="Christian Heller" + +# Allow me to reply myself. +set reply_self = yes + +# Only scroll in the current message, not across messages. +set pager_stop = yes + +# Sort message top-down new-old. +set sort=reverse-date + +# Ensure visibility of attachments. The second line handles (in an ugly way) the +# issue of mails that use the content-type of multipart/alternative wrongly, by +# omitting from the text/plain alternative relevant multimedia files attached to +# the multipart/related alternative that contains text/html and said files. This +# will in certain cases make the pager default to displaying the HTML variant of +# a mail when a plain text one is available, but this is preferable to hiding +# potentially important attachments. +set index_format="%4C %Z %?X?[%X]& ? %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" +alternative_order multipart/related text/plain text/html diff --git a/dotfiles/user/server/procmailrc b/dotfiles/user/server/procmailrc new file mode 100644 index 0000000..e62fa57 --- /dev/null +++ b/dotfiles/user/server/procmailrc @@ -0,0 +1,68 @@ +# plomlompom's procmail configuration + +MAILDIR=/home/plom/mail +DEFAULT=$MAILDIR/inbox/ + +:0 +* ^To: Bisdahin +bisdahin/ + +:0 +* ^From: Doodle +doodle/ + +:0 +* ^From: FetLife +fetlife/ + +:0 +* ^From: Flattr +flattr/ + +:0 +* ^From: noreply@statusnetondemand.net +identica/ + +:0 +* ^From: .*@linkedin\.com +linkedin/ + +:0 +* ^To: .*forum@detrans.de +ML-detrans/ + +:0 +* ^To: .*liste-ff-medien@gruene-jugend.de +ML-gj-medien/ + +:0 +* ^To: wann-klettern-wir@googlegroups\.com +ML-klettern/ + +:0 +* ^Subject: \[schildower-kreis-info\] +schildower_kreis/ + +:0 +* ^Subject: .*\[reflect-info\] +reflect-info/ + +:0 +* ^To: .*st-berlin@smjg.org +ML-smjg-berlin/ + +:0 +* ^Subject: Logwatch for plomlompom\.com \(Linux\) +serverlogs/ + +:0 +* ^Subject: ***SPAM*** +spam-suspect/ + +:0 +* ^From: Twitter +twitter/ + +:0 +* ^From: Computerspielemuseum +computerspielemuseum/ diff --git a/dotfiles/user/server/shinit_add b/dotfiles/user/server/shinit_add new file mode 100644 index 0000000..02d6a99 --- /dev/null +++ b/dotfiles/user/server/shinit_add @@ -0,0 +1,4 @@ +# Server-specific .shinit additions. + +# Wrapper for weechat to force local config file on it anew on each run. +alias weechat="~/config/bin/weechat-wrapper.sh" diff --git a/dotfiles/user/server/shinit_color b/dotfiles/user/server/shinit_color new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/dotfiles/user/server/shinit_color @@ -0,0 +1 @@ +4 diff --git a/dotfiles/user/server/weechatrc b/dotfiles/user/server/weechatrc new file mode 100644 index 0000000..8bf996e --- /dev/null +++ b/dotfiles/user/server/weechatrc @@ -0,0 +1,10 @@ +/set logger.file.path ~/weechatlogs +/set logger.file.flush_delay 0 +/script install otr.py +/set weechat.bar.status.items "[time],[buffer_last_number],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_zoom+buffer_filter,[lag],[hotlist],completion,scroll,[otr]" +/set weechat.color.chat_nick_colors "lightcyan" +/server add localhost localhost +/connect localhost +/server del freenode +/server add freenode irc.freenode.net -nicks=plomlompom,plomlomp0m,ploml0mp0m,pl0ml0mp0m -realname="Christian Heller" -autojoin=#nodrama.de,#twitter.de,#freie-gesellschaft,#dumme-gesellschaft,#zerozero +/connect freenode diff --git a/dotfiles/user/thinkpad/i3/config b/dotfiles/user/thinkpad/i3/config new file mode 100644 index 0000000..68a15f8 --- /dev/null +++ b/dotfiles/user/thinkpad/i3/config @@ -0,0 +1,84 @@ +# plomlompom's i3-wm configuration + +# Font for i3 text +font pango:Terminus 11px +#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 + +# Force "tabbed" as default layout for new windows. +workspace_layout tabbed + +# Make the Windows key the modifier key for all i3-wm actions. +set $mod Mod4 +floating_modifier $mod + +# Launch xterm small-font white-on-black or big-font black-on-white. +bindsym $mod+Return exec xterm -vb -ls -r -fa -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -fs 8 +bindsym $mod+Shift+Return exec xterm -vb -ls -fa -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -fs 19 + +# Launch programs via dmenu. +bindsym $mod+d exec dmenu_run + +# Kill window. +bindsym $mod+Shift+Q kill + +# Move focus between windows. +bindsym $mod+Left focus left +bindsym $mod+Down focus down +bindsym $mod+Up focus up +bindsym $mod+Right focus right + +# Don't move focus with mouse. +focus_follows_mouse no + +# Move windows. +bindsym $mod+Shift+Left move left +bindsym $mod+Shift+Down move down +bindsym $mod+Shift+Up move up +bindsym $mod+Shift+Right move right + +# Resize windows +bindsym $mod+h resize shrink width 1 px or 1 ppt +bindsym $mod+l resize grow width 1 px or 1 ppt +bindsym $mod+j resize shrink height +bindsym $mod+k resize grow height + +# Toggle fullscreen for focused window. +bindsym $mod+f fullscreen + +# Toggle floating of window, focus on floating or tabbed windows. +bindsym $mod+Shift+space floating toggle +bindsym $mod+space focus mode_toggle + +# Switch to workspace x. +bindsym $mod+1 workspace 1 +bindsym $mod+2 workspace 2 +bindsym $mod+3 workspace 3 +bindsym $mod+4 workspace 4 +bindsym $mod+5 workspace 5 +bindsym $mod+6 workspace 6 +bindsym $mod+7 workspace 7 +bindsym $mod+8 workspace 8 +bindsym $mod+9 workspace 9 +bindsym $mod+0 workspace 10 + +# Move window to workspace x. +bindsym $mod+Shift+exclam move workspace 1 +bindsym $mod+Shift+quotedbl move workspace 2 +bindsym $mod+Shift+section move workspace 3 +bindsym $mod+Shift+dollar move workspace 4 +bindsym $mod+Shift+percent move workspace 5 +bindsym $mod+Shift+ampersand move workspace 6 +bindsym $mod+Shift+slash move workspace 7 +bindsym $mod+Shift+parenleft move workspace 8 +bindsym $mod+Shift+parenright move workspace 9 +bindsym $mod+Shift+equal move workspace 10 + +# Reload i3 config file, restart (keeping sesion) i3, exit i3. +bindsym $mod+Shift+C reload +bindsym $mod+Shift+R restart +bindsym $mod+Shift+P exit + +# Select "i3status" as i3 status bar. +bar { + status_command i3status +} diff --git a/dotfiles/user/thinkpad/i3status.conf b/dotfiles/user/thinkpad/i3status.conf new file mode 100644 index 0000000..9565c9f --- /dev/null +++ b/dotfiles/user/thinkpad/i3status.conf @@ -0,0 +1,62 @@ +# plomlompom's i3 status bar configuration + +# Activate colors; set update interval of one second. +general { + colors = true + interval = 1 +} + +# Selection / order of status elements. +order += "disk /" +order += "disk /home" +order += "wireless wlan0" +order += "ethernet eth0" +order += "battery 0" +order += "cpu_temperature 0" +order += "load" +order += "time" + +# How much space is left in / ? +disk "/" { + format = "%free" +} + +# How much space is left in /home ? +disk "/home" { + format = "%free" +} + + +# WLAN status: show IP and connection quality or "down". +wireless wlan0 { + format_up = "W: (%quality at %essid) %ip" + format_down = "W: down" +} + +# Ethernet status: show IP or "down". +ethernet eth0 { + format_up = "E: %ip" + format_down = "E: down" +} + +# Battery status: show FULL/CHARGING/BATTERY, storage, time left. +battery 0 { + format = "%status %percentage %remaining" +} + +# Show CPU temperature in degrees of celsius. +cpu_temperature 0 { + format = "T: %degrees °C" +} + +# Show system load during last 1/5/15 minutes. +load { + format = "L: %1min %5min %15min" +} + +# Show date/time/timezone as "year-month-day hour:minute:second +# timezone_numeric/timezone_alphabetic". +time { + + format = "%Y-%m-%d %H:%M:%S %z/%Z" +} diff --git a/dotfiles/user/thinkpad/pentadactylrc b/dotfiles/user/thinkpad/pentadactylrc new file mode 100644 index 0000000..cd2d6a0 --- /dev/null +++ b/dotfiles/user/thinkpad/pentadactylrc @@ -0,0 +1,17 @@ +set! browser.startup.page=3 +set! privacy.donottrackheader.enabled=true +set! network.cookie.lifetimePolicy=2 +set! browser.formfill.enable=false +set! browser.block.target_new_window=true +set! browser.download.lastDir=~/downloads +set! javascript.enabled=false +"set! permissions.default.image=2 +set! general.useragent.override=foo +set! signon.rememberSignons=false +set go=CMsbr +set showtabline=never +highlight Hint -append font: "Droid Sans Mono"; margin: 0em; padding: 0.1em; padding-right: 0.2em; +command plom open http://www.plomlompom.de/PlomWiki/plomwiki.php?title=Start +set fc=ignore +set ds=duckduckgo +set visualbell diff --git a/dotfiles/user/thinkpad/shinit_color b/dotfiles/user/thinkpad/shinit_color new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/dotfiles/user/thinkpad/shinit_color @@ -0,0 +1 @@ +2 diff --git a/dotfiles/user/thinkpad/xinitrc b/dotfiles/user/thinkpad/xinitrc new file mode 100644 index 0000000..250994f --- /dev/null +++ b/dotfiles/user/thinkpad/xinitrc @@ -0,0 +1,7 @@ +# X init configuration + +# Set keymap. +setxkbmap de + +# Launch window manager. +i3 diff --git a/dotfiles/vimrc b/dotfiles/vimrc new file mode 100644 index 0000000..0103b0a --- /dev/null +++ b/dotfiles/vimrc @@ -0,0 +1,27 @@ +" Activate syntax highlighting. +syntax on +filetype plugin on + +" Number lines. +set number + +" Don't add unsolicited final newline. +set binary + +" Indentation rules (tabs to 4 spaces). +set expandtab +set shiftwidth=4 +set softtabstop=4 + +" Backups. +set backup +set backupdir=~/.vimbackups +let myvar = strftime("%Y-%m-%d_%H-%M-%S") +let myvar = "set backupext=_". myvar +execute myvar + +" Keep syntax highlighting healthy. +autocmd BufEnter * :syntax sync fromstart + +" Mark the 80-th column. +set colorcolumn=80 diff --git a/dotfiles_minimal/bashrc b/dotfiles_minimal/bashrc deleted file mode 100644 index 4dc08f7..0000000 --- a/dotfiles_minimal/bashrc +++ /dev/null @@ -1,5 +0,0 @@ -# Bash as a non-login shell in non-POSIX-mode does not read in the startup -# script at the path in $ENV. This forces it to still read in the ~/.shinit -# startup script for non-login shells. - -. ~/.shinit diff --git a/dotfiles_minimal/profile b/dotfiles_minimal/profile deleted file mode 100644 index 5a58435..0000000 --- a/dotfiles_minimal/profile +++ /dev/null @@ -1,6 +0,0 @@ -# Initialization for login shells. - -# Tell interactive shells to look in ~/.shinit for setup. -ENV=$HOME/.shinit -export ENV -. $ENV diff --git a/dotfiles_minimal/shinit b/dotfiles_minimal/shinit deleted file mode 100644 index c80a6bc..0000000 --- a/dotfiles_minimal/shinit +++ /dev/null @@ -1,32 +0,0 @@ -# Settings for interactive shells. - -# Fancy colors for ls. -alias ls="ls --color=auto" - -# Use vim as default editor for anything. -export VISUAL=vim -export EDITOR=$VISUAL - -# Colored prompt with username, hostname, date/time, directory. -colornumber=7 # Default to white if no color set via colornumber dotfile. -colornumber_file=~/.shinit_color -if [ -f $colornumber_file ]; then - colornumber=`cat $colornumber_file` -fi -tput_color="$(tput setaf $colornumber)$(tput bold)" -tput_reset="$(tput sgr0)" -# Bash confuses the line length when not told to not count escape sequences. -if [ ! "$BASH" = "" ]; then - tput_color="\[$tput_color\]" - tput_reset="\[$tput_reset\]" -fi -PS1="${tput_color}["\$\(date\ +%Y-%m-%d/%H:%M:%S/%Z\)" $USER@$(hostname):"\$\(pwd\)"]$ $tput_reset" -PS2="${tput_color}> $tput_reset" -PS3="${tput_color}select: $tput_reset" -PS4="${tput_color}+ $tput_reset" - -# Add local additions. -local_shinit_file=~/.shinit_add -if [ -f $local_shinit_file ]; then - . $local_shinit_file -fi diff --git a/dotfiles_minimal/vimrc b/dotfiles_minimal/vimrc deleted file mode 100644 index 0103b0a..0000000 --- a/dotfiles_minimal/vimrc +++ /dev/null @@ -1,27 +0,0 @@ -" Activate syntax highlighting. -syntax on -filetype plugin on - -" Number lines. -set number - -" Don't add unsolicited final newline. -set binary - -" Indentation rules (tabs to 4 spaces). -set expandtab -set shiftwidth=4 -set softtabstop=4 - -" Backups. -set backup -set backupdir=~/.vimbackups -let myvar = strftime("%Y-%m-%d_%H-%M-%S") -let myvar = "set backupext=_". myvar -execute myvar - -" Keep syntax highlighting healthy. -autocmd BufEnter * :syntax sync fromstart - -" Mark the 80-th column. -set colorcolumn=80 diff --git a/dotfiles_root/shinit_color b/dotfiles_root/shinit_color deleted file mode 100644 index d00491f..0000000 --- a/dotfiles_root/shinit_color +++ /dev/null @@ -1 +0,0 @@ -1 diff --git a/dotfiles_user_minimal/gitconfig b/dotfiles_user_minimal/gitconfig deleted file mode 100644 index 5cdc162..0000000 --- a/dotfiles_user_minimal/gitconfig +++ /dev/null @@ -1,3 +0,0 @@ -[user] - name = Christian Heller - email = c.heller@plomlompom.de diff --git a/dotfiles_user_server/getmail/getmailrc b/dotfiles_user_server/getmail/getmailrc deleted file mode 100644 index c456a1e..0000000 --- a/dotfiles_user_server/getmail/getmailrc +++ /dev/null @@ -1,17 +0,0 @@ -# plomlompom's getmail configuration - -# Where and how to get mail from. -[retriever] -type = SimplePOP3SSLRetriever -server = mail.klostein.com -username = c.heller@plomlompom.de - -# Let procmail take charge of incoming mail. Use user-defined rc file. -[destination] -type = MDA_external -path = /usr/bin/procmail -arguments = ("-m", "/home/plom/.procmailrc") - -# Delete retrieved mail from server. -[options] -delete = true diff --git a/dotfiles_user_server/mailfilter b/dotfiles_user_server/mailfilter deleted file mode 100644 index ce117f7..0000000 --- a/dotfiles_user_server/mailfilter +++ /dev/null @@ -1,11 +0,0 @@ -DEFAULT="$HOME/mail/new_inbox/" -logfile "$HOME/.mailfilter.log" - -if ( /^Subject: Postfix SMTP server: errors from /:D && \ - /^From: Mail Delivery System /:D && \ - /^To: Postmaster /:D ) -{ - DIR="$HOME/mail/new_postfix_smtp_server_errors_from/" - `mkdir -p $DIR/{cur,new,tmp}` - to $DIR -} diff --git a/dotfiles_user_server/muttrc b/dotfiles_user_server/muttrc deleted file mode 100644 index 517ff99..0000000 --- a/dotfiles_user_server/muttrc +++ /dev/null @@ -1,42 +0,0 @@ -# plomlompom's mutt configuration file - -# Define mailboxes. -set mbox_type=Maildir -set folder=/home/plom/mail -set spoolfile=$folder/inbox -set mbox=$folder/archive -set record=$folder/sent -set postponed=$folder/postponed - -# Move read messages from $spoolfile to $mbox. -set move=yes - -# Macro to a mailboxes view built from all folders below ~/mail. -macro index,pager y ? -mailboxes `ls /home/plom/mail | sed -e 's/^/=/' | tr "\n" " "` - -# What goes into the default header display. -ignore * -unignore from: subject to cc date - -# Force some variables for From: and Message-ID: generation. -set realname="Christian Heller" - -# Allow me to reply myself. -set reply_self = yes - -# Only scroll in the current message, not across messages. -set pager_stop = yes - -# Sort message top-down new-old. -set sort=reverse-date - -# Ensure visibility of attachments. The second line handles (in an ugly way) the -# issue of mails that use the content-type of multipart/alternative wrongly, by -# omitting from the text/plain alternative relevant multimedia files attached to -# the multipart/related alternative that contains text/html and said files. This -# will in certain cases make the pager default to displaying the HTML variant of -# a mail when a plain text one is available, but this is preferable to hiding -# potentially important attachments. -set index_format="%4C %Z %?X?[%X]& ? %{%b %d} %-15.15L (%?l?%4l&%4c?) %s" -alternative_order multipart/related text/plain text/html diff --git a/dotfiles_user_server/procmailrc b/dotfiles_user_server/procmailrc deleted file mode 100644 index e62fa57..0000000 --- a/dotfiles_user_server/procmailrc +++ /dev/null @@ -1,68 +0,0 @@ -# plomlompom's procmail configuration - -MAILDIR=/home/plom/mail -DEFAULT=$MAILDIR/inbox/ - -:0 -* ^To: Bisdahin -bisdahin/ - -:0 -* ^From: Doodle -doodle/ - -:0 -* ^From: FetLife -fetlife/ - -:0 -* ^From: Flattr -flattr/ - -:0 -* ^From: noreply@statusnetondemand.net -identica/ - -:0 -* ^From: .*@linkedin\.com -linkedin/ - -:0 -* ^To: .*forum@detrans.de -ML-detrans/ - -:0 -* ^To: .*liste-ff-medien@gruene-jugend.de -ML-gj-medien/ - -:0 -* ^To: wann-klettern-wir@googlegroups\.com -ML-klettern/ - -:0 -* ^Subject: \[schildower-kreis-info\] -schildower_kreis/ - -:0 -* ^Subject: .*\[reflect-info\] -reflect-info/ - -:0 -* ^To: .*st-berlin@smjg.org -ML-smjg-berlin/ - -:0 -* ^Subject: Logwatch for plomlompom\.com \(Linux\) -serverlogs/ - -:0 -* ^Subject: ***SPAM*** -spam-suspect/ - -:0 -* ^From: Twitter -twitter/ - -:0 -* ^From: Computerspielemuseum -computerspielemuseum/ diff --git a/dotfiles_user_server/shinit_add b/dotfiles_user_server/shinit_add deleted file mode 100644 index 02d6a99..0000000 --- a/dotfiles_user_server/shinit_add +++ /dev/null @@ -1,4 +0,0 @@ -# Server-specific .shinit additions. - -# Wrapper for weechat to force local config file on it anew on each run. -alias weechat="~/config/bin/weechat-wrapper.sh" diff --git a/dotfiles_user_server/shinit_color b/dotfiles_user_server/shinit_color deleted file mode 100644 index b8626c4..0000000 --- a/dotfiles_user_server/shinit_color +++ /dev/null @@ -1 +0,0 @@ -4 diff --git a/dotfiles_user_server/weechatrc b/dotfiles_user_server/weechatrc deleted file mode 100644 index 8bf996e..0000000 --- a/dotfiles_user_server/weechatrc +++ /dev/null @@ -1,10 +0,0 @@ -/set logger.file.path ~/weechatlogs -/set logger.file.flush_delay 0 -/script install otr.py -/set weechat.bar.status.items "[time],[buffer_last_number],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_zoom+buffer_filter,[lag],[hotlist],completion,scroll,[otr]" -/set weechat.color.chat_nick_colors "lightcyan" -/server add localhost localhost -/connect localhost -/server del freenode -/server add freenode irc.freenode.net -nicks=plomlompom,plomlomp0m,ploml0mp0m,pl0ml0mp0m -realname="Christian Heller" -autojoin=#nodrama.de,#twitter.de,#freie-gesellschaft,#dumme-gesellschaft,#zerozero -/connect freenode diff --git a/dotfiles_user_thinkpad/i3/config b/dotfiles_user_thinkpad/i3/config deleted file mode 100644 index 68a15f8..0000000 --- a/dotfiles_user_thinkpad/i3/config +++ /dev/null @@ -1,84 +0,0 @@ -# plomlompom's i3-wm configuration - -# Font for i3 text -font pango:Terminus 11px -#font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 - -# Force "tabbed" as default layout for new windows. -workspace_layout tabbed - -# Make the Windows key the modifier key for all i3-wm actions. -set $mod Mod4 -floating_modifier $mod - -# Launch xterm small-font white-on-black or big-font black-on-white. -bindsym $mod+Return exec xterm -vb -ls -r -fa -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -fs 8 -bindsym $mod+Shift+Return exec xterm -vb -ls -fa -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -fs 19 - -# Launch programs via dmenu. -bindsym $mod+d exec dmenu_run - -# Kill window. -bindsym $mod+Shift+Q kill - -# Move focus between windows. -bindsym $mod+Left focus left -bindsym $mod+Down focus down -bindsym $mod+Up focus up -bindsym $mod+Right focus right - -# Don't move focus with mouse. -focus_follows_mouse no - -# Move windows. -bindsym $mod+Shift+Left move left -bindsym $mod+Shift+Down move down -bindsym $mod+Shift+Up move up -bindsym $mod+Shift+Right move right - -# Resize windows -bindsym $mod+h resize shrink width 1 px or 1 ppt -bindsym $mod+l resize grow width 1 px or 1 ppt -bindsym $mod+j resize shrink height -bindsym $mod+k resize grow height - -# Toggle fullscreen for focused window. -bindsym $mod+f fullscreen - -# Toggle floating of window, focus on floating or tabbed windows. -bindsym $mod+Shift+space floating toggle -bindsym $mod+space focus mode_toggle - -# Switch to workspace x. -bindsym $mod+1 workspace 1 -bindsym $mod+2 workspace 2 -bindsym $mod+3 workspace 3 -bindsym $mod+4 workspace 4 -bindsym $mod+5 workspace 5 -bindsym $mod+6 workspace 6 -bindsym $mod+7 workspace 7 -bindsym $mod+8 workspace 8 -bindsym $mod+9 workspace 9 -bindsym $mod+0 workspace 10 - -# Move window to workspace x. -bindsym $mod+Shift+exclam move workspace 1 -bindsym $mod+Shift+quotedbl move workspace 2 -bindsym $mod+Shift+section move workspace 3 -bindsym $mod+Shift+dollar move workspace 4 -bindsym $mod+Shift+percent move workspace 5 -bindsym $mod+Shift+ampersand move workspace 6 -bindsym $mod+Shift+slash move workspace 7 -bindsym $mod+Shift+parenleft move workspace 8 -bindsym $mod+Shift+parenright move workspace 9 -bindsym $mod+Shift+equal move workspace 10 - -# Reload i3 config file, restart (keeping sesion) i3, exit i3. -bindsym $mod+Shift+C reload -bindsym $mod+Shift+R restart -bindsym $mod+Shift+P exit - -# Select "i3status" as i3 status bar. -bar { - status_command i3status -} diff --git a/dotfiles_user_thinkpad/i3status.conf b/dotfiles_user_thinkpad/i3status.conf deleted file mode 100644 index 9565c9f..0000000 --- a/dotfiles_user_thinkpad/i3status.conf +++ /dev/null @@ -1,62 +0,0 @@ -# plomlompom's i3 status bar configuration - -# Activate colors; set update interval of one second. -general { - colors = true - interval = 1 -} - -# Selection / order of status elements. -order += "disk /" -order += "disk /home" -order += "wireless wlan0" -order += "ethernet eth0" -order += "battery 0" -order += "cpu_temperature 0" -order += "load" -order += "time" - -# How much space is left in / ? -disk "/" { - format = "%free" -} - -# How much space is left in /home ? -disk "/home" { - format = "%free" -} - - -# WLAN status: show IP and connection quality or "down". -wireless wlan0 { - format_up = "W: (%quality at %essid) %ip" - format_down = "W: down" -} - -# Ethernet status: show IP or "down". -ethernet eth0 { - format_up = "E: %ip" - format_down = "E: down" -} - -# Battery status: show FULL/CHARGING/BATTERY, storage, time left. -battery 0 { - format = "%status %percentage %remaining" -} - -# Show CPU temperature in degrees of celsius. -cpu_temperature 0 { - format = "T: %degrees °C" -} - -# Show system load during last 1/5/15 minutes. -load { - format = "L: %1min %5min %15min" -} - -# Show date/time/timezone as "year-month-day hour:minute:second -# timezone_numeric/timezone_alphabetic". -time { - - format = "%Y-%m-%d %H:%M:%S %z/%Z" -} diff --git a/dotfiles_user_thinkpad/pentadactylrc b/dotfiles_user_thinkpad/pentadactylrc deleted file mode 100644 index cd2d6a0..0000000 --- a/dotfiles_user_thinkpad/pentadactylrc +++ /dev/null @@ -1,17 +0,0 @@ -set! browser.startup.page=3 -set! privacy.donottrackheader.enabled=true -set! network.cookie.lifetimePolicy=2 -set! browser.formfill.enable=false -set! browser.block.target_new_window=true -set! browser.download.lastDir=~/downloads -set! javascript.enabled=false -"set! permissions.default.image=2 -set! general.useragent.override=foo -set! signon.rememberSignons=false -set go=CMsbr -set showtabline=never -highlight Hint -append font: "Droid Sans Mono"; margin: 0em; padding: 0.1em; padding-right: 0.2em; -command plom open http://www.plomlompom.de/PlomWiki/plomwiki.php?title=Start -set fc=ignore -set ds=duckduckgo -set visualbell diff --git a/dotfiles_user_thinkpad/shinit_color b/dotfiles_user_thinkpad/shinit_color deleted file mode 100644 index 0cfbf08..0000000 --- a/dotfiles_user_thinkpad/shinit_color +++ /dev/null @@ -1 +0,0 @@ -2 diff --git a/dotfiles_user_thinkpad/xinitrc b/dotfiles_user_thinkpad/xinitrc deleted file mode 100644 index 250994f..0000000 --- a/dotfiles_user_thinkpad/xinitrc +++ /dev/null @@ -1,7 +0,0 @@ -# X init configuration - -# Set keymap. -setxkbmap de - -# Launch window manager. -i3 diff --git a/symlink.sh b/symlink.sh index f0e6345..332cd53 100755 --- a/symlink.sh +++ b/symlink.sh @@ -2,11 +2,11 @@ set -x -dir_minimal=~/config/dotfiles_minimal -dir_user_minimal=~/config/dotfiles_user_minimal -dir_user_thinkpad=~/config/dotfiles_user_thinkpad -dir_user_server=~/config/dotfiles_user_server -dir_root=~/config/dotfiles_root +dir_minimal=~/config/dotfiles +dir_user_minimal=~/config/dotfiles/user +dir_user_thinkpad=~/config/dotfiles/user/thinkpad +dir_user_server=~/config/dotfiles/user/server +dir_root=~/config/dotfiles/root homedir=`echo ~` find ~ -lname $homedir'/config/*' -delete for file in `ls $dir_minimal`; do