From 7ec4026a56582655fd70f15785f30af5af315df7 Mon Sep 17 00:00:00 2001 From: Kevin Mok Date: Mon, 3 Dec 2018 09:03:28 -0500 Subject: [PATCH] Reset back to more standard config --- aliases/zsh_aliases | 2 ++ configs/i3/config | 48 +++++++++++++++++++++++++++++---------------- 2 files changed, 33 insertions(+), 17 deletions(-) diff --git a/aliases/zsh_aliases b/aliases/zsh_aliases index 6d13f87..4ee8457 100644 --- a/aliases/zsh_aliases +++ b/aliases/zsh_aliases @@ -70,6 +70,7 @@ alias "f.."="f ..." function mvd() { mv $1 ~/Downloads ; } alias lhd="sudo fdisk -l" +alias ds="df -h | grep sd" # }}} directory-related # @@ -148,6 +149,7 @@ function xv() { nohup xviewer $1 > /dev/null 2>&1& ; } function chr() { google-chrome $1 ; } function ni() { nvim $1 ; } function sni() { sudo nvim $1 ; } +alias spt="spotify $silent" # function mrk() { pandoc -o ${1%.*}.html $1 && chr ${1%.*}.html ; } function mrk() { pandoc -o ${1%.*}.html $1 ; } function auc() { xdotool click --repeat 1000000 --delay $1 1 ; } diff --git a/configs/i3/config b/configs/i3/config index 6ae910a..629343d 100644 --- a/configs/i3/config +++ b/configs/i3/config @@ -277,8 +277,8 @@ bindsym $mod+control+l resize shrink width 3 px or 3 ppt # gaps {{{ # # remove window titlebars -# for_window [class="^.*"] border pixel 5 -for_window [class="^.*"] border pixel 2 +for_window [class="^.*"] border pixel 5 +# for_window [class="^.*"] border pixel 2 gaps inner 30 gaps outer 10 @@ -296,7 +296,7 @@ gaps outer 10 # }}} other gaps # -bindsym control+shift+plus gaps inner all set 25;gaps outer all set 5 +bindsym control+shift+plus gaps inner all set 30;gaps outer all set 10 bindsym control+shift+0 gaps inner all set 0;gaps outer all set 0 # }}} gaps # @@ -305,33 +305,47 @@ bindsym control+shift+0 gaps inner all set 0;gaps outer all set 0 # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) set $sb_font Hack NF Bold + +# benq bar {{{ # + +bar { + 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 +} + +# }}} benq bar # + +# # display {{{ # + # bar { - # font pango:$sb_font 20 + # font pango:$sb_font 24 # tray_output none - # status_command i3blocks -c ~/.config/i3blocks/i3blocks.conf - # output $benq + # status_command i3blocks -c ~/.config/i3blocks/i3blocks-display.conf + # output $samsung # wheel_up_cmd nop # wheel_down_cmd nop # } -# display -bar { - font pango:$sb_font 24 - tray_output none - status_command i3blocks -c ~/.config/i3blocks/i3blocks-display.conf - output $samsung - wheel_up_cmd nop - wheel_down_cmd nop -} + +# # }}} display # + +# samsung bar {{{ # bar { - # output $samsung - output $benq + output $samsung + # output $benq status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf tray_output none font pango:$sb_font 23 wheel_up_cmd nop wheel_down_cmd nop } + +# }}} samsung bar # + # }}} status bar # # mod key/font {{{ #