diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-08 23:21:34 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-08 23:21:34 +0200 |
| commit | 0ee7a0b129facc85063a042d685613cd4f0a1d2e (patch) | |
| tree | b1628cde28c2d38f83b14c634340eeadd83cbf0d | |
| parent | 8fdddf66ed136f1bbd8b9dcc9b9dd62fee2f9a6a (diff) | |
| download | dotfiles-0ee7a0b129facc85063a042d685613cd4f0a1d2e.tar.gz dotfiles-0ee7a0b129facc85063a042d685613cd4f0a1d2e.zip | |
Remove files which are no longer needed
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
| -rw-r--r-- | .Xresources | 11 | ||||
| -rwxr-xr-x | .rake_completion | 69 | ||||
| -rw-r--r-- | .xinitrc | 69 |
3 files changed, 0 insertions, 149 deletions
diff --git a/.Xresources b/.Xresources deleted file mode 100644 index 7af156a..0000000 --- a/.Xresources +++ /dev/null @@ -1,11 +0,0 @@ -Xcursor.theme: breeze_cursors -Xcursor.size: 16 - -# Taken from https://github.com/ereslibre/dotfiles. -Xft.dpi: 96 -Xft.autohint: 0 -Xft.lcdfilter: lcddefault -Xft.hintstyle: hintfull -Xft.hinting: 1 -Xft.antialias: 1 -Xft.rgba: rgb diff --git a/.rake_completion b/.rake_completion deleted file mode 100755 index a142dc7..0000000 --- a/.rake_completion +++ /dev/null @@ -1,69 +0,0 @@ -#!/usr/bin/env ruby - -# to install, add the following line to your .bash_profile or .bashrc -# complete -C path/to/rake_completion -o default rake - -# Rake completion will return matching rake tasks given typed text. This way -# you can auto-complete tasks as you are typing them by hitting [tab] or [tab][tab] -# This also caches the rake tasks for optimium speed -class RakeCompletion - CACHE_FILE_NAME = '.rake_tasks' - - def initialize(command) - @command = command - end - - def matches - exit 0 if rakefile.nil? - matching_tasks.map do |task| - task.sub(typed_before_colon, '') - end - end - - private - - def typed - @command[/\s(.+?)$/, 1] || '' - end - - def typed_before_colon - typed[/.+\:/] || '' - end - - def matching_tasks - all_tasks.select do |task| - task[0, typed.length] == typed - end - end - - def all_tasks - cache_current? ? tasks_from_cache : generate_tasks - end - - def cache_current? - File.exist?(cache_file) && File.mtime(cache_file) >= File.mtime(rakefile) - end - - def rakefile - ['rakefile', 'Rakefile', 'rakefile.rb', 'Rakefile.rb'].detect do |file| - File.file? File.join(Dir.pwd, file) - end - end - - def cache_file - File.join(Dir.pwd, CACHE_FILE_NAME) - end - - def tasks_from_cache - IO.read(cache_file).split - end - - def generate_tasks - tasks = `rake --tasks`.split("\n")[1..-1].collect {|line| line.split[1]} - File.open(cache_file, 'w') { |f| f.write tasks.join("\n") } - tasks - end -end - -puts RakeCompletion.new(ENV["COMP_LINE"]).matches -exit 0 diff --git a/.xinitrc b/.xinitrc deleted file mode 100644 index fddea9e..0000000 --- a/.xinitrc +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/bash -# -# Sample .xinitrc for SuSE Linux -# This script is called from 'startx' when you start an X session -# - -# -# In case everything goes wrong, we at least fall back to a plain xterm -# -failsafe="xterm -ls -T Failsafe -geometry 80x24-0-0" -trap "exec $failsafe" EXIT SIGHUP SIGINT SIGPIPE SIGTERM SIGIO - -# -# Some bash (1 and 2) settings to avoid trouble on a -# failed program call. -# -set +e > /dev/null 2>&1 -set +u > /dev/null 2>&1 -set +o posix > /dev/null 2>&1 -if type shopt > /dev/null 2>&1 ; then - shopt -s execfail -else - no_exit_on_failed_exec=1 -fi - -# -# Source common code shared between the -# X session and X init scripts -# -. /etc/X11/xinit/xinitrc.common - -# Set up the keyboard mapping now. This will be later ensured by the WM, but -# just in case... -setxkbmap -option ctrl:nocaps - -# -# Special for twm -# -case "$WINDOWMANAGER" in - *twm) xsetroot -solid darkslateblue -esac - -# -# Uncomment next lines to activate asking for ssh passphrase -# -# if test -S "$SSH_AUTH_SOCK" -a -x "$SSH_ASKPASS"; then -# ssh-add < /dev/null -# fi - -# -# Add your own lines here... -# - -# Automount USB sticks -if hash udiskie 2>/dev/null; then - udiskie -aNT2 & -fi - -# day planer deamon -# pland & - -# -# finally start the window manager -# -unset WINDOW_MANAGER STARTUP -exec $WINDOWMANAGER ${1+"$@"} - -# call failsafe -exit 0 |
