desktop: update dotfiles

This commit is contained in:
Luis 2024-04-06 21:44:30 +02:00
parent 48731648f2
commit b2271a08bb
43 changed files with 2074 additions and 619 deletions

View File

@ -7,11 +7,8 @@ alias rm='rm -Iv'
alias mkdir='mkdir -pv'
alias etrash='doas rm -r ~/.local/share/Trash/files/{*,.*} 2>/dev/null ; doas rm -r ~/.local/share/Trash/info/{*,.*} 2>/dev/null'
alias tempcpu="cat /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon0/temp1_input"
# Venom
alias veup='doas scratch sync && doas scratch sysup && doas scratch purge && doas scratch cache && doas scratch missingdep && doas scratch integrity && doas revdep -r'
alias vepi="ls $(pkgadd --print-dbdir) | wc -l"
alias vga1='xrandr --output VGA1 --mode 1920x1080'
alias pullrepos='for i in $(ls) ; do cd $i && git pull && cd .. ; done'
alias pullrepos='for i in $(ls); do [ -d $i/.git ] && git -C $i pull || continue; done'
alias rwefivars='doas mount -o rw,remount /sys/firmware/efi/efivars'
alias yt='yt-dlp -f b "$(ytfzf -D -I L "$1")" -o - | ffplay - -autoexit -loglevel quiet'

View File

@ -1,13 +1,10 @@
# General
alias alsamixer='alsamixer -g' # Grey
alias neofetch='neofetch --ascii_colors 8 7 --colors 8 7 7 8 7 7' # Grey
alias cp='cp -iv'
alias mv='mv -iv'
alias rm='rm -Iv'
alias mkdir='mkdir -pv'
alias etrash='doas rm -r ~/.local/share/Trash/files/{*,.*} ; doas rm -r ~/.local/share/Trash/info/{*,.*}'
# Venom
alias veup='scratch sync && scratch sysup && scratch cache && scratch missingdep && scratch integrity && revdep -r'
alias vero='scratch remove $(scratch orphan)'
alias vepi="ls $(pkgadd --print-dbdir) | wc -l"
alias pullrepos='for i in $(ls); do [ -d $i/.git ] && git -C $i pull || continue; done'

View File

@ -1,198 +0,0 @@
# -*- conf -*-
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
# login-shell=no
# app-id=foot
# title=foot
# locked-title=no
font=mononoki:size=11
# font-bold=<bold variant of regular font>
# font-italic=<italic variant of regular font>
# font-bold-italic=<bold+italic variant of regular font>
# font-size-adjustment=0.5
# line-height=<font metrics>
# letter-spacing=0
# horizontal-letter-offset=0
# vertical-letter-offset=0
# underline-offset=<font metrics>
# underline-thickness=<font underline thickness>
# box-drawings-uses-font-glyphs=no
# dpi-aware=auto
# initial-window-size-pixels=700x500 # Or,
# initial-window-size-chars=<COLSxROWS>
# initial-window-mode=windowed
# pad=0x0 # optionally append 'center'
# resize-delay-ms=100
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
# bold-text-in-bright=no
# word-delimiters=,│`|:"'()[]{}<>
selection-target=both
# workers=<number of logical CPUs>
# utempter=/usr/lib/utempter/utempter
[environment]
# name=value
[bell]
# urgent=no
# notify=no
# command=
# command-focused=no
[scrollback]
# lines=1000
# multiplier=3.0
# indicator-position=relative
# indicator-format=""
[url]
# launch=xdg-open ${url}
# label-letters=sadfjklewcmpgh
# osc8-underline=url-mode
# protocols=http, https, ftp, ftps, file, gemini, gopher
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
[cursor]
style=underline
# color=<inverse foreground/background>
blink=yes
# beam-thickness=1.5
# underline-thickness=<font underline thickness>
[mouse]
# hide-when-typing=no
# alternate-scroll-mode=yes
[colors]
alpha=0.8
background=000000
foreground=dddddd
# Normal/regular colors (color palette 0-7)
# regular0=073642 # black
# regular1=dc322f # red
# regular2=859900 # green
# regular3=b58900 # yellow
# regular4=268bd2 # blue
# regular5=d33682 # magenta
# regular6=2aa198 # cyan
# regular7=eee8d5 # white
## Bright colors (color palette 8-15)
# bright0=08404f # bright black
# bright1=e35f5c # bright red
# bright2=9fb700 # bright green
# bright3=d9a400 # bright yellow
# bright4=4ba1de # bright blue
# bright5=dc619d # bright magenta
# bright6=32c1b6 # bright cyan
# bright7=ffffff # bright white
## dimmed colors (see foot.ini(5) man page)
# dim0=<not set>
# ...
# dim7=<not-set>
## The remaining 256-color palette
# 16 = <256-color palette #16>
# ...
# 255 = <256-color palette #255>
## Misc colors
# selection-foreground=<inverse foreground/background>
# selection-background=<inverse foreground/background>
# jump-labels=<regular0> <regular3> # black-on-yellow
# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
# search-box-no-match=<regular0> <regular1> # black-on-red
# search-box-match=<regular0> <regular3> # black-on-yellow
# urls=<regular3>
[csd]
# preferred=server
# size=26
# font=<primary font>
# color=<foreground color>
# hide-when-typing=no
# border-width=0
# border-color=<csd.color>
# button-width=26
# button-color=<background color>
# button-minimize-color=<regular4>
# button-maximize-color=<regular2>
# button-close-color=<regular1>
[key-bindings]
# scrollback-up-page=Shift+Page_Up
# scrollback-up-half-page=none
# scrollback-up-line=none
# scrollback-down-page=Shift+Page_Down
# scrollback-down-half-page=none
# scrollback-down-line=none
# clipboard-copy=Control+Shift+c XF86Copy
# clipboard-paste=Control+Shift+v XF86Paste
# primary-paste=Shift+Insert
# search-start=Control+Shift+r
# font-increase=Control+plus Control+equal Control+KP_Add
# font-decrease=Control+minus Control+KP_Subtract
# font-reset=Control+0 Control+KP_0
# spawn-terminal=Control+Shift+n
# minimize=none
# maximize=none
# fullscreen=none
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
# pipe-selected=[xargs -r firefox] none
# show-urls-launch=Control+Shift+u
# show-urls-copy=none
# show-urls-persistent=none
# prompt-prev=Control+Shift+z
# prompt-next=Control+Shift+x
# unicode-input=none
# noop=none
[search-bindings]
# cancel=Control+g Control+c Escape
# commit=Return
# find-prev=Control+r
# find-next=Control+s
# cursor-left=Left Control+b
# cursor-left-word=Control+Left Mod1+b
# cursor-right=Right Control+f
# cursor-right-word=Control+Right Mod1+f
# cursor-home=Home Control+a
# cursor-end=End Control+e
# delete-prev=BackSpace
# delete-prev-word=Mod1+BackSpace Control+BackSpace
# delete-next=Delete
# delete-next-word=Mod1+d Control+Delete
# extend-to-word-boundary=Control+w
# extend-to-next-whitespace=Control+Shift+w
# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
# primary-paste=Shift+Insert
# unicode-input=none
[url-bindings]
# cancel=Control+g Control+c Control+d Escape
# toggle-url-visible=t
[text-bindings]
# \x03=Mod4+c # Map Super+c -> Ctrl+c
[mouse-bindings]
# selection-override-modifiers=Shift
# primary-paste=BTN_MIDDLE
# select-begin=BTN_LEFT
# select-begin-block=Control+BTN_LEFT
# select-extend=BTN_RIGHT
# select-extend-character-wise=Control+BTN_RIGHT
# select-word=BTN_LEFT-2
# select-word-whitespace=Control+BTN_LEFT-2
# select-row=BTN_LEFT-3
# vim: ft=dosini

View File

@ -0,0 +1,21 @@
[org/gtk/settings/file-chooser]
window-position=(0, 0)
window-size=(751, 1248)
date-format='regular'
location-mode='filename-entry'
show-hidden=true
show-size-column=true
show-type-column=true
sidebar-width=173
sort-column='name'
sort-directories-first=false
sort-order='ascending'
type-format='category'
[org/gnome/simple-scan]
document-type='photo'
save-directory='file:///home/luis/'
[org/gnome/desktop/interface]
icon-theme='Adwaita'
font-name='mononoki 9'

View File

@ -7,7 +7,7 @@ force-seekable=yes
# Always open a video window even with no video
force-window=yes
background="#000000"
background=none
# Don't exit when the end of playlist is reached
keep-open=yes

View File

@ -0,0 +1,864 @@
# See this wiki page for more info:
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
print_info() {
info title
info underline
info "OS" distro
info "Host" model
info "Kernel" kernel
info "Uptime" uptime
info "Packages" packages
info "Shell" shell
info "Resolution" resolution
info "DE" de
info "WM" wm
info "WM Theme" wm_theme
info "Theme" theme
info "Icons" icons
info "Terminal" term
info "Terminal Font" term_font
info "CPU" cpu
info "GPU" gpu
info "Memory" memory
# info "GPU Driver" gpu_driver # Linux/macOS only
# info "CPU Usage" cpu_usage
# info "Disk" disk
# info "Battery" battery
# info "Font" font
# info "Song" song
# [[ "$player" ]] && prin "Music Player" "$player"
# info "Local IP" local_ip
# info "Public IP" public_ip
# info "Users" users
# info "Locale" locale # This only works on glibc systems.
#info cols
}
# Title
# Hide/Show Fully qualified domain name.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --title_fqdn
title_fqdn="off"
# Kernel
# Shorten the output of the kernel function.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --kernel_shorthand
# Supports: Everything except *BSDs (except PacBSD and PC-BSD)
#
# Example:
# on: '4.8.9-1-ARCH'
# off: 'Linux 4.8.9-1-ARCH'
kernel_shorthand="on"
# Distro
# Shorten the output of the distro function
#
# Default: 'off'
# Values: 'on', 'tiny', 'off'
# Flag: --distro_shorthand
# Supports: Everything except Windows and Haiku
distro_shorthand="off"
# Show/Hide OS Architecture.
# Show 'x86_64', 'x86' and etc in 'Distro:' output.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --os_arch
#
# Example:
# on: 'Arch Linux x86_64'
# off: 'Arch Linux'
os_arch="on"
# Uptime
# Shorten the output of the uptime function
#
# Default: 'on'
# Values: 'on', 'tiny', 'off'
# Flag: --uptime_shorthand
#
# Example:
# on: '2 days, 10 hours, 3 mins'
# tiny: '2d 10h 3m'
# off: '2 days, 10 hours, 3 minutes'
uptime_shorthand="on"
# Memory
# Show memory pecentage in output.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --memory_percent
#
# Example:
# on: '1801MiB / 7881MiB (22%)'
# off: '1801MiB / 7881MiB'
memory_percent="off"
# Change memory output unit.
#
# Default: 'mib'
# Values: 'kib', 'mib', 'gib'
# Flag: --memory_unit
#
# Example:
# kib '1020928KiB / 7117824KiB'
# mib '1042MiB / 6951MiB'
# gib: ' 0.98GiB / 6.79GiB'
memory_unit="mib"
# Packages
# Show/Hide Package Manager names.
#
# Default: 'tiny'
# Values: 'on', 'tiny' 'off'
# Flag: --package_managers
#
# Example:
# on: '998 (pacman), 8 (flatpak), 4 (snap)'
# tiny: '908 (pacman, flatpak, snap)'
# off: '908'
package_managers="on"
# Shell
# Show the path to $SHELL
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --shell_path
#
# Example:
# on: '/bin/bash'
# off: 'bash'
shell_path="off"
# Show $SHELL version
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --shell_version
#
# Example:
# on: 'bash 4.4.5'
# off: 'bash'
shell_version="on"
# CPU
# CPU speed type
#
# Default: 'bios_limit'
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
# Flag: --speed_type
# Supports: Linux with 'cpufreq'
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
speed_type="bios_limit"
# CPU speed shorthand
#
# Default: 'off'
# Values: 'on', 'off'.
# Flag: --speed_shorthand
# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
#
# Example:
# on: 'i7-6500U (4) @ 3.1GHz'
# off: 'i7-6500U (4) @ 3.100GHz'
speed_shorthand="off"
# Enable/Disable CPU brand in output.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --cpu_brand
#
# Example:
# on: 'Intel i7-6500U'
# off: 'i7-6500U (4)'
cpu_brand="on"
# CPU Speed
# Hide/Show CPU speed.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --cpu_speed
#
# Example:
# on: 'Intel i7-6500U (4) @ 3.1GHz'
# off: 'Intel i7-6500U (4)'
cpu_speed="on"
# CPU Cores
# Display CPU cores in output
#
# Default: 'logical'
# Values: 'logical', 'physical', 'off'
# Flag: --cpu_cores
# Support: 'physical' doesn't work on BSD.
#
# Example:
# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
# off: 'Intel i7-6500U @ 3.1GHz'
cpu_cores="logical"
# CPU Temperature
# Hide/Show CPU temperature.
# Note the temperature is added to the regular CPU function.
#
# Default: 'off'
# Values: 'C', 'F', 'off'
# Flag: --cpu_temp
# Supports: Linux, BSD
# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
# coretemp kernel module. This only supports newer Intel processors.
#
# Example:
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
# off: 'Intel i7-6500U (4) @ 3.1GHz'
cpu_temp="off"
# GPU
# Enable/Disable GPU Brand
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gpu_brand
#
# Example:
# on: 'AMD HD 7950'
# off: 'HD 7950'
gpu_brand="on"
# Which GPU to display
#
# Default: 'all'
# Values: 'all', 'dedicated', 'integrated'
# Flag: --gpu_type
# Supports: Linux
#
# Example:
# all:
# GPU1: AMD HD 7950
# GPU2: Intel Integrated Graphics
#
# dedicated:
# GPU1: AMD HD 7950
#
# integrated:
# GPU1: Intel Integrated Graphics
gpu_type="all"
# Resolution
# Display refresh rate next to each monitor
# Default: 'off'
# Values: 'on', 'off'
# Flag: --refresh_rate
# Supports: Doesn't work on Windows.
#
# Example:
# on: '1920x1080 @ 60Hz'
# off: '1920x1080'
refresh_rate="off"
# Gtk Theme / Icons / Font
# Shorten output of GTK Theme / Icons / Font
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --gtk_shorthand
#
# Example:
# on: 'Numix, Adwaita'
# off: 'Numix [GTK2], Adwaita [GTK3]'
gtk_shorthand="off"
# Enable/Disable gtk2 Theme / Icons / Font
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gtk2
#
# Example:
# on: 'Numix [GTK2], Adwaita [GTK3]'
# off: 'Adwaita [GTK3]'
gtk2="on"
# Enable/Disable gtk3 Theme / Icons / Font
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --gtk3
#
# Example:
# on: 'Numix [GTK2], Adwaita [GTK3]'
# off: 'Numix [GTK2]'
gtk3="on"
# IP Address
# Website to ping for the public IP
#
# Default: 'http://ident.me'
# Values: 'url'
# Flag: --ip_host
public_ip_host="http://ident.me"
# Public IP timeout.
#
# Default: '2'
# Values: 'int'
# Flag: --ip_timeout
public_ip_timeout=2
# Desktop Environment
# Show Desktop Environment version
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --de_version
de_version="on"
# Disk
# Which disks to display.
# The values can be any /dev/sdXX, mount point or directory.
# NOTE: By default we only show the disk info for '/'.
#
# Default: '/'
# Values: '/', '/dev/sdXX', '/path/to/drive'.
# Flag: --disk_show
#
# Example:
# disk_show=('/' '/dev/sdb1'):
# 'Disk (/): 74G / 118G (66%)'
# 'Disk (/mnt/Videos): 823G / 893G (93%)'
#
# disk_show=('/'):
# 'Disk (/): 74G / 118G (66%)'
#
disk_show=('/')
# Disk subtitle.
# What to append to the Disk subtitle.
#
# Default: 'mount'
# Values: 'mount', 'name', 'dir', 'none'
# Flag: --disk_subtitle
#
# Example:
# name: 'Disk (/dev/sda1): 74G / 118G (66%)'
# 'Disk (/dev/sdb2): 74G / 118G (66%)'
#
# mount: 'Disk (/): 74G / 118G (66%)'
# 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
# 'Disk (/mnt/Videos): 74G / 118G (66%)'
#
# dir: 'Disk (/): 74G / 118G (66%)'
# 'Disk (Local Disk): 74G / 118G (66%)'
# 'Disk (Videos): 74G / 118G (66%)'
#
# none: 'Disk: 74G / 118G (66%)'
# 'Disk: 74G / 118G (66%)'
# 'Disk: 74G / 118G (66%)'
disk_subtitle="mount"
# Disk percent.
# Show/Hide disk percent.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --disk_percent
#
# Example:
# on: 'Disk (/): 74G / 118G (66%)'
# off: 'Disk (/): 74G / 118G'
disk_percent="on"
# Song
# Manually specify a music player.
#
# Default: 'auto'
# Values: 'auto', 'player-name'
# Flag: --music_player
#
# Available values for 'player-name':
#
# amarok
# audacious
# banshee
# bluemindo
# clementine
# cmus
# deadbeef
# deepin-music
# dragon
# elisa
# exaile
# gnome-music
# gmusicbrowser
# gogglesmm
# guayadeque
# io.elementary.music
# iTunes
# juk
# lollypop
# mocp
# mopidy
# mpd
# muine
# netease-cloud-music
# olivia
# playerctl
# pogo
# pragha
# qmmp
# quodlibet
# rhythmbox
# sayonara
# smplayer
# spotify
# strawberry
# tauonmb
# tomahawk
# vlc
# xmms2d
# xnoise
# yarock
music_player="auto"
# Format to display song information.
#
# Default: '%artist% - %album% - %title%'
# Values: '%artist%', '%album%', '%title%'
# Flag: --song_format
#
# Example:
# default: 'Song: Jet - Get Born - Sgt Major'
song_format="%artist% - %album% - %title%"
# Print the Artist, Album and Title on separate lines
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --song_shorthand
#
# Example:
# on: 'Artist: The Fratellis'
# 'Album: Costello Music'
# 'Song: Chelsea Dagger'
#
# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger'
song_shorthand="off"
# 'mpc' arguments (specify a host, password etc).
#
# Default: ''
# Example: mpc_args=(-h HOST -P PASSWORD)
mpc_args=()
# Text Colors
# Text Colors
#
# Default: 'distro'
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
# Flag: --colors
#
# Each number represents a different part of the text in
# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
#
# Example:
# colors=(distro) - Text is colored based on Distro colors.
# colors=(4 6 1 8 8 6) - Text is colored in the order above.
colors=(distro)
# Text Options
# Toggle bold text
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --bold
bold="on"
# Enable/Disable Underline
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --underline
underline_enabled="on"
# Underline character
#
# Default: '-'
# Values: 'string'
# Flag: --underline_char
underline_char="-"
# Info Separator
# Replace the default separator with the specified string.
#
# Default: ':'
# Flag: --separator
#
# Example:
# separator="->": 'Shell-> bash'
# separator=" =": 'WM = dwm'
separator=":"
# Color Blocks
# Color block range
# The range of colors to print.
#
# Default: '0', '15'
# Values: 'num'
# Flag: --block_range
#
# Example:
#
# Display colors 0-7 in the blocks. (8 colors)
# neofetch --block_range 0 7
#
# Display colors 0-15 in the blocks. (16 colors)
# neofetch --block_range 0 15
block_range=(0 15)
# Toggle color blocks
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --color_blocks
color_blocks="on"
# Color block width in spaces
#
# Default: '3'
# Values: 'num'
# Flag: --block_width
block_width=3
# Color block height in lines
#
# Default: '1'
# Values: 'num'
# Flag: --block_height
block_height=1
# Color Alignment
#
# Default: 'auto'
# Values: 'auto', 'num'
# Flag: --col_offset
#
# Number specifies how far from the left side of the terminal (in spaces) to
# begin printing the columns, in case you want to e.g. center them under your
# text.
# Example:
# col_offset="auto" - Default behavior of neofetch
# col_offset=7 - Leave 7 spaces then print the colors
col_offset="auto"
# Progress Bars
# Bar characters
#
# Default: '-', '='
# Values: 'string', 'string'
# Flag: --bar_char
#
# Example:
# neofetch --bar_char 'elapsed' 'total'
# neofetch --bar_char '-' '='
bar_char_elapsed="-"
bar_char_total="="
# Toggle Bar border
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --bar_border
bar_border="on"
# Progress bar length in spaces
# Number of chars long to make the progress bars.
#
# Default: '15'
# Values: 'num'
# Flag: --bar_length
bar_length=15
# Progress bar colors
# When set to distro, uses your distro's logo colors.
#
# Default: 'distro', 'distro'
# Values: 'distro', 'num'
# Flag: --bar_colors
#
# Example:
# neofetch --bar_colors 3 4
# neofetch --bar_colors distro 5
bar_color_elapsed="distro"
bar_color_total="distro"
# Info display
# Display a bar with the info.
#
# Default: 'off'
# Values: 'bar', 'infobar', 'barinfo', 'off'
# Flags: --cpu_display
# --memory_display
# --battery_display
# --disk_display
#
# Example:
# bar: '[---=======]'
# infobar: 'info [---=======]'
# barinfo: '[---=======] info'
# off: 'info'
cpu_display="off"
memory_display="off"
battery_display="off"
disk_display="off"
# Backend Settings
# Image backend.
#
# Default: 'ascii'
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
# Flag: --backend
image_backend="ascii"
# Image Source
#
# Which image or ascii file to display.
#
# Default: 'auto'
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
# Flag: --source
#
# 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"
# Ascii Options
# Ascii distro
# Which distro's ascii art to display.
#
# Default: 'auto'
# Values: 'auto', 'distro_name'
# Flag: --ascii_distro
# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS",
# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs,
# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock,
# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover,
# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary,
# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo,
# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite,
# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva,
# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib,
# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba,
# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD,
# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint,
# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix,
# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan,
# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific,
# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz,
# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS,
# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails,
# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio,
# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin,
# and IRIX have ascii logos
# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
# Use '{distro name}_old' to use the old logos.
# NOTE: Ubuntu has flavor variants.
# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola,
# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS,
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
# postmarketOS, and Void have a smaller logo variant.
# Use '{distro name}_small' to use the small variants.
ascii_distro="auto"
# Ascii Colors
#
# Default: 'distro'
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
# Flag: --ascii_colors
#
# Example:
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
ascii_colors=(distro)
# Bold ascii logo
# Whether or not to bold the ascii logo.
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --ascii_bold
ascii_bold="on"
# Image Options
# Image loop
# Setting this to on will make neofetch redraw the image constantly until
# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --loop
image_loop="off"
# Thumbnail directory
#
# Default: '~/.cache/thumbnails/neofetch'
# Values: 'dir'
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
# Crop mode
#
# Default: 'normal'
# Values: 'normal', 'fit', 'fill'
# Flag: --crop_mode
#
# See this wiki page to learn about the fit and fill options.
# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
crop_mode="normal"
# Crop offset
# Note: Only affects 'normal' crop mode.
#
# Default: 'center'
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
# 'east', 'southwest', 'south', 'southeast'
# Flag: --crop_offset
crop_offset="center"
# Image size
# The image is half the terminal width by default.
#
# Default: 'auto'
# Values: 'auto', '00px', '00%', 'none'
# Flags: --image_size
# --size
image_size="auto"
# Gap between image and text
#
# Default: '3'
# Values: 'num', '-num'
# Flag: --gap
gap=3
# Image offsets
# Only works with the w3m backend.
#
# Default: '0'
# Values: 'px'
# Flags: --xoffset
# --yoffset
yoffset=0
xoffset=0
# Image background color
# Only works with the w3m backend.
#
# Default: ''
# Values: 'color', 'blue'
# Flag: --bg_color
background_color=
# Misc Options
# Stdout mode
# Turn off all colors and disables image backend (ASCII/Image).
# Useful for piping into another command.
# Default: 'off'
# Values: 'on', 'off'
stdout="off"

Binary file not shown.

View File

@ -5,7 +5,7 @@ Def fieldscur= 75 76 150 81 103 105 119 123 128 111 117 115 106
154 156 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 190 192
194 196 198 200 202 204 206 208 210 212 214 216 218 220 222 224 226 228 230 232
234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 268 270 272
winflags=192956, sortindx=24, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0, core_types=0
winflags=193980, sortindx=24, maxtasks=0, graph_cpus=0, graph_mems=0, double_up=0, combine_cpus=0, core_types=0
summclr=1, msgsclr=1, headclr=3, taskclr=1
Job fieldscur= 75 77 115 111 117 80 103 105 137 119 123 128 120 79 139 82 84 86 88 90
92 94 96 98 100 106 108 112 124 126 130 132 134 140 142 144 146 148 150 152

View File

@ -25,13 +25,8 @@ hide_edge_borders smart
# client.urgent #2f343a #900000 #dddddd #900000 #900000
# client.placeholder #000000 #0c0c0c #dddddd #000000 #0c0c0c
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme 'Adwaita'
gsettings set $gnome-schema icon-theme 'Adwaita'
gsettings set $gnome-schema cursor-theme 'Vimix-white-cursors'
gsettings set $gnome-schema font-name 'mononoki 9'
}
# Cursor theme
seat seat0 xcursor_theme Vimix-white-cursors
# Home row direction keys, like vim
set $left h
@ -74,7 +69,7 @@ set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 11' \
# You can get the names of your outputs by running: swaymsg -t get_outputs
# HiDPI, set display scale factor with the output command in your configuration file
# output HDMI-A-1 scale 1.6
#output HDMI-A-1 scale 1.7
### Idle configuration

View File

@ -1,295 +0,0 @@
# Default config for sway
#
# Copy this to ~/.config/sway/config and edit it to your liking.
#
# Read `man 5 sway` for a complete reference.
### Variables
#
# Logo key. Use Mod1 for Alt.
set $mod Mod4
# Focus window when mouse hovers it
focus_follows_mouse yes
# Borders
default_border pixel 1
default_floating_border pixel 1
hide_edge_borders smart
# Colors
# class border backg text indicator child_border
client.focused #000000 #000000 #dddddd #999999 #666666
client.focused_inactive #222222 #222222 #dddddd #999999 #111111
# client.unfocused #333333 #222222 #888888 #292d2e #333333
# client.urgent #2f343a #900000 #dddddd #900000 #900000
# client.placeholder #000000 #0c0c0c #dddddd #000000 #0c0c0c
set $gnome-schema org.gnome.desktop.interface
exec_always {
gsettings set $gnome-schema gtk-theme 'Adwaita'
gsettings set $gnome-schema icon-theme 'Adwaita'
gsettings set $gnome-schema cursor-theme 'Vimix-white-cursors'
gsettings set $gnome-schema font-name 'mononoki 9'
}
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term footclient
# Your preferred application launcher
# Note: pass the final command to swaymsg so that the resulting window can be opened
# on the original workspace that the command was run on.
set $menu bemenu-run -H '20' -p 'Run:' --fn 'mononoki 11' \
--tf '#ffffff' \
--fb '#000000' \
--ff '#ffffff' \
--nb '#000000' \
--nf '#ffffff' \
--hb '#dddddd' \
--hf '#000000' \
--sb '#000000' \
--sf '#ffffff' \
--scb '#000000' \
--scf '#ffffff'
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
#exec swaybg -i /home/luis/.icons/fondo.png
output * bg #000000 solid_color
#output "*" bg $HOME/.icons/fondo.png fill
#
# Example configuration:
#
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
# HiDPI, set display scale factor with the output command in your configuration file
# output HDMI-A-1 scale 1.6
### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
# timeout 300 'swaylock -f -c 000000' \
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
# before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
### Input configuration
#
# Example configuration:
#
# input "type:touchpad" {
# dwt enabled
# tap enabled
# natural_scroll enabled
# middle_emulation enabled
# }
input "type:keyboard" {
xkb_layout "es"
xkb_variant ""
xkb_options "grp:win_space_toggle"
xkb_model "pc105"
}
input * xkb_numlock enable
#
# You can get the names of your inputs by running: swaymsg -t get_inputs
# Read `man 5 sway-input` for more information about this section.
### Key bindings
#
# Basics:
#
# Start a terminal
bindsym $mod+Shift+Return exec $term
# Kill focused window
bindsym $mod+Shift+q kill
# Start your launcher
bindsym $mod+d exec $menu
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal
# Reload the configuration file
bindsym $mod+Shift+c reload
# Exit sway (logs you out of your Wayland session)
bindsym $mod+Shift+e exec swaynag -t warning -m 'Session' -b 'Exit' 'swaymsg exit'
#
# Moving around:
#
# Move your focus around
bindsym $mod+$left focus left
bindsym $mod+$down focus down
bindsym $mod+$up focus up
bindsym $mod+$right focus right
# Or use $mod+[up|down|left|right]
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# Move the focused window with the same, but add Shift
bindsym $mod+Shift+$left move left
bindsym $mod+Shift+$down move down
bindsym $mod+Shift+$up move up
bindsym $mod+Shift+$right move right
# Ditto, with arrow keys
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
#
# Workspaces:
#
# Switch to workspace
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
# Move focused container to workspace
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
#
# Layout stuff:
#
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
bindsym $mod+b splith
bindsym $mod+v splitv
# Switch the current container between different layout styles
#bindsym $mod+s layout stacking
#bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# Make the current focus fullscreen
bindsym $mod+f fullscreen
# Toggle the current focus between tiling and floating mode
bindsym $mod+Shift+space floating toggle
# Swap focus between the tiling area and the floating area
bindsym $mod+space focus mode_toggle
# Move focus to the parent container
bindsym $mod+a focus parent
#
# Scratchpad:
#
# Sway has a "scratchpad", which is a bag of holding for windows.
# You can send windows there and get them back later.
# Move the currently focused window to the scratchpad
bindsym $mod+Shift+minus move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
# left will shrink the containers width
# right will grow the containers width
# up will shrink the containers height
# down will grow the containers height
bindsym $left resize shrink width 10px
bindsym $down resize grow height 10px
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px
# Ditto, with arrow keys
bindsym Left resize shrink width 10px
bindsym Down resize grow height 10px
bindsym Up resize shrink height 10px
bindsym Right resize grow width 10px
# Return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Session
bindsym $mod+x exec session-wl
# Screen capture
bindsym Alt+Print exec grimshot copy active
bindsym Control+Print exec grimshot copy area
bindsym Shift+Print exec grimshot copy window
bindsym Print exec grimshot copy screen
# Audio
bindsym XF86AudioRaiseVolume exec amixer -q sset Master 3%+
bindsym XF86AudioLowerVolume exec amixer -q sset Master 3%-
bindsym XF86AudioMute exec amixer set Master toggle
bindsym XF86AudioMicMute exec amixer set Mic toggle
bindsym $mod+F10 exec amixer -q sset Master 3%+
bindsym $mod+F9 exec amixer -q sset Master 3%-
bindsym $mod+F11 exec amixer set Master toggle
bindsym $mod+F12 exec amixer set Mic toggle
exec amixer -q set Master unmute
exec amixer -q sset Master 100%
# File manager
bindsym $mod+z exec $term nnn
# Screen brigthness
# exec light -S 31
# bindsym XF86MonBrightnessDown exec light -U 3
# bindsym XF86MonBrightnessUp exec light -A 3
# Play
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# Foot server
exec foot --server
# Yambar
exec yambar

View File

@ -1,18 +1,18 @@
# fonts we'll be re-using here and there
awesome: &awesome Font Awesome 6 Free Solid:style=Solid:pixelsize=14
awesome_brands: &awesome_brands Font Awesome 6 Brands Regular:style=Regular:pixelsize=14
awesome: &awesome Font Awesome 6 Free Solid:style=Solid:pixelsize=28
awesome_brands: &awesome_brands Font Awesome 6 Brands Regular:style=Regular:pixelsize=28
std_overline: &std_overline {overline: { size: 1, color: ddddddff}}
# This is THE bar configuration
bar:
height: 20
height: 40
location: top
spacing: 5
margin: 9
spacing: 9
margin: 18
# Default font
font: mononoki:pixelsize=14
font: mononoki:pixelsize=28
foreground: ffffffff
background: 000000cc

View File

@ -1,102 +0,0 @@
# fonts we'll be re-using here and there
awesome: &awesome Font Awesome 6 Free Solid:style=Solid:pixelsize=14
awesome_brands: &awesome_brands Font Awesome 6 Brands Regular:style=Regular:pixelsize=14
std_overline: &std_overline {overline: { size: 1, color: ddddddff}}
# This is THE bar configuration
bar:
height: 20
location: top
spacing: 5
margin: 9
# Default font
font: mononoki:pixelsize=14
foreground: ffffffff
background: 000000cc
left:
- i3:
sort: ascending
anchors: # Not used (directly) by f00bar; used here to avoid duplication
- string: &i3_common {margin: 5, on-click: "swaymsg --quiet workspace {name}"}
- string: &default {<<: *i3_common, text: "{name}"}
- focused: &focused
deco: {stack: [background: {color: 00000000}, <<: *std_overline]}
- invisible: &invisible {foreground: ffffff55}
- urgent: &urgent
foreground: 000000ff
deco: {stack: [background: {color: ffffffff}, <<: *std_overline]}
- map: &i3_mode
default:
- string:
margin: 5
text: "{mode}"
deco: {background: {color: cc421dff}}
- empty: {right-margin: 7}
conditions:
mode == default: {empty: {}}
content:
"":
map:
conditions:
state == focused: {string: {<<: [*default, *focused]}}
state == unfocused: {string: {<<: *default}}
state == invisible: {string: {<<: [*default, *invisible]}}
state == urgent: {string: {<<: [*default, *urgent]}}
- foreign-toplevel:
content:
map:
conditions:
~activated: {empty: {}}
activated:
- string: {text: "{title}"}
center:
- clock:
time-format: "%d %b %H:%M"
content:
- string: {text: "{time}"}
right:
- network:
name: enp23s0
content:
map:
conditions:
~carrier: {empty: {}}
carrier:
map:
default: {string: {text: , font: *awesome, foreground: ffffff66}}
conditions:
state == up && ipv4 != "": {string: {text: , font: *awesome}}
- alsa:
card: hw:Generic_1
mixer: Master
content:
map:
conditions:
~online: {string: {text: , font: *awesome, foreground: ff0000ff}}
online:
map:
on-click: /bin/sh -c "amixer -q sset Headphone unmute && amixer -q sset Master toggle"
conditions:
muted: {string: {text: , font: *awesome, foreground: ffffff66}}
~muted:
ramp:
tag: percent
items:
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- string: {text: , font: *awesome}
- label:
content:
string:
on-click: session-wl
text: 
font: *awesome

View File

@ -0,0 +1,9 @@
#! /bin/sh
mount -v --bind /dev /mnt/alice/dev && \
mount -vt devpts devpts /mnt/alice/dev/pts -o gid=5,mode=620 && \
mount -vt proc proc /mnt/alice/proc && \
mount -vt sysfs sysfs /mnt/alice/sys && \
mount -vt tmpfs tmpfs /mnt/alice/run && \
mkdir -pv /mnt/alice/$(readlink /mnt/alice/dev/shm) && \
cp -L /etc/resolv.conf /mnt/alice/etc/ && \
chroot /mnt/alice /bin/sh

2
home/desktop/.local/bin/brave Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
brave-browser-stable --enable-features=UseOzonePlatform --ozone-platform=wayland

42
home/desktop/.local/bin/capture Executable file
View File

@ -0,0 +1,42 @@
#!/bin/sh
# Deps: herbe, imagemagick, xclip
help () {
cat << EOF
Usage:
capture [-APVh]
Options:
-A: Save selected area to clipboard
-S: Save screen to clipboard
-W: Save active window to clipboard
-h: Show this help
EOF
}
case $1 in
-A)
import png:- | xclip -selection clipboard -t image/png
herbe 'Selected area to clipboard'
;;
-S)
import -window root png:- | xclip -selection clipboard -t image/png
herbe 'Screen to clipboard'
;;
-W)
import -window $(xdotool getwindowfocus) png:- | xclip -selection clipboard -t image/png
herbe 'Active window to clipboard'
;;
-h)
help
;;
*)
printf "Invalid option!\n"
return
esac

View File

@ -0,0 +1,42 @@
#!/bin/sh
# Deps: herbe, imagemagick, xclip
help () {
cat << EOF
Usage:
capture [-APVh]
Options:
-A: Save selected area to clipboard
-S: Save screen to clipboard
-W: Save active window to clipboard
-h: Show this help
EOF
}
case $1 in
-A)
grim -g "$(slurp)" - | wl-copy
#herbe 'Selected area to clipboard'
;;
-S)
grim - | wl-copy
#herbe 'Screen to clipboard'
;;
-W)
#import -window $(xdotool getwindowfocus) png:- | xclip -selection clipboard -t image/png
#herbe 'Active window to clipboard'
;;
-h)
help
;;
*)
printf "Invalid option!\n"
return
esac

View File

@ -0,0 +1,35 @@
#!/bin/sh
file="$1"
shift
case $file in
*.tar)
bsdtar -cvf "$file" "$@"
;;
*.tar.gz|*.tgz)
bsdtar -czvf "$file" "$@"
;;
*.tar.xz|*.txz)
bsdtar -cvJf "$file" "$@"
;;
*.tar.zst|*.zst)
bsdtar -aczvf "$file" "$@"
;;
*.rar)
bsdtar -cf "$file" "$@"
;;
*.zip)
bsdtar -cf "$file" "$@"
;;
*.7z)
bsdtar -cf "$file" "$@"
;;
*)
print "It couldn't copress them\n"
print "Usage:\n"
print "compress file.<format> foo1 foo2 fooN\n"
return
;;
esac

49
home/desktop/.local/bin/extract Executable file
View File

@ -0,0 +1,49 @@
#!/bin/sh
if [ -f "$1" ]; then
case $1 in
*.tar)
bsdtar -xvf "$1"
;;
*.tar.bz2|*.tbz)
bsdtar -xvjf "$1"
;;
*.tar.gz|*.tgz)
bsdtar -xvzf "$1"
;;
*.tar.xz|*.txz)
bsdtar -xvjf "$1"
;;
*.tar.zst|*.zst)
bsdtar -xvzf "$1"
;;
*.rar)
bsdtar -xf "$1"
;;
*.zip)
bsdtar -xf "$1"
;;
*.7z)
bsdtar -xf "$1"
;;
*)
print "'$1': unknown format"
print "It couldn't extract the file"
print "Usage:\n"
print "extract file.<format>\n"
return
;;
esac
else
print "'$1': unknown format"
print "Usage:\n"
print "extract file.<format>\n"
return
fi

48
home/desktop/.local/bin/fetch Executable file
View File

@ -0,0 +1,48 @@
#!/bin/sh
mem=$(busybox free -m | awk '/^Mem:/ {print $2"m" }')
kernel=$(uname -r)
#kernelsize=$(du -sh /boot/vmlinuz-venom | awk '{print $1}')
. /etc/os-release
os=${PRETTY_NAME}
hn=$(cat /etc/hostname)
shell=$(basename $SHELL)
mksh=$(scratch info mksh-git | awk '/Installed/{print $2}')
init=$(scratch info s6-linux-init | awk '/Installed/{print $2}')
cpu=$(awk -F ": " 'NR==5 {print $2}' /proc/cpuinfo | awk '{print $1" "$2" "$3" "$4}')
gpu=$(awk -F ": " 'NR==5 {print $2}' /proc/cpuinfo | awk '{print $6" "$7}')
tr=$(scratch info foot | awk '/Installed/{print $2}')
font="$(awk -F'=' '/font/{print $2}' "${HOME}/.config/gtk-3.0/settings.ini")"
wm=$(scratch info sway | awk '/Installed/{print $2}')
spkg=$(ls $(pkgadd --print-dbdir) | wc -l)
glibc=$(scratch info glibc | awk '/Installed/{print $2}')
gcc=$(scratch info gcc | awk '/Installed/{print $2}')
binut=$(scratch info binutils | awk '/Installed/{print $2}')
pyth=$(scratch info python3 | awk '/Installed/{print $2}')
wl=$(scratch info wayland | awk '/Installed/{print $2}')
snd=$(scratch info alsa-lib | awk '/Installed/{print $2}')
full() {
cat << EOF
> ${os}
> linux-${kernel}
> s6-linux-init-${init%-*}
> glibc-${glibc%-*}
> gcc-${gcc%-*}
> binutils-${binut%-*}
> python-${pyth%-*}
> spkg: ${spkg}
> ${font}
> mksh-git-${mksh%-*}
> foot-${tr%-*}
> wayland-${wl%-*}
> sway-${wm%-*}
> alsa-${snd%-*}
> ${cpu}
> ${mem}
EOF
}
full

17
home/desktop/.local/bin/gccup Executable file
View File

@ -0,0 +1,17 @@
#! /bin/sh
prts="gcc linux-rc-api-headers glibc binutils gcc libtool libmpc elfutils libmpfr linux-rc"
gccup() {
for i in $prts
do
scratch install -fr $i
done
}
printf "You are gonna recompile and reinstall critical ports like $prts ...\n Are you sure? [y/n]"
read op
case "$op" in
[y|y) gccup ;;
n]|n) exit ;;
esac

View File

@ -0,0 +1,5 @@
#! /bin/sh
for i in gcc glibc binutils ; do
printf "$i "
scratch info $i | awk '/Installed/{print $2}'
done

View File

@ -0,0 +1,17 @@
#! /bin/sh
prts="$(scratch installed | awk '{print $1}')"
installed() {
for i in $prts
do
scratch install -fr $i
done
}
printf "You are gonna recompile and reinstall all installed ports like $prts \n... \nAre you sure? [y/N]"
read op
case "$op" in
[y|y) installed ;;
N]|n) exit ;;
esac

View File

@ -0,0 +1,304 @@
acl
adwaita-icon-theme
alsa-lib
alsa-topology-conf
alsa-ucm-conf
alsa-utils
aom
at-spi2-atk
at-spi2-core
atk
attr
autoconf
autoconf2.13
automake
base
bash
bc
bison
bzip2
c-ares
ca-certificates
cairo
cbindgen
chrpath
clang
cmake
coreutils
cups
curl
dash
dav1d
dbus
dbus-glib
desktop-file-utils
dhcpcd
diffutils
dmenu
docbook-xml
docbook-xsl
dosfstools
dwm
e2fsprogs
efibootmgr
efivar
elfutils
eudev
expat
fdk-aac
ffmpeg
file
filesystem
findutils
firefox
flex
font-util
fontconfig
freetype2
fribidi
fzf
gawk
gdbm
gdk-pixbuf
gettext
giflib
girara
git
glib
gnutls
go
gobject-introspection
gperf
graphene
grep
groff
gst-plugins-base
gstreamer
gtk3
gzip
harfbuzz
help2man
herbe
hicolor-icon-theme
iana-etc
icu
imagemagick7
imlib2
inetutils
inih
intltool
iproute2
iso-codes
jasper
jq
json-c
kbd
kmod
lame
lcms2
less
lftp
libarchive
libass
libcap
libcdio
libcdio-paranoia
libcroco
libdrm
libepoxy
libevdev
libevent
libexif
libffi
libfontenc
libgcrypt
libglvnd
libgmp
libgpg-error
libgudev
libice
libinput
libjpeg-turbo
libmd
libmnl
libmpc
libmpfr
libnl
libnotify
libogg
libpciaccess
libpipeline
libpng
libptytty
libreoffice-bin
librsvg
libseccomp
libsm
libtasn1
libtheora
libtiff
libtirpc
libtool
libunistring
libusb
libuv
libva
libva-intel
libva-utils
libvdpau
libvorbis
libvpx
libwebp
libx11
libxau
libxcb
libxcomposite
libxcursor
libxcvt
libxdamage
libxdmcp
libxext
libxfixes
libxfont2
libxft
libxi
libxinerama
libxkbcommon
libxkbfile
libxml2
libxmu
libxrandr
libxrender
libxscrnsaver
libxshmfence
libxslt
libxt
libxtst
libxv
libxvmc
libxxf86vm
light
linux-firmware
linux-pam
lld
llvm
luajit
lynx
lz4
lzo
m4
make
man-db
man-pages
mesa
meson
mksh
mpv
mtdev
nasm
ncurses
nettle
ngetty
ninja
nnn
nodejs
nspr
nss
oniguruma
opendoas
openjpeg2
openssl
opus
p11-kit
pango
patch
pciutils
pcre
pcre2
perl
perl-xml-parser
pixman
pkgconf
poppler
poppler-data
poppler-glib
popt
procps-ng
psmisc
python3
python3-attrs
python3-docopt
python3-mako
python3-markupsafe
python3-packaging
python3-pillow
python3-pyparsing
python3-pyproject2setuppy
python3-setuptools
python3-setuptools-scm
python3-six
python3-toml
python3-tomli
python3-xlib
rc
readline
rust-bin
rxvt-unicode
scratchpkg
sdl2
sed
sgml-common
shadow
shared-mime-info
slock
slstatus
sqlite
sxiv
sysklogd
sysvinit
tabbed
tar
telegram-desktop-bin
texinfo
tree
tzdata
ueberzug
unzip
urcu
usbutils
util-linux
util-macros
vala
vim
which
wpa_supplicant
x264
x265
xauth
xcb-proto
xcb-util
xclip
xdg-utils
xdotool
xf86-input-libinput
xf86-video-intel
xfsprogs
xinit
xkbcomp
xkeyboard-config
xmlto
xorg-server
xorgproto
xrandr
xset
xtrans
xz
yaml
yasm
yt-dlp
ytfzf
zathura
zathura-pdf-poppler
zip
zlib
zstd

View File

@ -0,0 +1,17 @@
#! /bin/sh
prts="$(cat installed-ports)"
installed() {
for i in $prts
do
doas scratch install -fr $i
done
}
printf "You are gonna recompile and reinstall all installed ports like $prts \n... \nAre you sure? [y/N]"
read op
case "$op" in
[y|y) installed ;;
N]|n) exit ;;
esac

11
home/desktop/.local/bin/modpar Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
echo "Write the kernel module name, example i915:"
read NAME
if [ -d "/sys/module/$NAME/parameters" ]; then
ls /sys/module/$NAME/parameters/ | while read parameter; do
echo -n "$parameter => "
doas cat /sys/module/$NAME/parameters/$parameter
done
fi

View File

@ -0,0 +1,4 @@
#!/bin/sh
echo Write de module name, example i915 :
read NAME
doas grep -H '' /sys/module/$NAME/parameters/*

View File

@ -0,0 +1,9 @@
#! /bin/sh
mem="$(busybox free -m | awk '/^Mem:/ {print $3}')"
cpu="$(top -b -n 1 | grep %Cpu | awk '{print $2}')"
tmp=$(awk '{print $0/1000}' /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon0/temp1_input)
gtmp=$(awk '{print $0/1000}' /sys/class/drm/card0/device/hwmon/hwmon?/temp1_input)
printf "%s\n" "Cpu Load:$cpu"
printf "%s\n" "MEM Used: $mem MiB"
printf "%s\n" "Cpu Temp: $tmp ºC"
printf "%s\n" "Gpu Temp: $gtmp ºC"

83
home/desktop/.local/bin/record Executable file
View File

@ -0,0 +1,83 @@
#!/bin/sh
# Mic Webcam [-i sysdefault:CARD=Camera], mic default [-i default]
screencast() { ffmpeg \
-vaapi_device /dev/dri/renderD128 \
-f x11grab \
-r 25 \
-s $(xrandr | awk '/\*+/ {print $1}') \
-i $DISPLAY \
-f alsa -i default \
-vf 'hwupload,scale_vaapi=format=nv12' \
-c:v h264_vaapi -qp 24 \
-c:a libvorbis \
"$HOME/screencast-$(date '+%y%m%d-%H%M%S').mp4" &
echo $! > /tmp/recordingpid
herbe "[·] Screencast.mp4 "
}
video() { ffmpeg \
-vaapi_device /dev/dri/renderD128 \
-f x11grab \
-r 25 \
-s $(xrandr | awk '/\*+/ {print $1}') \
-i $DISPLAY \
-vf 'hwupload,scale_vaapi=format=nv12' \
-c:v h264_vaapi -qp 24 \
"$HOME/video-$(date '+%y%m%d-%H%M%S').mp4" &
echo $! > /tmp/recordingpid
herbe "[·] Video.mp4"
}
webcam() { ffmpeg \
-f v4l2 \
-r 25 \
-s 640x480 \
-i /dev/video0 \
-f alsa -i default \
-c:v libx264 -preset ultrafast \
-c:a libvorbis \
"$HOME/webcam-$(date '+%y%m%d-%H%M%S').mp4" &
echo $! > /tmp/recordingpid
herbe "[·] Webcam"
}
audio() { ffmpeg \
-f alsa -i default \
-c:a libvorbis \
"$HOME/audio-$(date '+%y%m%d-%H%M%S').ogg" &
echo $! > /tmp/recordingpid
herbe "[·] Audio.ogg"
}
askrecording() { \
choice=$(printf "Screencast\\nVideo\\nAudio\\nWebcam" | dmenu -i -fn "mononoki:size=9:style=Bold" -nb "#000000" -nf "#777777" -sb "#000000" -sf "#ffffff" -p " Record")
case "$choice" in
"Screencast") screencast;;
"Video") video;;
"Audio") audio;;
"Webcam") webcam;;
esac
}
killrecording() {
recpid="$(cat /tmp/recordingpid)"
# kill with SIGTERM, allowing finishing touches.
kill -15 "$recpid"
rm -f /tmp/recordingpid
# even after SIGTERM, ffmpeg may still run, so SIGKILL it.
sleep 3
kill -9 "$recpid"
exit
}
asktoend() { \
response=$(printf "No\\nYes" | dmenu -i -fn "mononoki:size=9:style=Bold" -nb "#000000" -nf "#777777" -sb "#000000" -sf "#ffffff" -p " End") &&
[ "$response" = "Yes" ] && killrecording
}
case "$1" in
kill) killrecording;;
*) ([ -f /tmp/recordingpid ] && asktoend && exit) || askrecording;;
esac

View File

@ -0,0 +1,79 @@
#!/bin/sh
# Micrófono Webcam [-i sysdefault:CARD=Camera], micrófono por defecto [-i default]
screencast() { ffmpeg \
-f x11grab \
-r 25 \
-s $(xdpyinfo | grep dimensions | awk '{print $2;}') \
-i $DISPLAY \
-f alsa -i default \
-c:v libx264 -preset ultrafast \
-c:a libvorbis \
"$HOME/screencast-$(date '+%y%m%d-%H%M%S').mp4" &
echo $! > /tmp/recordingpid
herbe "[·] Screencast.mp4 "
}
video() { ffmpeg \
-f x11grab \
-r 25 \
-s $(xdpyinfo | grep dimensions | awk '{print $2;}') \
-i $DISPLAY \
-c:v libx264 -preset ultrafast \
"$HOME/video-$(date '+%y%m%d-%H%M%S').mp4" &
echo $! > /tmp/recordingpid
herbe "[·] Video.mp4"
}
webcam() { ffmpeg \
-f v4l2 \
-r 25 \
-s 640x480 \
-i /dev/video0 \
-f alsa -i default \
-c:v libx264 -preset ultrafast \
-c:a libvorbis \
"$HOME/webcam-$(date '+%y%m%d-%H%M%S').mp4" &
echo $! > /tmp/recordingpid
herbe "[·] Webcam"
}
audio() { ffmpeg \
-f alsa -i default \
-c:a libvorbis \
"$HOME/audio-$(date '+%y%m%d-%H%M%S').ogg" &
echo $! > /tmp/recordingpid
herbe "[·] Audio.ogg"
}
askrecording() { \
choice=$(printf " Screencast\\n Vídeo\\n Audio\\n Webcam" | dmenu -i -fn "mononoki:size=9:style=Bold" -nb "#000000" -nf "#777777" -sb "#000000" -sf "#ffffff" -p "  Grabar")
case "$choice" in
" Screencast") screencast;;
" Vídeo") video;;
" Audio") audio;;
" Webcam") webcam;;
esac
}
killrecording() {
recpid="$(cat /tmp/recordingpid)"
# kill with SIGTERM, allowing finishing touches.
kill -15 "$recpid"
rm -f /tmp/recordingpid
# even after SIGTERM, ffmpeg may still run, so SIGKILL it.
sleep 3
kill -9 "$recpid"
exit
}
asktoend() { \
response=$(printf " Cancelar\\n Aceptar" | dmenu -i -fn "mononoki:size=9:style=Bold" -nb "#000000" -nf "#777777" -sb "#000000" -sf "#ffffff" -p "  Finalizar") &&
[ "$response" = " Aceptar" ] && killrecording
}
case "$1" in
kill) killrecording;;
*) ([ -f /tmp/recordingpid ] && asktoend && exit) || askrecording;;
esac

View File

@ -0,0 +1,11 @@
#! /bin/sh
doas mount /dev/sda3 /mnt/venom && \
doas mount -v --bind /dev /mnt/venom/dev && \
doas mount -vt devpts devpts /mnt/venom/dev/pts -o gid=5,mode=620 && \
doas mount -vt proc proc /mnt/venom/proc && \
doas mount -vt sysfs sysfs /mnt/venom/sys && \
doas mount -vt tmpfs tmpfs /mnt/venom/run && \
doas mkdir -pv /mnt/venom/$(readlink /mnt/venom/dev/shm) && \
doas cp -L /etc/resolv.conf /mnt/venom/etc/ && \
doas mount -t tmpfs tmpfs -o nosuid,noatime,nodev,size=16G /mnt/venom/var/cache/scratchpkg/work && \
doas chroot /mnt/venom /bin/mksh

View File

@ -0,0 +1,11 @@
#! /bin/sh
doas mount /dev/sda6 /mnt/venom && \
doas mount -v --bind /dev /mnt/venom/dev && \
doas mount -vt devpts devpts /mnt/venom/dev/pts -o gid=5,mode=620 && \
doas mount -vt proc proc /mnt/venom/proc && \
doas mount -vt sysfs sysfs /mnt/venom/sys && \
doas mount -vt tmpfs tmpfs /mnt/venom/run && \
doas mkdir -pv /mnt/venom/$(readlink /mnt/venom/dev/shm) && \
doas cp -L /etc/resolv.conf /mnt/venom/etc/ && \
doas mount -t tmpfs tmpfs -o nosuid,noatime,nodev,size=16G /mnt/venom/var/cache/scratchpkg/work && \
doas chroot /mnt/venom /bin/mksh

11
home/desktop/.local/bin/session Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
SESSION=$(printf "Shutdown\\nReboot\\nLock\\nExit" | dmenu -i -p " Session:" -fn "mononoki:size=9:style=Bold" -nb "#000000" -nf "#777777" -sb "#000000" -sf "#ffffff")
case $SESSION in
"Shutdown") doas shutdown -h now;;
"Reboot") doas shutdown -r now;;
"Lock") slock;;
"Exit") xdotool key "super+shift+e";;
*) ;;
esac

View File

@ -0,0 +1,11 @@
#!/bin/sh
SESSION=$(printf "Poweroff\\nReboot\\nLock\\nExit" | bemenu -H '20' -p 'Session:' --fn 'mononoki 11' --tf '#ffffff' --hf '#000000' --hb '#999999')
case $SESSION in
"Poweroff") doas poweroff;;
"Reboot") doas reboot;;
"Lock") swaylock -i ~/.icons/fondo.jpg;;
"Exit") swaymsg exit;;
*) ;;
esac

17
home/desktop/.local/bin/sources Executable file
View File

@ -0,0 +1,17 @@
#! /bin/sh
prts="$(scratch installed | awk '{print $1}')"
installed() {
for i in $prts
do
doas scratch build -o $i
done
}
printf "You are gonna recompile and reinstall all installed ports like $prts \n... \nAre you sure? [y/N]"
read op
case "$op" in
[y|y) installed ;;
N]|n) exit ;;
esac

View File

@ -0,0 +1,16 @@
#! /bin/sh
prts="linux-api-headers glibc binutils gcc glibc binutils gcc libtool libmpc elfutils libmpfr linux"
toolchain() {
for i in $prts; do
scratch install -fr $i
done
}
printf "You are gonna recompile and reinstall critical ports like $prts ...\n Are you sure? [y/n]"
read op
case "$op" in
[y|y) toolchain ;;
n]|n) exit ;;
esac

10
home/desktop/.local/bin/vchroot Executable file
View File

@ -0,0 +1,10 @@
#! /bin/sh
mount -v --bind /dev /mnt/venom/dev && \
mount -vt devpts devpts /mnt/venom/dev/pts -o gid=5,mode=620 && \
mount -vt proc proc /mnt/venom/proc && \
mount -vt sysfs sysfs /mnt/venom/sys && \
mount -vt tmpfs tmpfs /mnt/venom/run && \
mkdir -pv /mnt/venom/$(readlink /mnt/venom/dev/shm) && \
cp -L /etc/resolv.conf /mnt/venom/etc/ && \
mount -t tmpfs tmpfs -o nosuid,noatime,nodev,size=32G /mnt/venom/var/cache/scratchpkg/work && \
chroot /mnt/venom /bin/mksh

View File

@ -0,0 +1,10 @@
#! /bin/sh
mount -v --bind /dev /mnt/iso/dev && \
mount -vt devpts devpts /mnt/iso/dev/pts -o gid=5,mode=620 && \
mount -vt proc proc /mnt/iso/proc && \
mount -vt sysfs sysfs /mnt/iso/sys && \
mount -vt tmpfs tmpfs /mnt/iso/run && \
mkdir -pv /mnt/iso/$(readlink /mnt/iso/dev/shm) && \
cp -L /etc/resolv.conf /mnt/iso/etc/ && \
mount -t tmpfs tmpfs -o nosuid,noatime,nodev,size=32G /mnt/iso/var/cache/scratchpkg/work && \
chroot /mnt/iso /bin/bash

View File

@ -0,0 +1,12 @@
#!/bin/sh
pth=/usr/ports/ports
rp="core main multilib nonfree"
prt="$(ls ${pth}/$r)"
for r in $rp; do
for p in $(ls $pth/$r); do
cd $pth/$r/$p
pkgbuild -o
pkgbuild -g
done
done

12
home/desktop/.local/bin/wpa Executable file
View File

@ -0,0 +1,12 @@
$ cat wpa
#!/bin/sh
i1=wlp8s0
i2=wlp2s0
if [ -f /run/wpa_supplicant/$i1] ; then
doas pkill wpa_supplicant
doas wpa_supplicant -B -D nl80211 -i $i2 -c /etc/wpa_supplicant.conf
elif [ -f /run/wpa_supplicant/$i2 ; then
doas pkill wpa_supplicant
doas wpa_supplicant -B -D nl80211 -i $i1 -c /etc/wpa_supplicant.conf
fi

View File

@ -38,6 +38,23 @@ NNN_TRASH=2 # Move files to trash
NNN_READER="zathura" # Documents reader
NNN_FIFO=/tmp/nnn.fifo # Preview pluggin
# SWAY
XDG_SESSION_TYPE=wayland
XDG_SESSION_DESKTOP=sway
XDG_CURRENT_DESKTOP=sway
DESKTOP_SESSION=sway
XKB_DEFAULT_LAYOUT=es
LIBSEAT_BACKEND=seatd
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
QT_QPA_PLATFORM=wayland
MOZ_ENABLE_WAYLAND=1
CLUTTER_BACKEND=wayland
SDL_VIDEODRIVER=wayland
SDL_AUDIODRIVER=alsa
WLR_DRM_DEVICES=/dev/dri/card0
OZONE_PLATFORM=wayland
WLR_NO_HARDWARE_CURSORS=1
# XDG_RUNTIME_DIR
unset XDG_RUNTIME_DIR
XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)

View File

@ -0,0 +1,254 @@
" Vim color scheme
"
" Name: monochrome.vim
" Maintainer: Xavier Noria <fxn@hashref.com>
" License: MIT
set background=dark
hi clear
if exists('syntax_on')
syntax reset
endif
let g:colors_name = 'monochrome'
let s:white = ['White', 15]
let s:black = ['#0e1111', 16]
let s:bgray = ['#181818', 233]
let s:lgray = ['LightGray', 255]
let s:cgray = ['#737373', 243]
let s:dgray = ['DarkGray', 248]
let s:sblue = ['#778899', 67]
let s:yellow = ['Yellow', 226]
let s:red = ['#b6403a', 160]
let s:green = ['#478226', 28]
let s:default_fg = s:lgray
let s:default_bg = s:black
let s:italic = 'italic'
let s:bold = 'bold'
let s:underline = 'underline'
let s:none = 'NONE'
let s:default_lst = []
let s:default_str = ''
if !exists("g:monochrome_italic_comments")
let g:monochrome_italic_comments = 0
endif
let s:comment_attr = g:monochrome_italic_comments ? s:italic : s:none
function! s:hi(...)
let group = a:1
let fg = get(a:, 2, s:default_fg)
let bg = get(a:, 3, s:default_bg)
let attr = get(a:, 4, s:default_str)
let cmd = ['hi', group]
if fg != s:default_lst
call add(cmd, 'guifg='.fg[0])
call add(cmd, 'ctermfg='.fg[1])
endif
if bg != s:default_lst && bg != s:default_bg
call add(cmd, 'guibg='.bg[0])
call add(cmd, 'ctermbg='.bg[1])
endif
if attr != s:default_str
call add(cmd, 'gui='.attr)
call add(cmd, 'cterm='.attr)
endif
exec join(cmd, ' ')
endfunction
"
" --- Vim interface ------------------------------------------------------------
"
call s:hi('Normal')
call s:hi('Cursor', s:black, s:lgray)
call s:hi('CursorLine', s:default_lst, s:bgray, s:none)
call s:hi('CursorLineNr', s:white, s:default_bg, s:bold)
call s:hi('ColorColumn', s:default_fg, s:bgray)
call s:hi('Search', s:white, s:sblue)
call s:hi('Visual', s:white, s:sblue)
call s:hi('ErrorMsg', s:white, s:red)
" Tildes at the bottom of a buffer, etc.
call s:hi('NonText', s:dgray)
" Folding.
call s:hi('FoldColumn', s:dgray)
call s:hi('Folded')
" Line numbers gutter.
call s:hi('LineNr', s:dgray)
" Small arrow used for tabs.
call s:hi('SpecialKey', s:sblue, s:default_bg, s:bold)
" File browsers.
call s:hi('Directory', s:white, s:default_bg, s:bold)
" Help.
call s:hi('helpSpecial')
call s:hi('helpHyperTextJump', s:sblue, s:default_bg, s:underline)
call s:hi('helpNote')
" Popup menu.
call s:hi('Pmenu', s:white, s:sblue)
call s:hi('PmenuSel', s:sblue, s:white)
" Notes.
call s:hi('Todo', s:black, s:yellow, s:bold)
" Signs.
call s:hi('SignColumn')
"
" --- Programming languages ----------------------------------------------------
"
call s:hi('Statement', s:white, s:default_bg, s:bold)
call s:hi('PreProc', s:white, s:default_bg, s:bold)
call s:hi('String', s:sblue)
call s:hi('Comment', s:cgray, s:default_bg, s:comment_attr)
call s:hi('Constant')
call s:hi('Type', s:white, s:default_bg, s:bold)
call s:hi('Function', s:white)
call s:hi('Identifier')
call s:hi('Special')
call s:hi('MatchParen', s:lgray, s:black, s:underline)
"
" --- VimL ---------------------------------------------------------------------
"
call s:hi('vimOption')
call s:hi('vimGroup')
call s:hi('vimHiClear')
call s:hi('vimHiGroup')
call s:hi('vimHiAttrib')
call s:hi('vimHiGui')
call s:hi('vimHiGuiFgBg')
call s:hi('vimHiCTerm')
call s:hi('vimHiCTermFgBg')
call s:hi('vimSynType')
hi link vimCommentTitle Comment
"
" --- Ruby ---------------------------------------------------------------------
"
call s:hi('rubyConstant')
call s:hi('rubySharpBang', s:cgray)
call s:hi('rubySymbol', s:sblue)
call s:hi('rubyStringDelimiter', s:sblue)
call s:hi('rubyStringEscape', s:sblue)
call s:hi('rubyRegexpEscape', s:sblue)
call s:hi('rubyRegexpAnchor', s:sblue)
call s:hi('rubyRegexpSpecial', s:sblue)
"
" --- Elixir -------------------------------------------------------------------
"
call s:hi('elixirAlias', s:default_fg, s:default_bg, s:none)
call s:hi('elixirDelimiter', s:sblue)
call s:hi('elixirSelf', s:default_fg, s:default_bg, s:none)
" For ||, ->, etc.
call s:hi('elixirOperator')
" Module attributes like @doc or @type.
hi link elixirVariable Statement
" While rendered as comments in other languages, docstrings are strings,
" experimental.
hi link elixirDocString String
hi link elixirDocTest String
hi link elixirStringDelimiter String
"
" --- Perl ---------------------------------------------------------------------
"
call s:hi('perlSharpBang', s:cgray)
call s:hi('perlStringStartEnd', s:sblue)
call s:hi('perlStringEscape', s:sblue)
call s:hi('perlMatchStartEnd', s:sblue)
"
" --- Python -------------------------------------------------------------------
"
call s:hi('pythonEscape', s:sblue)
"
" --- JavaScript ---------------------------------------------------------------
"
call s:hi('javaScriptFunction', s:white, s:default_bg, s:bold)
"
" --- Diffs --------------------------------------------------------------------
"
call s:hi('diffFile', s:cgray)
call s:hi('diffNewFile', s:cgray)
call s:hi('diffIndexLine', s:cgray)
call s:hi('diffLine', s:cgray)
call s:hi('diffSubname', s:cgray)
call s:hi('diffAdded', s:white, s:green)
call s:hi('diffRemoved', s:white, s:red)
"
" --- Markdown -----------------------------------------------------------------
"
call s:hi('Title', s:white, s:default_bg, s:bold)
call s:hi('markdownHeadingDelimiter', s:white, s:default_bg, s:bold)
call s:hi('markdownHeadingRule', s:white, s:default_bg, s:bold)
call s:hi('markdownLinkText', s:sblue, s:default_bg, s:underline)
"
" --- vim-fugitive -------------------------------------------------------------
"
call s:hi('gitcommitComment', s:default_fg, s:default_bg, s:none)
call s:hi('gitcommitOnBranch', s:default_fg, s:default_bg, s:none)
call s:hi('gitcommitBranch', s:sblue, s:default_bg, s:none)
call s:hi('gitcommitHeader', s:white, s:default_bg, s:bold)
call s:hi('gitcommitSelected', s:default_fg, s:default_bg, s:none)
call s:hi('gitcommitDiscarded', s:default_fg, s:default_bg, s:none)
call s:hi('gitcommitSelectedType', s:default_fg, s:default_bg, s:none)
call s:hi('gitcommitDiscardedType', s:default_fg, s:default_bg, s:none)
"
" --- NeoMake ------------------------------------------------------------------
"
call s:hi('NeomakeMessageSign')
call s:hi('NeomakeWarningSign', s:sblue)
call s:hi('NeomakeErrorSign', s:yellow)
call s:hi('NeomakeInfoSign')
call s:hi('NeomakeError', s:yellow)
call s:hi('NeomakeInfo', s:default_fg, s:default_bg, s:bold)
call s:hi('NeomakeMessage')
call s:hi('NeomakeWarning', s:yellow)

9
home/desktop/etc/fstab Normal file
View File

@ -0,0 +1,9 @@
# /etc/fstab
# <device> <dir> <type> <options> <dump> <fsck>
PARTUUID=b8c8b684-e771-3545-b961-29227e48812d /boot vfat defaults 0 2
PARTUUID=c78f9310-5f70-274f-b715-97d10e1afb80 none swap defaults 0 0
PARTUUID=167550c9-4bbe-3d45-9247-1a9a16a1ab13 / xfs defaults 0 0
tmpfs /tmp tmpfs nosuid,noatime,nodev,size=3G 0 0
tmpfs /var/cache/scratchpkg/work tmpfs nosuid,noatime,nodev,size=32G 0 0
tmpfs /home/luis/.cache tmpfs nosuid,noatime,nodev,size=300M 0 0

View File

@ -0,0 +1,2 @@
# Switch audio output from HDMI to PCH and Enable sound chipset powersaving
options snd-hda-intel index=1,0 power_save=1