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

21
configs/i3/config

@ -1,12 +1,15 @@
# startup {{{ # # startup {{{ #
set $browser "google-chrome"
set $browser "chromium"
set $def_term "urxvt" set $def_term "urxvt"
# set $runelite "java -jar ~/Downloads/RuneLite.jar" # set $runelite "java -jar ~/Downloads/RuneLite.jar"
set $swex "sudo ~/Downloads/swex.appimage" set $swex "sudo ~/Downloads/swex.appimage"
exec redshift -O 2000 exec redshift -O 2000
# random bg # 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 imwheel
exec xmodmap ~/.Xmodmap
exec xrdb ~/.Xresources
exec --no-startup-id start-pulseaudio-x11 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 $ws2; exec $def_term'
exec --no-startup-id i3-msg 'workspace $ws3; exec $browser' 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) # finds out, if available)
set $sb_font Hack NF Bold set $sb_font Hack NF Bold
bar { bar {
font pango:$sb_font 20
font pango:$sb_font 27
tray_output none tray_output none
status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf 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_up_cmd nop
wheel_down_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 echo $QUALITY% # short text
# color # color

18
configs/i3blocks/i3blocks.conf

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

6
configs/neofetch/config.conf

@ -16,13 +16,13 @@ print_info() {
info "Terminal Font" term_font info "Terminal Font" term_font
info "WM" wm info "WM" wm
info "WM Theme" wm_theme info "WM Theme" wm_theme
info "Theme" theme
# info "Theme" theme
# info "Icons" icons # info "Icons" icons
info "CPU" cpu info "CPU" cpu
# info "CPU Usage" cpu_usage # info "CPU Usage" cpu_usage
info "GPU" gpu
# info "GPU" gpu
info "Memory" memory info "Memory" memory
info "Resolution" resolution
# info "Resolution" resolution
# info "Uptime" uptime # info "Uptime" uptime
info "Install Date" install_date info "Install Date" install_date
info "Song" song 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*inheritPixmap: true
! URxvt*transparent: false
URxvt*transparent: true URxvt*transparent: true
! URxvt*shading: 0 to 99 darkens, 101 to 200 lightens ! 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 URxvt.scrollBar: false
/* Clickable URLs {{{ */
! Clickable URLs {{{ */
URxvt.perl-ext-common: default,matcher URxvt.perl-ext-common: default,matcher
URxvt.url-launcher: /usr/bin/xdg-open URxvt.url-launcher: /usr/bin/xdg-open
URxvt.matcher.button: 1 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. # If you come from bash you might have to change your $PATH.
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
@ -96,6 +98,8 @@ export LC_MESSAGES="C"
# alias zshconfig="mate ~/.zshrc" # alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
# }}} default #
# pywal # pywal
export PATH="${PATH}:${HOME}/.local/bin/" export PATH="${PATH}:${HOME}/.local/bin/"
(cat ~/.cache/wal/sequences &) (cat ~/.cache/wal/sequences &)

Loading…
Cancel
Save