Browse Source

Max rice

red-hat-laptop
Kevin Mok 6 years ago
parent
commit
91b20d1c10
  1. 22
      README.md
  2. 1
      aliases/zsh_aliases
  3. 44
      configs/i3/config
  4. 166
      configs/i3blocks/i3blocks-display.conf
  5. 7
      configs/neofetch/config.conf

22
README.md

@ -1,8 +1,8 @@
<!--- Intro {{{ -->
# Kevin's Linux Setup
![laptop-screenshot](https://i.imgur.com/UpdX90A.png)
*Screenshot from my laptop config.*
![desktop-screenshot](https://i.imgur.com/DivyfTu.png)
*Screenshot from my desktop config.*
This repository contains the dotfiles to increase my workflow efficiency. They
are also for my Linux
@ -11,7 +11,7 @@ are also for my Linux
<!--- Basic Info {{{ -->
## Basic Info
* **OS**: Linux Mint 18.2
* **OS**: [Arch Linux](https://www.archlinux.org/)
* **Terminal**: [urxvt](https://www.wikiwand.com/en/Rxvt)
* **Shell**: [Zsh](http://zsh.sourceforge.net/)
* **WM**: [i3-gaps](https://github.com/Airblader/i3)
@ -32,29 +32,23 @@ screen size, etc.).
<!--- Programs Used {{{ -->
## Programs Used
* [Bash-it](https://github.com/Bash-it/bash-it/) - For autocompletion and themes.
* [cmatrix](https://github.com/abishekvashok/cmatrix) - Matrix screensaver.
* [i3blocks](https://github.com/vivien/i3blocks) - Alternative status bar for
i3wm.
* [Various Vim plug-ins](https://github.com/Kevin-Mok/linux-config/blob/4dce53aafcd7cdafe888a92ec0dd6466cc07ca9f/dotfiles/vimrc#L36)
* [Various Vim plug-ins](https://github.com/Kevin-Mok/linux-config/blob/master/dotfiles/vimrc#L54)
* [Neofetch](https://github.com/dylanaraps/neofetch) - CLI-based app to display
system information.
* [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh) - For Zsh config and
themes.
* [pipes.sh](https://github.com/pipeseroni/pipes.sh) - Animated pipes
screensaver.
* [pywal](https://github.com/dylanaraps/pywal) - Color scheme coordinator.
<!--- }}} Programs Used -->
<!--- Switch From (To-Do) {{{ -->
## Switch From (To-Do)
* Linux Mint ➔ Arch Linux
* Google Chrome ➔ [qutebrowser](https://github.com/qutebrowser/qutebrowser)
<!--- }}} From (To-Do) -->
<!-- History {{{ -->
## History
### 3/7
![laptop-screenshot](https://i.imgur.com/UpdX90A.png)
*Laptop.*
### 3/5
![desktop-screenshot](https://i.imgur.com/mbu9aYf.png)
*Dual-monitor desktop.*

1
aliases/zsh_aliases

@ -47,6 +47,7 @@ function cpd() { cp -avr $1 $2 ; }
function untar() { tar -xzvf $1 && rm $1; }
function rzip() { unzip $1 && rm $1; }
function lzip() { unzip -l $1 | less; }
alias mkpk="makepkg -sri"
function mkex() { chmod 777 $1 ; }

44
configs/i3/config

@ -40,7 +40,7 @@ bindsym Mod4+r exec $runelite
bindsym control+$mod+s exec systemctl suspend
bindsym Mod4+t exec st
bindsym Mod4+x exec $swex
bindsym Print exec ksnapshot
bindsym Print exec gscreenshot
# }}} app shortcuts #
# redshift {{{ #
@ -277,11 +277,24 @@ bindsym $mod+control+l resize shrink width 3 px or 3 ppt
# gaps {{{ #
# remove window titlebars
for_window [class="^.*"] border pixel 5
# default gaps
# gaps inner 25
gaps inner 0
gaps outer 0
# for_window [class="^.*"] border pixel 5
for_window [class="^.*"] border pixel 2
gaps inner 30
gaps outer 10
# gaps inner 0
# gaps outer 0
# other gaps {{{ #
# gaps horizontal 20
# gaps vertical 10
# gaps top
# gaps left 20
# gaps right 20
# gaps bottom
# }}} other gaps #
bindsym control+shift+plus gaps inner all set 25;gaps outer all set 5
bindsym control+shift+0 gaps inner all set 0;gaps outer all set 0
@ -292,21 +305,30 @@ 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
# 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
# }
# 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
}
bar {
output $samsung
# output $samsung
output $benq
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
}

166
configs/i3blocks/i3blocks-display.conf

@ -0,0 +1,166 @@
# properties {{{ #
# i3blocks config file
#
# Please see man i3blocks for a complete reference!
# The man page is also hosted at http://vivien.github.io/i3blocks
#
# List of valid properties:
#
# align
# color
# command
# full_text
# instance
# interval
# label
# min_width
# name
# separator
# separator_block_width
# short_text
# signal
# urgent
# }}} properties #
# Global properties {{{ #
# The top properties below are applied to every block, but can be overridden.
# Each block command defaults to the script name to avoid boilerplate.
align=center
# command=/usr/share/i3blocks/$BLOCK_NAME
command=~/linux-config/configs/i3blocks-scripts/$BLOCK_NAME
separator=true
separator_block_width=25
markup=pango
# }}} Global properties #
[time]
label=
command=date '+%H:%M.%a-%m-%d'
interval=30
color=#cccccc
[spotify]
command=python ~/linux-config/configs/i3blocks-scripts/spotify.py
label=
# color=#006600
color=#388E8E
interval=5
# [wifi]
# label=
# instance=wlp3s0
# interval=10
# unbold this?
[load_average]
label=
interval=5
color=#990000
[memory]
label=
color=#006600
[cpu_usage -w 50 -c 80]
label=
min_width=CPU: 100.00%
color=#adeaea
[name]
label=
color=#cc5490
interval=6000
# unused blocks {{{ #
# Volume indicator
#
# The first parameter sets the step (and units to display)
# The second parameter overrides the mixer selection
# See the script for details.
# [volume]
# label=VOL
# #label=♪
# instance=Master
# #instance=PCM
# interval=once
# signal=10
# [memory]
# label=SWAP
# instance=swap
# separator=false
# interval=30
# Disk usage
#
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
# [disk]
# label=HOME
# #instance=/mnt/data
# interval=30
# Network interface monitoring
#
# If the instance is not specified, use the interface used for default route.
# The address can be forced to IPv4 or IPv6 with -4 or -6 switches.
# [iface]
# #instance=wlan0
# color=#00FF00
# interval=10
# separator=false
# [bandwidth]
# #instance=eth0
# interval=5
# Battery indicator
#
# The battery instance defaults to 0.
# [battery]
# label=BAT
# #label=⚡
# #instance=1
# interval=30
# Generic media player support
#
# This displays "ARTIST - SONG" if a music is playing.
# Supported players are: spotify, vlc, audacious, xmms2, mplayer, and others.
#[mediaplayer]
#instance=spotify
#interval=5
#signal=10
# OpenVPN support
#
# Support multiple VPN, with colors.
#[openvpn]
#interval=20
# Temperature
#
# Support multiple chips, though lm-sensors.
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
#[temperature]
#label=TEMP
#interval=10
# Key indicators
#
# Add the following bindings to i3 config file:
#
# bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
# bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
#[keyindicator]
#instance=CAPS
#interval=once
#signal=11
#[keyindicator]
#instance=NUM
#interval=once
#signal=11
# }}} unused blocks #

7
configs/neofetch/config.conf

@ -19,11 +19,11 @@ print_info() {
# info "Theme" theme
# info "Icons" icons
info "CPU" cpu
info "GPU" gpu
# info "CPU Usage" cpu_usage
# info "GPU" gpu
info "Memory" memory
info "Disk" disk
# info "Resolution" resolution
info "Resolution" resolution
# info "Uptime" uptime
info "Install Date" install_date
info "Song" song
@ -546,6 +546,7 @@ disk_display="off"
# Values: 'ascii', 'caca', 'catimg', 'jp2a', 'iterm2', 'off', 'tycat', 'w3m'
# Flag: --backend
image_backend="ascii"
# image_backend="jp2a"
# Image Source
#
@ -558,8 +559,8 @@ image_backend="ascii"
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
# In ascii mode, distro ascii art will be used and in an image mode, your
# wallpaper will be used.
# image_source="auto"
image_source="auto"
# image_source="$HOME/Downloads/arch.png"
# Ascii Options

Loading…
Cancel
Save