Skip to content

Instantly share code, notes, and snippets.

#
# /etc/makepkg.conf
#
export CC=clang
export CXX=clang++
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
@0rbadvent
0rbadvent / xrandr-ck
Created October 10, 2017 05:09
xrandr linux-ck amdgpu auto names could change in xorg.conf but xorg.conf f-s up with llvm 6 atm
xrandr --fb 4100x1500 --output 0x58 --mode 0x75 --pos 0x46 --scale 1x0.82 --rotate right --gamma ${g1}:${g2}:${g3} --brightness ${b1} --output 0x56 --mode 0x5a --primary --brightness ${b2} --gamma ${g4}:${g5}:${g6} --pos 1024x0 --output 0x57 --mode 0x73 --gamma ${g7}:${g8}:${g9} --brightness ${b3} --pos 2950x-5 --scale 1x0.78 --rotate right
@0rbadvent
0rbadvent / xrandr-ckv2
Created November 5, 2017 02:50
xrandr-ckv2
#/bin/sh
#if [ $# -eq 12 ]
# # then
b1=1
b2=1
b3=1
g1=1
g2=1
g3=1
@0rbadvent
0rbadvent / .makepkg1.conf
Created November 5, 2017 03:09
switch makepkg.conf between clang and gcc
# clang
# /etc/makepkg.conf
#
export CC=clang
export CXX=clang++
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
@0rbadvent
0rbadvent / compton.conf
Created November 20, 2017 16:24
compton.conf
shadow = true;
no-dnd-shadow = false;
no-dock-shadow = false;
clear-shadow = true;
shadow-radius = 11.0;
shadow-offset-x = -10;
shadow-offset-y = -10;
shadow-opacity = 0.6;
shadow-ignore-shaped = true;
shadow-exclude = [
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
MODULES=(amdgpu ehci_hcd uhci_hcd ohci_hcd xhci_hcd fam15h_power k10temp it87)
# BINARIES
# This setting includes any additional binaries a given user may
chip "it8728-isa-0228"
label in0 "VCore" # CPU Core Voltage
label in1 "VDDR" # DDR2 1.8V
label in2 "+3.3V" # VCC3
label in3 "+5V" # VCC
label in4 "+12V"
label in5 "-12V" # Not in the BIOS, maybe not really -12V
label in6 "-5V" # Not in the BIOS, maybe not really -5V
label in7 "3.3VSB" # VCCH
label in8 "VBat"
chip "k10temp-*"
compute temp1 (@/2.56)+36.4921875, (@-36.4921875)*2.56
# GRUB boot loader configuration
GRUB_DEFAULT="saved"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="ArchMerge"
GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=on amd_iommu_dump=on iommu=pt acpi_osi=Windows acpi_enforce_resources=lax ipv6.disable=1 amdgpu.si_support=1 radeon.si_support=0 amdgpu.cik_support=1 radeon.cik_support=0 amdgpu.audio=1 amdgpu.dc=1 gpu.lockup_timeout=6000 sysrq_always_enabled noquiet resume=UUID=23c7974f-aaca-47b5-9522-f2bd7cc817e6"
GRUB_CMDLINE_LINUX=""
# ~/.zshrc
####################################
umask 077
export ZSH=/usr/share/oh-my-zsh
ZDOTDIR=${ZDOTDIR:-${HOME}}
HISTFILE=~/.zsh_history
HISTSIZE=10000
SAVEHIST=200000
export TERM="xterm-256color"