Browse Source

Initial commit from nzxt-arch

red-hat-laptop
Kevin Mok 6 years ago
parent
commit
86534f2d23
  1. 4
      aliases/zsh_aliases
  2. 2
      change-sink.sh
  3. 16
      configs/i3/config
  4. 2
      dotfiles/Xresources
  5. 1
      dotfiles/zshrc

4
aliases/zsh_aliases

@ -114,6 +114,7 @@ function aptr() { sudo apt remove $1 ; }
function pac() { sudo pacman -S $1 ; }
function pcr() { sudo pacman -Rs $1 ; }
alias aptu="sudo apt upgrade"
# }}} system #
# config files {{{ #
@ -135,7 +136,7 @@ function vsnp() { ni ~/.vim/plugged/vim-snippets/UltiSnips/"$1".snippets ; }
# applications {{{ #
silent="> /dev/null 2>&1& "
alias r="ranger"
alias rg="ranger"
alias mr="man ranger"
# okular
# function ok() { nohup okular $1 > /dev/null 2>&1& ; }
@ -155,6 +156,7 @@ function auc() { xdotool click --repeat 1000000 --delay $1 1 ; }
# alias kauc="pkill -f xdotool"
# alias rsl="java -jar ~/Downloads/RuneLite.jar"
alias swex="sudo nohup ~/Downloads/swex.appimage $silent"
alias h="htop"
alias vbn="cvlc --loop --alsa-gain 1 ~/Music/brown-noise.mp3"
alias rmsw="rm .sw*"

2
change-sink.sh

@ -2,7 +2,7 @@
#Device name variable
if [ $1 = "dac" ]; then
devicename="alsa_output.usb-FiiO_DigiHug_USB_Audio-01.iec958-stereo"
devicename="alsa_output.usb-FiiO_DigiHug_USB_Audio-01.analog-stereo"
elif [ $1 = "line-out" ]; then
devicename="alsa_output.pci-0000_00_14.2.analog-stereo"
fi

16
configs/i3/config

@ -150,7 +150,7 @@ bindsym $mod+a focus parent
# workspace {{{ #
# ws names {{{ #
set $samsung "DVI-I-1"
set $benq "HDMI-0"
set $benq "HDMI-1"
set $ws1 "1 "
workspace $ws1 output $benq
@ -292,10 +292,20 @@ 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 27
font pango:$sb_font 20
tray_output none
status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf
output eDP1
output $benq
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
wheel_up_cmd nop
wheel_down_cmd nop
}

2
dotfiles/Xresources

@ -1,4 +1,4 @@
URxvt.font: xft:Hack Nerd Font:size=18
URxvt.font: xft:Hack Nerd Font:size=14
! URxvt.font: xft:Hack NF:size=18
! URxvt.font: xft:Hack:size=18

1
dotfiles/zshrc

@ -11,6 +11,7 @@
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="bira"
# ZSH_THEME="miloshadzic"
# Set list of themes to load
# Setting this variable when ZSH_THEME=random

Loading…
Cancel
Save