Browse Source

Fxn's: Okular (bg), cherry-pick commit (Git)

red-hat-laptop
Kevin Mok 7 years ago
parent
commit
44868f49cf
  1. 9
      aliases/zsh_aliases
  2. 4
      configs/X1-Carbon/i3/config
  3. 2
      dotfiles/Xresources
  4. 9
      dotfiles/zshrc

9
aliases/zsh_aliases

@ -97,7 +97,7 @@ alias tm="ni $usnp_dir/texmath.snippets"
# applications {{{ # # applications {{{ #
alias rg="ranger" alias rg="ranger"
function ok() { okular $1 ; }
function ok() { okular $1 & ; }
function chr() { google-chrome $1 ; } function chr() { google-chrome $1 ; }
function ni() { nvim $1 ; } function ni() { nvim $1 ; }
alias nisw="f ~/.local/share/nvim/swap" alias nisw="f ~/.local/share/nvim/swap"
@ -265,7 +265,7 @@ function gpsg() {
} }
alias gps="git push" alias gps="git push"
alias gpsfrc="git push --force" alias gpsfrc="git push --force"
alias gdwip="git push -d origin wip && git branch -d wip"
alias gdwip="git push -d origin wip && git branch -D wip"
alias gclear="git stash clear" alias gclear="git stash clear"
# }}} push # # }}} push #
@ -287,6 +287,7 @@ alias crm="mrk README.md"
# functions {{{ # functions {{{
function gcho() { git checkout $1 ; } function gcho() { git checkout $1 ; }
function gcln() { git clone $1 ; } function gcln() { git clone $1 ; }
function gchp() { git cherry-pick $1 ; }
function gremotes() { function gremotes() {
git remote set-url --add --push origin $1 git remote set-url --add --push origin $1
@ -414,8 +415,8 @@ function run() {
# }}} compile and run with input file # # }}} compile and run with input file #
# temp {{{ # # temp {{{ #
alias m8="make checkpasswd && ./checkpasswd < passwd.in"
alias m3="make pfact && ./pfact 10"
alias m8="make checkpasswd && ./checkpasswd < passwd.in"
alias m3="make pfact && ./pfact.out 14"
alias 35w="c9 3-5_wait.c && ./3-5_wait.out abc a" alias 35w="c9 3-5_wait.c && ./3-5_wait.out abc a"
# }}} temp # # }}} temp #

4
configs/X1-Carbon/i3/config

@ -227,8 +227,8 @@ font pango:Hack 10
# function keys {{{ # # function keys {{{ #
# backlight {{{ # # backlight {{{ #
bindsym $mod+Shift+plus exec xbacklight -inc 2
bindsym $mod+Shift+minus exec xbacklight -dec 2
bindsym $mod+control+plus exec xbacklight -inc 2
bindsym $mod+control+minus exec xbacklight -dec 2
# }}} backlight # # }}} backlight #
# connect/disconnect wifi {{{ # # connect/disconnect wifi {{{ #

2
dotfiles/Xresources

@ -1,4 +1,4 @@
URxvt.font: xft:hack:size=12
URxvt.font: xft:hack:size=14
/* transparency {{{ */ /* transparency {{{ */
URxvt*inheritPixmap: true URxvt*inheritPixmap: true

9
dotfiles/zshrc

@ -97,6 +97,7 @@ source ~/linux-config/aliases/zsh_aliases
if [ "$(whoami)" = "kevin" ]; then if [ "$(whoami)" = "kevin" ]; then
export PATH="${PATH}:${HOME}/.local/bin/" export PATH="${PATH}:${HOME}/.local/bin/"
(cat ~/.cache/wal/sequences &) (cat ~/.cache/wal/sequences &)
# keyboard delay/rate
xset r rate 200 60 xset r rate 200 60
fi fi
# NZXT # NZXT
@ -105,10 +106,6 @@ then
xmodmap -e "clear Lock" xmodmap -e "clear Lock"
xmodmap -e "keycode 22 = Caps_Lock" xmodmap -e "keycode 22 = Caps_Lock"
xmodmap -e "keycode 66 = BackSpace" xmodmap -e "keycode 66 = BackSpace"
# keyboard repeat rate
# gsettings set org.gnome.desktop.peripherals.keyboard delay 25
# gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 200
else
xrandr --dpi 150
# else
# xrandr --dpi 150
fi fi
Loading…
Cancel
Save