From 95f82522c6d75a9c932bedb6ebb4959d1f414faa Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Tue, 23 Feb 2021 10:59:23 -0700 Subject: Some small changes, added gotop config --- .config/alacritty/alacritty.yml | 4 ++-- .config/bspwm/bspwmrc | 1 + .config/flameshot/flameshot.ini | 4 ++-- .config/gotop/gotop.conf | 29 ++++++++++++++++++++++++++ .config/gotop/layouts/custom | 4 ++++ .config/neofetch/config.conf | 46 ++++++++++++++++++++--------------------- .config/nvim/init.vim | 19 +++++++++-------- .config/x11/xprofile | 1 + 8 files changed, 72 insertions(+), 36 deletions(-) create mode 100644 .config/gotop/gotop.conf create mode 100644 .config/gotop/layouts/custom diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 58adf82..e8f22ea 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -2,8 +2,8 @@ # ~/.config/alacritty/alacritty.yml # -# env: - # TERM: xterm-256color +env: + TERM: xterm-256color window: #dimensions: diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc index 5ae597a..c0a9569 100755 --- a/.config/bspwm/bspwmrc +++ b/.config/bspwm/bspwmrc @@ -98,6 +98,7 @@ bspc rule -a *:*:"Picture-in-Picture" state=floating rectangle=640x360+640+360 bspc rule -a "Peek":*:* state=floating bspc rule -a "Zathura":*:* state=tiled bspc rule -a "Godot":*:* state=floating +bspc rule -a "Steam":*:* state=floating # bspc rule -a Gimp desktop='^8' state=floating follow=on # bspc rule -a Chromium desktop='^2' # bspc rule -a mplayer2 state=floating diff --git a/.config/flameshot/flameshot.ini b/.config/flameshot/flameshot.ini index dea28fe..c5d861e 100644 --- a/.config/flameshot/flameshot.ini +++ b/.config/flameshot/flameshot.ini @@ -1,7 +1,7 @@ [General] disabledTrayIcon=false -drawColor=#ff0000 -drawThickness=0 +drawColor=#ff0010 +drawThickness=2 filenamePattern=SS_%d%b%y_%I%M%S saveAfterCopyPath=/home/lz/pix/ss savePath=/home/lz/pix/ss diff --git a/.config/gotop/gotop.conf b/.config/gotop/gotop.conf new file mode 100644 index 0000000..e683ef9 --- /dev/null +++ b/.config/gotop/gotop.conf @@ -0,0 +1,29 @@ +# Scale graphs to this level; 7 is the default, 2 is zoomed out. +graphhorizontalscale=7 +# If true, start the UI with the help visible +helpvisible=false +# The color scheme to use. See `--list colorschemes` +colorscheme=default +# How frequently to update the UI, in nanoseconds +updateinterval=1000000000 +# If true, show the average CPU load +averagecpu=false +# If true, show load per CPU +percpuload=true +# Temperature units. C for Celcius, F for Fahrenheit +tempscale=C +# If true, display a status bar +statusbar=false +# The network interface to monitor +netinterface=all +# A layout name. See `--list layouts` +layout=layouts/custom +# The maximum log file size, in bytes +maxlogsize=5000000 +# If set, export data as Promethius metrics on the interface:port. +# E.g., `:8080` (colon is required, interface is not) +#metricsexportport= +# Display network IO in mpbs if true +mbps=false +# A list of enabled temp sensors. See `--list devices` +#temperatures= diff --git a/.config/gotop/layouts/custom b/.config/gotop/layouts/custom new file mode 100644 index 0000000..f1523a4 --- /dev/null +++ b/.config/gotop/layouts/custom @@ -0,0 +1,4 @@ +2:cpu +disk 2:mem +net/2 +2:procs diff --git a/.config/neofetch/config.conf b/.config/neofetch/config.conf index 6930fa3..f1b844b 100644 --- a/.config/neofetch/config.conf +++ b/.config/neofetch/config.conf @@ -1,45 +1,45 @@ print_info() { - ## Title. + ## Title. info title - info underline - + info underline + ## PC info. - # info "OS" distro - # info "Kernel" kernel + # info "OS" distro + # info "Kernel" kernel info "Motherboard" model - info "CPU" cpu + info "CPU" cpu # info "CPU Usage" cpu_usage info "Memory" memory info "GPU" gpu - # info "GPU Driver" gpu_driver # Linux/macOS only - info "Disk" disk + # info "GPU Driver" gpu_driver # Linux/macOS only + info "Disk" disk # info "Battery" battery info "Uptime" uptime info underline - + ## Software. - info "Resolution" resolution - # info "DE" de - info "WM" wm - # info "WM Theme" wm_theme - # info "Font" font + info "Resolution" resolution + # info "DE" de + info "WM" wm + # info "WM Theme" wm_theme + # info "Font" font # info "Theme" theme - # info "Icons" icons + # info "Icons" icons info "Shell" shell info "Terminal" term - info "Terminal Font" term_font + info "Terminal Font" term_font info "Packages" packages # info underline ## Miscellaneous. # [[ "$player" ]] && prin "Music Player" "$player" - # info "Song" song + # info "Song" song # info "Local IP" local_ip - # info "Public IP" public_ip - # info "Users" users - # info "Locale" locale # This only works on glibc systems. + # info "Public IP" public_ip + # info "Users" users + # info "Locale" locale # This only works on glibc systems. - info cols + info cols } @@ -130,10 +130,10 @@ disk_display="off" ## Image Backend # Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', -# 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' +# 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' image_backend="ascii" # Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' -# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' +# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' image_source="auto" ascii_distro="auto" # ascii_colors=(33 33 64 64 37 37) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 3b2e552..927329e 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -152,6 +152,7 @@ set showcmd \ set expandtab | \ set textwidth=79 | \ set fileformat=unix + " Some filetypes that require 4 spaces for tabs. au BufEnter,BufNewFile,BufRead *.java \ set tabstop=4 | @@ -161,15 +162,15 @@ set showcmd \ set fileformat=unix " Similar to python, but for js. - " au BufEnter,BufNewFile,BufRead *.js - " \ set tabstop=4 | - " \ set softtabstop=4 | - " \ set shiftwidth=4 | - " \ set expandtab=4 | - " \ set fileformat=unix - - " Some filetypes that require 2 spaces for tabs. - au BufEnter,BufNewFile,BufRead *.xml,*.html,*.jsp,*.wsdl,*.xsd + au BufEnter,BufNewFile,BufRead *.js + \ set tabstop=2 | + \ set softtabstop=2 | + \ set shiftwidth=2 | + \ set expandtab | + \ set fileformat=unix + + " Some filetypes that require 2 spaces for tabs. (xml/html like) + au BufEnter,BufNewFile,BufRead *.xml,*.html,*.jsp,*.wsdl,*.xsd,*.yaml,*.yml \ set tabstop=2 | \ set softtabstop=2 | \ set shiftwidth=2 | diff --git a/.config/x11/xprofile b/.config/x11/xprofile index 245ef75..6b13941 100644 --- a/.config/x11/xprofile +++ b/.config/x11/xprofile @@ -7,6 +7,7 @@ xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xsetroot -cursor_name left_ptr & numlockx on & nm-applet & +blueman-applet & picom & dunst & udiskie & -- cgit v1.2.3-54-g00ecf