From 86534f2d236c667724c86ba5f7bff9f64f3cd772 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Mon, 3 Dec 2018 05:58:09 -0500 Subject: [PATCH] Initial commit from nzxt-arch --- aliases/zsh_aliases | 4 +++- change-sink.sh | 2 +- configs/i3/config | 26 ++++++++++++++++++-------- dotfiles/Xresources | 2 +- dotfiles/zshrc | 1 + 5 files changed, 24 insertions(+), 11 deletions(-) diff --git a/aliases/zsh_aliases b/aliases/zsh_aliases index b02896a..ef6711d 100644 --- a/aliases/zsh_aliases +++ b/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*" diff --git a/change-sink.sh b/change-sink.sh index 0b4b49a..3273860 100755 --- a/change-sink.sh +++ b/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 diff --git a/configs/i3/config b/configs/i3/config index bbaa1da..ece2935 100644 --- a/configs/i3/config +++ b/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,14 +292,24 @@ 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 - tray_output none - status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf - output eDP1 - wheel_up_cmd nop - wheel_down_cmd nop + font pango:$sb_font 20 + tray_output none + status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf + output $benq + wheel_up_cmd nop + wheel_down_cmd nop } -# }}} status bar # + +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 +} +# }}} status bar # # mod key/font {{{ # set $mod Mod1 diff --git a/dotfiles/Xresources b/dotfiles/Xresources index 1813976..00df323 100644 --- a/dotfiles/Xresources +++ b/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 diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 57d35ca..8485e30 100644 --- a/dotfiles/zshrc +++ b/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