Roice
This commit is contained in:
16
README.md
16
README.md
@@ -1,8 +1,10 @@
|
|||||||
<!--- Intro {{{ -->
|
<!--- Intro {{{ -->
|
||||||
# Kevin's Linux Setup
|
# 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
|
This repository contains the dotfiles to increase my workflow efficiency. They
|
||||||
are also for my Linux
|
are also for my Linux
|
||||||
@@ -30,15 +32,11 @@ they should be in the system.
|
|||||||
|
|
||||||
<!-- History {{{ -->
|
<!-- History {{{ -->
|
||||||
## History
|
## History
|
||||||
|
|
||||||
### 3/7
|
### 3/7
|
||||||

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

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

|
|
||||||
*Laptop.*
|
|
||||||
<!-- }}} History -->
|
<!-- }}} History -->
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ function src() { source $1 ; }
|
|||||||
|
|
||||||
alias cs='printf "\033c"'
|
alias cs='printf "\033c"'
|
||||||
alias hst="history"
|
alias hst="history"
|
||||||
alias nf="neofetch | lolcat"
|
alias nf="cs && neofetch | lolcat"
|
||||||
alias rur="xrdb ~/.Xresources"
|
alias rur="xrdb ~/.Xresources"
|
||||||
function gvx() { urxvt --help 2>&1 | grep $1 ; }
|
function gvx() { urxvt --help 2>&1 | grep $1 ; }
|
||||||
# list file sizes in megabytes with depth 1
|
# list file sizes in megabytes with depth 1
|
||||||
@@ -127,7 +127,7 @@ alias lca="f ~/linux-config/aliases"
|
|||||||
source ~/.shortcuts
|
source ~/.shortcuts
|
||||||
# i3
|
# i3
|
||||||
alias i3b="f ~/i3blocks"
|
alias i3b="f ~/i3blocks"
|
||||||
alias pipes="pipes.sh -t 2"
|
alias pipes="pipes.sh -t 3"
|
||||||
|
|
||||||
# UltiSnips {{{ #
|
# UltiSnips {{{ #
|
||||||
urnp_dir="~/.vim/plugged/vim-snippets/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 chr() { google-chrome $1 ; }
|
||||||
function ni() { nvim $1 ; }
|
function ni() { nvim $1 ; }
|
||||||
function sni() { sudo 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 && chr ${1%.*}.html ; }
|
||||||
function mrk() { pandoc -o ${1%.*}.html $1 ; }
|
function mrk() { pandoc -o ${1%.*}.html $1 ; }
|
||||||
function auc() { xdotool click --repeat 1000000 --delay $1 1 ; }
|
function auc() { xdotool click --repeat 1000000 --delay $1 1 ; }
|
||||||
@@ -234,7 +233,7 @@ alias grbc="git rebase --continue"
|
|||||||
# }}} update #
|
# }}} update #
|
||||||
|
|
||||||
# edit {{{ #
|
# edit {{{ #
|
||||||
alias vir="ni README.md"
|
alias vre="ni README.md"
|
||||||
alias crm="mrk README.md"
|
alias crm="mrk README.md"
|
||||||
# }}} edit #
|
# }}} edit #
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ bindsym Shift+F0 exec xbacklight -set 100
|
|||||||
|
|
||||||
# menu {{{ #
|
# menu {{{ #
|
||||||
# start dmenu (a program launcher)
|
# 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
|
# 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
|
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||||
# installed.
|
# installed.
|
||||||
@@ -145,6 +145,31 @@ bindsym $mod+a focus parent
|
|||||||
|
|
||||||
# focus the child container
|
# focus the child container
|
||||||
#bindsym $mod+d focus child
|
#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 #
|
# }}} container display #
|
||||||
|
|
||||||
# workspace {{{ #
|
# workspace {{{ #
|
||||||
@@ -276,15 +301,14 @@ bindsym $mod+control+l resize shrink width 3 px or 3 ppt
|
|||||||
# gaps {{{ #
|
# gaps {{{ #
|
||||||
|
|
||||||
# remove window titlebars
|
# remove window titlebars
|
||||||
for_window [class="^.*"] border pixel 5
|
for_window [class="^.*"] border pixel 4
|
||||||
# for_window [class="^.*"] border pixel 2
|
|
||||||
|
|
||||||
set $inner_gaps 30
|
set $inner_gaps 30
|
||||||
set $outer_gaps 5
|
set $outer_gaps 5
|
||||||
# gaps inner $inner_gaps
|
|
||||||
# gaps outer $outer_gaps
|
gaps inner $inner_gaps
|
||||||
gaps inner 0
|
gaps outer $outer_gaps
|
||||||
gaps outer 0
|
# gaps inner 0
|
||||||
|
# gaps outer 0
|
||||||
|
|
||||||
# other gaps {{{ #
|
# other gaps {{{ #
|
||||||
|
|
||||||
@@ -322,30 +346,30 @@ bar {
|
|||||||
|
|
||||||
# # display {{{ #
|
# # 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 {
|
bar {
|
||||||
output $samsung
|
|
||||||
# output $benq
|
|
||||||
status_command i3blocks -c ~/.config/sam-i3blocks/sam-i3blocks.conf
|
|
||||||
tray_output none
|
|
||||||
font pango:$sb_font 23
|
font pango:$sb_font 23
|
||||||
|
tray_output none
|
||||||
|
status_command i3blocks -c ~/.config/i3blocks/i3blocks-display.conf
|
||||||
|
output $samsung
|
||||||
wheel_up_cmd nop
|
wheel_up_cmd nop
|
||||||
wheel_down_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 #
|
# }}} status bar #
|
||||||
|
|
||||||
|
|||||||
@@ -37,38 +37,39 @@ markup=pango
|
|||||||
label=
|
label=
|
||||||
command=date '+%H:%M.%a-%m-%d'
|
command=date '+%H:%M.%a-%m-%d'
|
||||||
interval=30
|
interval=30
|
||||||
color=#cccccc
|
color=#acc0cd
|
||||||
|
|
||||||
[spotify]
|
[spotify]
|
||||||
command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
|
command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
|
||||||
label=
|
label=
|
||||||
# color=#006600
|
color=#999999
|
||||||
color=#388E8E
|
|
||||||
interval=5
|
interval=5
|
||||||
|
|
||||||
# [wifi]
|
# [wifi]
|
||||||
# label=
|
# label=
|
||||||
# instance=wlp3s0
|
# instance=wlp4s0
|
||||||
# interval=10
|
# interval=10
|
||||||
|
|
||||||
# unbold this?
|
# unbold this?
|
||||||
[load_average]
|
# [load_average]
|
||||||
|
# label=
|
||||||
|
# interval=5
|
||||||
|
# color=#990000
|
||||||
|
|
||||||
|
# [cpu_usage -w 50 -c 80]
|
||||||
|
[cpu_usage]
|
||||||
label=
|
label=
|
||||||
interval=5
|
|
||||||
color=#990000
|
color=#990000
|
||||||
|
interval=5
|
||||||
|
|
||||||
[memory]
|
[memory]
|
||||||
label=
|
label=
|
||||||
color=#006600
|
color=#3da061
|
||||||
|
interval=5
|
||||||
[cpu_usage -w 50 -c 80]
|
|
||||||
label=
|
|
||||||
min_width=CPU: 100.00%
|
|
||||||
color=#adeaea
|
|
||||||
|
|
||||||
[name]
|
[name]
|
||||||
label=
|
label=
|
||||||
color=#cc5490
|
color=#1e5b99
|
||||||
interval=6000
|
interval=6000
|
||||||
|
|
||||||
# unused blocks {{{ #
|
# unused blocks {{{ #
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ markup=pango
|
|||||||
label=
|
label=
|
||||||
command=date '+%H:%M.%a-%m-%d'
|
command=date '+%H:%M.%a-%m-%d'
|
||||||
interval=30
|
interval=30
|
||||||
color=#cccccc
|
color=#acc0cd
|
||||||
|
|
||||||
# [wifi]
|
# [wifi]
|
||||||
# label=
|
# label=
|
||||||
@@ -58,12 +58,13 @@ interval=5
|
|||||||
|
|
||||||
[memory]
|
[memory]
|
||||||
label=
|
label=
|
||||||
color=#addfe3
|
color=#3da061
|
||||||
interval=5
|
interval=5
|
||||||
|
|
||||||
[name]
|
[name]
|
||||||
label=
|
label=
|
||||||
color=#cc5490
|
# color=#ba50a9
|
||||||
|
color=#1e5b99
|
||||||
interval=6000
|
interval=6000
|
||||||
|
|
||||||
# unused blocks {{{ #
|
# unused blocks {{{ #
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
# sys {{{ *
|
# sys {{{ *
|
||||||
|
|
||||||
3 ~/.config/i3/config
|
3 ~/.config/i3/config
|
||||||
3b ~/.config/i3blocks/i3blocks.conf
|
|
||||||
d ~/linux-config/txt/key_dirs.txt
|
d ~/linux-config/txt/key_dirs.txt
|
||||||
f ~/linux-config/txt/key_files.txt
|
f ~/linux-config/txt/key_files.txt
|
||||||
|
i ~/.config/i3blocks/i3blocks.conf
|
||||||
r ~/.config/ranger/rc.conf
|
r ~/.config/ranger/rc.conf
|
||||||
sr ~/linux-config/configs/ranger/shortcuts.conf
|
sr ~/linux-config/configs/ranger/shortcuts.conf
|
||||||
ss ~/.shortcuts
|
ss ~/.shortcuts
|
||||||
@@ -19,8 +19,8 @@ z ~/linux-config/aliases/zsh_aliases
|
|||||||
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
|
hlg ~/coding/spotify-lib-vis/src/api/management/commands/update-history.log
|
||||||
jn ~/Documents/journal/todo/11.md
|
jn ~/Documents/journal/todo/11.md
|
||||||
jnt ~/Documents/journal/todo/todo.md
|
jnt ~/Documents/journal/todo/todo.md
|
||||||
|
n ./.gitignore
|
||||||
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
|
tm ~/.vim/plugged/vim-snippets/UltiSnips/texmath.snippets
|
||||||
ig ./.gitignore
|
|
||||||
|
|
||||||
# }}} cdn *
|
# }}} cdn *
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user