Browse Source

Initial commit for Arch

red-hat-laptop
Kevin Mok 6 years ago
parent
commit
56842bfd17
  1. 8
      aliases/zsh_aliases
  2. 21
      configs/i3/config
  3. 2
      configs/i3blocks-scripts/wifi
  4. 18
      configs/i3blocks/i3blocks.conf
  5. 6
      configs/neofetch/config.conf
  6. 12
      dotfiles/Xresources
  7. 4
      dotfiles/zshrc

8
aliases/zsh_aliases

@ -1,5 +1,8 @@
# system {{{ #
setopt extendedglob
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd extendedglob nomatch notify
# vim mode {{{ #
bindkey -v
@ -107,6 +110,7 @@ alias vlh="alsamixer -c 2"
# apt
function apti() { sudo apt install $1 ; }
function aptr() { sudo apt remove $1 ; }
function pac() { sudo pacman -S $1 ; }
alias aptu="sudo apt upgrade"
# }}} system #
@ -284,7 +288,7 @@ alias sva="f $spv_dir/src/api"
alias svg="f $spv_dir/src/graphs"
alias svscs="f $spv_dir/src/static/scss"
alias svcss="f $spv_dir/src/spotifyvis/static/scss"
source ~/coding/spotify-lib-vis/src/api-keys.sh
# source ~/coding/spotify-lib-vis/src/api-keys.sh
# source "$spv_dir""/src/api-keys.sh"
function ssv() {
source ../bin/activate

21
configs/i3/config

@ -1,12 +1,15 @@
# startup {{{ #
set $browser "google-chrome"
set $browser "chromium"
set $def_term "urxvt"
# set $runelite "java -jar ~/Downloads/RuneLite.jar"
set $swex "sudo ~/Downloads/swex.appimage"
exec redshift -O 2000
# random bg
exec wal -i "$HOME/Pictures/Backgrounds/dim"
# exec wal -i "$HOME/Pictures/Backgrounds/dim"
exec wal -i "~/Pictures/van.png"
exec imwheel
exec xmodmap ~/.Xmodmap
exec xrdb ~/.Xresources
exec --no-startup-id start-pulseaudio-x11
exec --no-startup-id i3-msg 'workspace $ws2; exec $def_term'
exec --no-startup-id i3-msg 'workspace $ws3; exec $browser'
@ -275,20 +278,10 @@ bindsym control+shift+0 gaps inner all set 0;gaps outer all set 0
# finds out, if available)
set $sb_font Hack NF Bold
bar {
font pango:$sb_font 20
font pango:$sb_font 27
tray_output none
status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
output HDMI-0
wheel_up_cmd nop
wheel_down_cmd nop
}
bar {
output $samsung
status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf
tray_output none
font pango:$sb_font 23
# font pango:monospace 22, FontAwesome 22
output eDP1
wheel_up_cmd nop
wheel_down_cmd nop
}

2
configs/i3blocks-scripts/wifi

@ -33,7 +33,7 @@ W_name=$(nmcli d | grep "$W_inter" | awk '{print $4}')
#------------------------------------------------------------------------
echo $QUALITY% "$W_name" # full text
# echo $QUALITY% "$W_name" # full text
echo $QUALITY% # short text
# color

18
configs/i3blocks/i3blocks.conf

@ -34,13 +34,23 @@ markup=pango
# }}} Global properties #
[time]
label=
command=date '+%H:%M.%a-%m-%d'
interval=30
color=#cccccc
[wifi]
label=
instance=wlp3s0
interval=10
[battery]
label=
interval=10
# unbold this?
[load_average]
label=
label=
interval=5
color=#990000
@ -53,12 +63,8 @@ label=
min_width=CPU: 100.00%
color=#adeaea
# [wifi]
# label=
# instance=wlp4s0
# interval=10
[name]
label=
color=#cc5490
interval=6000

6
configs/neofetch/config.conf

@ -16,13 +16,13 @@ print_info() {
info "Terminal Font" term_font
info "WM" wm
info "WM Theme" wm_theme
info "Theme" theme
# info "Theme" theme
# info "Icons" icons
info "CPU" cpu
# info "CPU Usage" cpu_usage
info "GPU" gpu
# info "GPU" gpu
info "Memory" memory
info "Resolution" resolution
# info "Resolution" resolution
# info "Uptime" uptime
info "Install Date" install_date
info "Song" song

12
dotfiles/Xresources

@ -1,16 +1,16 @@
! URxvt.font: xft:hack:size=14
URxvt.font: xft:hack:size=13
URxvt.font: xft:Hack Nerd Font:size=17
URxvt*inheritPixmap: true
! URxvt*transparent: false
URxvt*transparent: true
! URxvt*shading: 0 to 99 darkens, 101 to 200 lightens
! URxvt*shading: 30
URxvt*shading: 25
URxvt*shading: 30
! URxvt*shading: 200
URxvt.scrollBar: false
/* Clickable URLs {{{ */
! Clickable URLs {{{ */
URxvt.perl-ext-common: default,matcher
URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1
/* }}} Clickable URLs */
! }}} Clickable URLs */

4
dotfiles/zshrc

@ -1,3 +1,5 @@
# default {{{ #
# If you come from bash you might have to change your $PATH.
# Path to your oh-my-zsh installation.
@ -96,6 +98,8 @@ export LC_MESSAGES="C"
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# }}} default #
# pywal
export PATH="${PATH}:${HOME}/.local/bin/"
(cat ~/.cache/wal/sequences &)

Loading…
Cancel
Save