Roice
This commit is contained in:
16
README.md
16
README.md
@@ -1,8 +1,10 @@
|
||||
<!--- Intro {{{ -->
|
||||
# Kevin's Linux Setup
|
||||
|
||||

|
||||
*Screenshot from my desktop config.*
|
||||

|
||||
|
||||

|
||||
*Screenshots from my desktop config.*
|
||||
|
||||
This repository contains the dotfiles to increase my workflow efficiency. They
|
||||
are also for my Linux
|
||||
@@ -30,15 +32,11 @@ they should be in the system.
|
||||
|
||||
<!-- History {{{ -->
|
||||
## History
|
||||
|
||||
### 3/7
|
||||

|
||||
*Laptop.*
|
||||
* [laptop](https://i.imgur.com/UpdX90A.png)
|
||||
|
||||
### 3/5
|
||||

|
||||
*Dual-monitor desktop.*
|
||||
* [dual-monitor desktop](https://i.imgur.com/mbu9aYf.png)
|
||||
* [laptop](https://i.imgur.com/hrSnXmV.png)
|
||||
|
||||

|
||||
*Laptop.*
|
||||
<!-- }}} History -->
|
||||
|
||||
@@ -24,7 +24,7 @@ function src() { source $1 ; }
|
||||
|
||||
alias cs='printf "\033c"'
|
||||
alias hst="history"
|
||||
alias nf="neofetch | lolcat"
|
||||
alias nf="cs && neofetch | lolcat"
|
||||
alias rur="xrdb ~/.Xresources"
|
||||
function gvx() { urxvt --help 2>&1 | grep $1 ; }
|
||||
# list file sizes in megabytes with depth 1
|
||||
@@ -127,7 +127,7 @@ alias lca="f ~/linux-config/aliases"
|
||||
source ~/.shortcuts
|
||||
# i3
|
||||
alias i3b="f ~/i3blocks"
|
||||
alias pipes="pipes.sh -t 2"
|
||||
alias pipes="pipes.sh -t 3"
|
||||
|
||||
# UltiSnips {{{ #
|
||||
urnp_dir="~/.vim/plugged/vim-snippets/UltiSnips"
|
||||
@@ -150,7 +150,6 @@ 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 ; }
|
||||
@@ -234,7 +233,7 @@ alias grbc="git rebase --continue"
|
||||
# }}} update #
|
||||
|
||||
# edit {{{ #
|
||||
alias vir="ni README.md"
|
||||
alias vre="ni README.md"
|
||||
alias crm="mrk README.md"
|
||||
# }}} edit #
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ bindsym Shift+F0 exec xbacklight -set 100
|
||||
|
||||
# menu {{{ #
|
||||
# start dmenu (a program launcher)
|
||||
bindsym Mod4+Return exec dmenu_run
|
||||
# bindsym Mod4+Return exec dmenu_run
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
@@ -145,6 +145,31 @@ bindsym $mod+a focus parent
|
||||
|
||||
# focus the child container
|
||||
#bindsym $mod+d focus child
|
||||
|
||||
# change container colors from pywal {{{ #
|
||||
|
||||
# Set colors from Xresources
|
||||
# Change 'color7' and 'color2' to whatever colors you want i3 to use
|
||||
# from the generated scheme.
|
||||
# NOTE: The '#f0f0f0' in the lines below is the color i3 will use if
|
||||
# it fails to get colors from Xresources.
|
||||
set_from_resource $fg i3wm.color7 #f0f0f0
|
||||
set_from_resource $bg i3wm.color2 #f0f0f0
|
||||
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused $bg $bg $fg $bg $bg
|
||||
client.focused_inactive $bg $bg $fg $bg $bg
|
||||
client.unfocused $bg $bg $fg $bg $bg
|
||||
client.urgent $bg $bg $fg $bg $bg
|
||||
client.placeholder $bg $bg $fg $bg $bg
|
||||
|
||||
client.background $bg
|
||||
|
||||
# PROTIP: You can also dynamically set dmenu's colors this way:
|
||||
bindsym Mod4+Return exec dmenu_run -nb "$fg" -nf "$bg" -sb "$bg" -sf "$fg"
|
||||
|
||||
# }}} change container colors from pywal #
|
||||
|
||||
# }}} container display #
|
||||
|
||||
# workspace {{{ #
|
||||
@@ -276,15 +301,14 @@ 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 4
|
||||
set $inner_gaps 30
|
||||
set $outer_gaps 5
|
||||
# gaps inner $inner_gaps
|
||||
# gaps outer $outer_gaps
|
||||
gaps inner 0
|
||||
gaps outer 0
|
||||
|
||||
gaps inner $inner_gaps
|
||||
gaps outer $outer_gaps
|
||||
# gaps inner 0
|
||||
# gaps outer 0
|
||||
|
||||
# other gaps {{{ #
|
||||
|
||||
@@ -322,30 +346,30 @@ bar {
|
||||
|
||||
# # 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
|
||||
status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf
|
||||
tray_output none
|
||||
font pango:$sb_font 23
|
||||
tray_output none
|
||||
status_command i3blocks -c ~/.config/i3blocks/i3blocks-display.conf
|
||||
output $samsung
|
||||
wheel_up_cmd nop
|
||||
wheel_down_cmd nop
|
||||
}
|
||||
|
||||
# }}} samsung bar #
|
||||
# }}} display #
|
||||
|
||||
# # samsung bar {{{ #
|
||||
|
||||
# bar {
|
||||
# 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 #
|
||||
|
||||
|
||||
@@ -37,38 +37,39 @@ markup=pango
|
||||
label=
|
||||
command=date '+%H:%M.%a-%m-%d'
|
||||
interval=30
|
||||
color=#cccccc
|
||||
color=#acc0cd
|
||||
|
||||
[spotify]
|
||||
command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
|
||||
label=
|
||||
# color=#006600
|
||||
color=#388E8E
|
||||
color=#999999
|
||||
interval=5
|
||||
|
||||
# [wifi]
|
||||
# label=
|
||||
# instance=wlp3s0
|
||||
# instance=wlp4s0
|
||||
# interval=10
|
||||
|
||||
# unbold this?
|
||||
[load_average]
|
||||
# [load_average]
|
||||
# label=
|
||||
# interval=5
|
||||
# color=#990000
|
||||
|
||||
# [cpu_usage -w 50 -c 80]
|
||||
[cpu_usage]
|
||||
label=
|
||||
interval=5
|
||||
color=#990000
|
||||
interval=5
|
||||
|
||||
[memory]
|
||||
label=
|
||||
color=#006600
|
||||
|
||||
[cpu_usage -w 50 -c 80]
|
||||
label=
|
||||
min_width=CPU: 100.00%
|
||||
color=#adeaea
|
||||
color=#3da061
|
||||
interval=5
|
||||
|
||||
[name]
|
||||
label=
|
||||
color=#cc5490
|
||||
color=#1e5b99
|
||||
interval=6000
|
||||
|
||||
# unused blocks {{{ #
|
||||
|
||||
@@ -37,7 +37,7 @@ markup=pango
|
||||
label=
|
||||
command=date '+%H:%M.%a-%m-%d'
|
||||
interval=30
|
||||
color=#cccccc
|
||||
color=#acc0cd
|
||||
|
||||
# [wifi]
|
||||
# label=
|
||||
@@ -58,12 +58,13 @@ interval=5
|
||||
|
||||
[memory]
|
||||
label=
|
||||
color=#addfe3
|
||||
color=#3da061
|
||||
interval=5
|
||||
|
||||
[name]
|
||||
label=
|
||||
color=#cc5490
|
||||
# color=#ba50a9
|
||||
color=#1e5b99
|
||||
interval=6000
|
||||
|
||||
# unused blocks {{{ #
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# sys {{{ *
|
||||
|
||||
3 ~/.config/i3/config
|
||||
3b ~/.config/i3blocks/i3blocks.conf
|
||||
d ~/linux-config/txt/key_dirs.txt
|
||||
f ~/linux-config/txt/key_files.txt
|
||||
i ~/.config/i3blocks/i3blocks.conf
|
||||
r ~/.config/ranger/rc.conf
|
||||
sr ~/linux-config/configs/ranger/shortcuts.conf
|
||||
ss ~/.shortcuts
|
||||
@@ -19,8 +19,8 @@ z ~/linux-config/aliases/zsh_aliases
|
||||
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
|
||||
jn ~/Documents/journal/todo/11.md
|
||||
jnt ~/Documents/journal/todo/todo.md
|
||||
n ./.gitignore
|
||||
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
|
||||
ig ./.gitignore
|
||||
|
||||
# }}} cdn *
|
||||
|
||||
|
||||
Reference in New Issue
Block a user