Compare commits
4 Commits
c07dba438f
...
d923b4747d
Author | SHA1 | Date |
---|---|---|
Sebastian Schulze | d923b4747d | |
Sebastian Schulze | 8e44703114 | |
Sebastian Schulze | 0e5b58db9f | |
Sebastian Schulze | 41dd4b33b5 |
|
@ -2,6 +2,9 @@
|
|||
|
||||
Apart from my [[https://github.com/bascht/dotfiles][Real Dotfiles]], here is some other stuff.
|
||||
|
||||
** Quick Screenshot
|
||||
[[./screenshot.jpg]]
|
||||
|
||||
** Installation via Homesick
|
||||
|
||||
- Install [[https://github.com/technicalpickles/homesick][Homesick]].
|
||||
|
|
|
@ -9,6 +9,13 @@ Maid.rules do
|
|||
)
|
||||
end
|
||||
|
||||
rule 'Safe the Ergodox Layouts' do
|
||||
move(
|
||||
dir('~/Downloads/ergodox_ez*.hex'),
|
||||
mkdir("~/Lager/Ergodox-Layouts/")
|
||||
)
|
||||
end
|
||||
|
||||
rule 'Move PDF Files to be buffered' do
|
||||
move(
|
||||
dir('~/Downloads/*.{PDF,pdf}'),
|
||||
|
@ -45,15 +52,16 @@ Maid.rules do
|
|||
end
|
||||
|
||||
rule 'Delete old and partial downloads' do
|
||||
dir('~/Downloads/*.{deb,zip,nzb,bin,tgz,xz,gz,bz,jar,txz,dmg,exe,bz2,7z,rpm,part}').each do |path|
|
||||
dir('~/Downloads/*.{deb,zip,nzb,bin,tgz,tar.gz,xz,gz,bz,jar,txz,dmg,exe,bz2,7z,rpm,part}').each do |path|
|
||||
trash(path) if 3.days.since?(modified_at(path))
|
||||
end
|
||||
end
|
||||
|
||||
rule 'Delete extracted folders' do
|
||||
dir('~/Downloads/*').each do |path|
|
||||
rule 'Delete extracted folders and really old shit' do
|
||||
dir('~/Downloads/.*').each do |path|
|
||||
puts path
|
||||
trash(path) if 5.days.since?(modified_at(path)) && File.directory?(path)
|
||||
trash(path) if 2.weeks.since?(modified_at(path))
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -385,6 +385,7 @@ you should place your code here."
|
|||
(spacemacs/set-leader-keys "or" 'org-refile-goto-last-stored)
|
||||
(spacemacs/set-leader-keys "od" 'my-daily-review)
|
||||
|
||||
(spacemacs/set-leader-keys "glu" 'mu4e-view-go-to-url)
|
||||
(spacemacs/set-leader-keys "drr" 'rake)
|
||||
(spacemacs/set-leader-keys "drl" 'rake-rerun)
|
||||
(spacemacs/toggle-hungry-delete-on)
|
||||
|
|
|
@ -110,6 +110,10 @@ binaries = {
|
|||
version_argument: "--version",
|
||||
version_match: "pandoc-citeproc 0.16.2"
|
||||
},
|
||||
"wally-cli": {
|
||||
url: "https://github.com/zsa/wally/releases/download/<%= version %>-linux/wally-cli",
|
||||
version: "1.1.0"
|
||||
},
|
||||
}
|
||||
|
||||
tmpdir = Dir.mktmpdir
|
||||
|
@ -123,7 +127,9 @@ binaries.each do |binary, download|
|
|||
|
||||
puts target
|
||||
|
||||
if File.executable? target and `#{version_string}`.match(version_match)
|
||||
if not download.has_key? :version_argument
|
||||
puts "→ Cannot check for version, no version_argument supplied"
|
||||
elsif File.executable? target and `#{version_string}`.match(version_match)
|
||||
puts "→ Already at #{version}"
|
||||
else
|
||||
puts "→ Installing #{binary} #{download[:version]}"
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 479 KiB |
Loading…
Reference in New Issue