add some of my dotfiles here
commit
2ff550a739
|
@ -0,0 +1,3 @@
|
|||
[submodule "x/pointless-xcompose"]
|
||||
path = x/pointless-xcompose
|
||||
url = https://github.com/leoboiko/pointless-xcompose
|
|
@ -0,0 +1,9 @@
|
|||
# you probably need to change this, because you're not me.
|
||||
|
||||
[user]
|
||||
email = yorickvanpelt@gmail.com
|
||||
name = Yorick van Pelt
|
||||
[color]
|
||||
diff = auto
|
||||
status = auto
|
||||
branch = auto
|
|
@ -0,0 +1 @@
|
|||
include '/home/yorick/dotfiles/gtk/gtkrc.mine'
|
|
@ -0,0 +1 @@
|
|||
include '/home/yorick/dotfiles/gtk/gtkrc.mine'
|
|
@ -0,0 +1,3 @@
|
|||
gtk-theme-name = "Cole"
|
||||
gtk-icon-theme-name = "clarity-canus"
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
# MIT licensed.
|
||||
# see https://github.com/holman/dotfiles/blob/master/License
|
||||
# Copyright (c) Zach Holman, http://zachholman.com
|
||||
|
||||
|
||||
require 'rake'
|
||||
|
||||
desc "Hook our dotfiles into system-standard positions."
|
||||
task :install do
|
||||
linkables = Dir.glob('*/**{.symlink}')
|
||||
|
||||
skip_all = false
|
||||
overwrite_all = false
|
||||
backup_all = false
|
||||
|
||||
linkables.each do |linkable|
|
||||
overwrite = false
|
||||
backup = false
|
||||
|
||||
file = linkable.split('/').last.split('.symlink').last
|
||||
target = "#{ENV["HOME"]}/.#{file}"
|
||||
|
||||
if File.exists?(target) || File.symlink?(target)
|
||||
unless skip_all || overwrite_all || backup_all
|
||||
puts "File already exists: #{target}, what do you want to do? [s]kip, [S]kip all, [o]verwrite, [O]verwrite all, [b]ackup, [B]ackup all"
|
||||
case STDIN.gets.chomp
|
||||
when 'o' then overwrite = true
|
||||
when 'b' then backup = true
|
||||
when 'O' then overwrite_all = true
|
||||
when 'B' then backup_all = true
|
||||
when 'S' then skip_all = true
|
||||
when 's' then next
|
||||
end
|
||||
end
|
||||
FileUtils.rm_rf(target) if overwrite || overwrite_all
|
||||
`mv "$HOME/.#{file}" "$HOME/.#{file}.backup"` if backup || backup_all
|
||||
end
|
||||
`ln -s "$PWD/#{linkable}" "#{target}"`
|
||||
end
|
||||
end
|
||||
|
||||
task :uninstall do
|
||||
|
||||
Dir.glob('**/*.symlink').each do |linkable|
|
||||
|
||||
file = linkable.split('/').last.split('.symlink').last
|
||||
target = "#{ENV["HOME"]}/.#{file}"
|
||||
|
||||
# Remove all symlinks created during installation
|
||||
if File.symlink?(target)
|
||||
FileUtils.rm(target)
|
||||
end
|
||||
|
||||
# Replace any backups made during installation
|
||||
if File.exists?("#{ENV["HOME"]}/.#{file}.backup")
|
||||
`mv "$HOME/.#{file}.backup" "$HOME/.#{file}"`
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
task :default => 'install'
|
|
@ -0,0 +1,22 @@
|
|||
include "/home/yorick/dotfiles/x/pointless-xcompose/abbrevs.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/arrows.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/bullets.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/dingbats.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/enclosed.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/fractions.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/historical.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/hyphen-macron.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/invisible.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/math.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/typographic.xcompose"
|
||||
include "/home/yorick/dotfiles/x/pointless-xcompose/dashes-hyphens.xcompose"
|
||||
|
||||
<Multi_key> <s> <u> : "∑" U2211 # N-ARY SUMMATION
|
||||
|
||||
<Multi_key> <asciitilde> <equal> : "≅" U2245 # APPROXIMATELY EQUAL TO
|
||||
|
||||
<Multi_key> <a> <l> : "∀" U2200 # FOR ALL
|
||||
<Multi_key> <e> <x> : "∃" U2201 # THERE EXISTS
|
||||
|
||||
<Multi_key> <l> <a> : "λ" # SMALL GREEK LETTER LAMBDA
|
||||
<Multi_key> <d> <e> : "Δ" # CAPITAL GREEK LETTER DELTA
|
|
@ -0,0 +1,120 @@
|
|||
! --- ~/.Xresources ------------------------------------------------------------
|
||||
! ------------------------------------------------------------------------------
|
||||
! --- generated with 4bit Terminal Color Scheme Designer -----------------------
|
||||
! ------------------------------------------------------------------------------
|
||||
! --- http://ciembor.github.com/4bit -------------------------------------------
|
||||
! ------------------------------------------------------------------------------
|
||||
|
||||
! --- special colors ---
|
||||
|
||||
*background: #0d1926
|
||||
*foreground: #d9e6f2
|
||||
|
||||
! --- standard colors ---
|
||||
|
||||
! black
|
||||
*color0: #0a0b15
|
||||
|
||||
! bright_black
|
||||
*color8: #2b2d36
|
||||
|
||||
! red
|
||||
*color1: #ac7780
|
||||
|
||||
! bright_red
|
||||
*color9: #cab2bb
|
||||
|
||||
! green
|
||||
*color2: #75ad80
|
||||
|
||||
! bright_green
|
||||
*color10: #b0ccbb
|
||||
|
||||
! yellow
|
||||
*color3: #acad80
|
||||
|
||||
! bright_yellow
|
||||
*color11: #caccbb
|
||||
|
||||
! blue
|
||||
*color4: #7577b7
|
||||
|
||||
! bright_blue
|
||||
*color12: #b0b2d6
|
||||
|
||||
! magenta
|
||||
*color5: #ac77b7
|
||||
|
||||
! bright_magenta
|
||||
*color13: #cab2d6
|
||||
|
||||
! cyan
|
||||
*color6: #75adb7
|
||||
|
||||
! bright_cyan
|
||||
*color14: #b0ccd6
|
||||
|
||||
! white
|
||||
*color7: #c9cad4
|
||||
|
||||
! bright_white
|
||||
*color15: #eaecf5
|
||||
|
||||
|
||||
! ------------------------------------------------------------------------------
|
||||
! --- end of terminal colors section -------------------------------------------
|
||||
! ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
! scrollbar style - xvt (default), plain (most compact), next, or xterm
|
||||
URxvt.scrollstyle: plain
|
||||
URxvt.scrollBar_right: true
|
||||
URxvt.perl-ext-common: default,matcher
|
||||
URxvt.urlLauncher: /usr/bin/firefox
|
||||
URxvt.matcher.button: 1
|
||||
URxvt.urgentOnBell: True
|
||||
|
||||
URxvt.font: xft:DroidSansMono:size=6
|
||||
URxvt.geometry: 100x30
|
||||
URxvt.scrollColor: #0a0b15
|
||||
|
||||
! xscreensaver settings
|
||||
!font settings
|
||||
xscreensaver.Dialog.bodyFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
|
||||
xscreensaver.Dialog.labelFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
|
||||
xscreensaver.Dialog.unameFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
|
||||
xscreensaver.Dialog.dateFont: -*-dina-medium-r-*-*-12-*-*-*-*-*-*-*
|
||||
xscreensaver.Dialog.headingFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
|
||||
xscreensaver.Dialog.buttonFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
|
||||
xscreensaver.passwd.passwdFont: -*-dina-bold-r-*-*-12-*-*-*-*-*-*-*
|
||||
!general dialog box (affects main hostname, username, password text)
|
||||
xscreensaver.Dialog.foreground: #d9e6f2
|
||||
xscreensaver.Dialog.background: #0d1926
|
||||
|
||||
xscreensaver.Dialog.topShadowColor: #0a0b15
|
||||
xscreensaver.Dialog.bottomShadowColor: #0a0b15
|
||||
|
||||
xscreensaver.Dialog.Button.foreground: #eaecf5
|
||||
xscreensaver.Dialog.Button.background: #0a0b15
|
||||
|
||||
!username/password input box and date text colour
|
||||
|
||||
xscreensaver.Dialog.text.foreground: #d9e6f2
|
||||
xscreensaver.Dialog.text.background: #0d1926
|
||||
|
||||
xscreensaver.Dialog.internalBorderWidth:15
|
||||
xscreensaver.Dialog.borderWidth: 1
|
||||
xscreensaver.Dialog.shadowThickness: 1
|
||||
|
||||
!timeout bar (background is actually determined by Dialog.text.background)
|
||||
xscreensaver.passwd.thermometer.foreground: #0a0b15
|
||||
xscreensaver.passwd.thermometer.background: #0d1926
|
||||
xscreensaver.passwd.thermometer.width: 8
|
||||
!datestamp format--see the strftime(3) manual page for details
|
||||
xscreensaver.dateFormat: %H:%M %d-%m-%Y
|
||||
|
||||
! xclock settings
|
||||
|
||||
xclock*analog: false
|
||||
xclock*brief: true
|
||||
xclock*foreground: #d9e6f2
|
|
@ -0,0 +1 @@
|
|||
Subproject commit c8c05ee744fbce4b9dbfcc8bd99914f3206b87e0
|
|
@ -0,0 +1,5 @@
|
|||
upower -e
|
||||
xrdb ~/dotfiles/x/Xresources
|
||||
#.screenlayout/display_pluggedin.sh
|
||||
/usr/bin/xscreensaver -no-splash &
|
||||
exec awesome
|
Loading…
Reference in New Issue