Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

System cleanup.

  • Loading branch information...
commit cf0b9bb7e944e032db1ced22601ae50f8e9e9b92 1 parent c2d52ba
@projedi authored
View
58 etc/cpufreqd.conf
@@ -1,58 +0,0 @@
-[General]
- pidfile=/var/run/cpufreqd.pid
- poll_interval=0.5
-[/General]
-
-[Profile]
- name=idle
-
- minfreq=0%
- maxfreq=100%
- policy=powersave
-
- exec_post=echo -n 0:6 | tee /proc/acpi/processor/CPU[01]/limit > /dev/null
-[/Profile]
-
-[Profile]
- name=basic
-
- minfreq=0%
- maxfreq=100%
- policy=conservative
-
- up_threshold=75
- down_threshold=25
- ignore_nice_load=1
-
- exec_post=echo -n 0:0 | tee /proc/acpi/processor/CPU[01]/limit > /dev/null
-[/Profile]
-
-[Profile]
- name=too_hot
-
- minfreq=0%
- maxfreq=100%
- policy=powersave
-
- exec_post=echo -n 0:7 | tee /proc/acpi/processor/CPU[01]/limit > /dev/null
-[/Profile]
-
-[Rule]
- name=idle
- profile=idle
- acpi_temperature=0-55
- cpu_interval=0-6.25
-[/Rule]
-
-[Rule]
- name=basic
- profile=basic
- acpi_temperature=0-55
- cpu_interval=75-100
-[/Rule]
-
-[Rule]
- name=too_hot
- profile=too_hot
- acpi_temperature=55-100
-[/Rule]
View
31 etc/logrotate.conf
@@ -0,0 +1,31 @@
+# see "man logrotate" for details
+# rotate log files weekly
+daily
+
+# keep 4 weeks worth of backlogs
+rotate 3
+
+# restrict maximum size of log files
+#size 20M
+
+# create new (empty) log files after rotating old ones
+create
+
+# uncomment this if you want your log files compressed
+#compress
+
+# Logs are moved into directory for rotation
+# olddir /var/log/archive
+
+# Ignore pacman saved files
+tabooext + .pacorig .pacnew .pacsave
+
+# Arch packages drop log rotation information into this directory
+include /etc/logrotate.d
+
+/var/log/wtmp {
+ monthly
+ create 0664 root root
+ rotate 1
+}
+
View
121 etc/makepkg.conf
@@ -0,0 +1,121 @@
+#
+# /etc/makepkg.conf
+#
+
+#########################################################################
+# SOURCE ACQUISITION
+#########################################################################
+#
+#-- The download utilities that makepkg should use to acquire sources
+# Format: 'protocol::agent'
+DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
+ 'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
+ 'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
+ 'rsync::/usr/bin/rsync -z %u %o'
+ 'scp::/usr/bin/scp -C %u %o')
+
+# Other common tools:
+# /usr/bin/snarf
+# /usr/bin/lftpget -c
+# /usr/bin/wget
+
+#########################################################################
+# ARCHITECTURE, COMPILE FLAGS
+#########################################################################
+#
+CARCH="x86_64"
+CHOST="x86_64-pc-linux-gnu"
+
+#-- Compiler and Linker Flags
+# -march (or -mcpu) builds exclusively for an architecture
+# -mtune optimizes for an architecture, but builds for whole processor family
+CFLAGS="-march=core2 -O2 -pipe"
+CXXFLAGS="${CFLAGS}"
+LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
+#-- Make Flags: change this for DistCC/SMP systems
+MAKEFLAGS="-j5"
+
+#########################################################################
+# BUILD ENVIRONMENT
+#########################################################################
+#
+# Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
+# A negated environment option will do the opposite of the comments below.
+#
+#-- fakeroot: Allow building packages as a non-root user
+#-- distcc: Use the Distributed C/C++/ObjC compiler
+#-- color: Colorize output messages
+#-- ccache: Use ccache to cache compilation
+#-- check: Run the check() function if present in the PKGBUILD
+#-- sign: Generate PGP signature file
+#
+BUILDENV=(fakeroot !distcc color !ccache check !sign)
+#
+#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
+#-- specify a space-delimited list of hosts running in the DistCC cluster.
+#DISTCC_HOSTS=""
+#
+#-- Specify a directory for package building.
+#BUILDDIR=/tmp/makepkg
+
+#########################################################################
+# GLOBAL PACKAGE OPTIONS
+# These are default values for the options=() settings
+#########################################################################
+#
+# Default: OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
+# A negated option will do the opposite of the comments below.
+#
+#-- strip: Strip symbols from binaries/libraries
+#-- docs: Save doc directories specified by DOC_DIRS
+#-- libtool: Leave libtool (.la) files in packages
+#-- emptydirs: Leave empty directories in packages
+#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
+#-- purge: Remove files specified by PURGE_TARGETS
+#-- upx: Compress binary executable files using UPX
+#
+OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
+
+#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
+INTEGRITY_CHECK=(md5)
+#-- Options to be used when stripping binaries. See `man strip' for details.
+STRIP_BINARIES="--strip-all"
+#-- Options to be used when stripping shared libraries. See `man strip' for details.
+STRIP_SHARED="--strip-unneeded"
+#-- Options to be used when stripping static libraries. See `man strip' for details.
+STRIP_STATIC="--strip-debug"
+#-- Manual (man and info) directories to compress (if zipman is specified)
+MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
+#-- Doc directories to remove (if !docs is specified)
+DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
+#-- Files to be removed from all packages (if purge is specified)
+PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
+
+#########################################################################
+# PACKAGE OUTPUT
+#########################################################################
+#
+# Default: put built package and cached source in build directory
+#
+#-- Destination: specify a fixed directory where all packages will be placed
+#PKGDEST=/home/packages
+#-- Source cache: specify a fixed directory where source files will be cached
+#SRCDEST=/home/sources
+#-- Source packages: specify a fixed directory where all src packages will be placed
+#SRCPKGDEST=/home/srcpackages
+#-- Packager: name/email of the person or organization building packages
+#PACKAGER="John Doe <john@doe.com>"
+#-- Specify a key to use for package signing
+#GPGKEY=""
+
+#########################################################################
+# EXTENSION DEFAULTS
+#########################################################################
+#
+# WARNING: Do NOT modify these variables unless you know what you are
+# doing.
+#
+PKGEXT='.pkg.tar.xz'
+SRCEXT='.src.tar.gz'
+
+# vim: set ft=sh ts=2 sw=2 et:
View
9 etc/systemd/system/cpufreq.service
@@ -1,9 +0,0 @@
-[Unit]
-Description=Cpufreqd daemon
-After=acpid.service
-
-[Service]
-ExecStart=/usr/local/sbin/cpufreqd -D
-
-[Install]
-WantedBy=multi-user.target
View
9 etc/systemd/system/lightdm.service
@@ -1,9 +0,0 @@
-[Unit]
-Description=LightDM Display Manager
-
-[Service]
-ExecStart=/usr/sbin/lightdm
-StandardOutput=syslog
-
-[Install]
-WantedBy=graphical.target
View
11 etc/systemd/system/slim.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Slim Display Manager
+Requires=dev-tty7.device
+After=dev-tty7.device systemd-user-sessions.service
+
+[Service]
+ExecStart=/usr/bin/slim
+StandardOutput=syslog
+
+[Install]
+WantedBy=graphical.target
View
1  etc/systemd/system/transmission-daemon.service
@@ -4,6 +4,7 @@ Description=Transmission client
[Service]
User=projedi
ExecStart=/usr/bin/transmission-daemon -g /home/projedi/.config/transmission -f
+StandardOutput=syslog
[Install]
WantedBy=multi-user.target
View
9 home/projedi/.vimrc
@@ -5,7 +5,6 @@ if has('gui_running')
colorscheme solarized
set guioptions="a"
set guifont=Monaco\ 9
- map <F9> :ToggleBG<CR>
set lines=100 columns=500
map <C-S-V> "*p
endif
@@ -30,7 +29,7 @@ set shiftwidth=3
set expandtab
set foldmethod=syntax
-map <F2> <C-W>+
-map <F3> <C-W>-
-map <F4> <C-W><
-map <F5> <C-W>>
+map <F3> <C-W>+
+map <F4> <C-W>-
+map <F5> <C-W><
+map <F6> <C-W>>
Please sign in to comment.
Something went wrong with that request. Please try again.