Reinitialize repo - bare repo

This commit is contained in:
Wiktor Zykubek 2020-05-08 20:16:17 +02:00
parent b51b99ab53
commit b83a379600
110 changed files with 0 additions and 18414 deletions

View File

@ -1,39 +0,0 @@
```bash
_ _ _ __
| |__ (_) _ _ __ _ | | ___ ___ _ __ / _|
| '_ \ | || | | | / _` || | / __|/ _ \ | '_ \ | |_
| |_) || || |_| || (_| || | _| (__| (_) || | | || _|
|_.__/ |_| \__,_| \__,_||_|(_)\___|\___/ |_| |_||_|
```
**B**tw. **I** **u**se **A**rch **L**inux
# Screenshots
![scr2](./screenshot2.png)
![scr1](./screenshot1.png)
## Hot stuff:
Category | Item
:--- | :---
os | parabola
wm | bspwm
shortcuts manager | sxhkd
browser | icecat
shell | zsh
bar | polybar
text editor | neovim
bittorrent client | transmission-cli
password manager | keepassxc
compositor | picom
notify daemon | dunst
music daemon | mpd
music player | ncmpcpp
app menu | rofi
aur helper | yay
audio drivers | alsa
terminal emulator | st
video player | vlc/mpv
ascii generator | figlet
file manager | vifm
mail client | neomutt
+ some personal scripts for rofi and dmenu

View File

@ -1,56 +0,0 @@
! special
*.foreground: #dfdfdf
*.background: #130314
*.border_unfocused: #262323
*.border_focused: #353131
! dwm
dwm.normfgcolor: #bbbbbb
dwm.normbgcolor: #1b1b1b
dwm.normbordercolor: #444444
dwm.selfgcolor: #eeeeee
dwm.selbgcolor: #5e3059
dwm.selbordercolor: #05e3059
! dmenu
dmenu.selbackground: #353131
dmenu.selforeground: #dfdfdf
dmenu.font: Monospace:pixelsize=13:antialias=true:autohint=true:hintstyle=hintmedium
! st
st.font: Monospace:pixelsize=13:antialias=true:autohint=true:hintstyle=hintmedium
! black
*.color0: #000000
! gray
*.color8: #343834
! red
*.color1: #cf5252
*.color9: #cf5252
! green
*.color2: #92ad4a
*.color10: #92ad4a
! yellow
*.color3: #c9895b
*.color11: #c9895b
! blue
*.color4: #6f97b8
*.color12: #6f97b8
! magenta
*.color5: #ab6ba6
*.color13: #ab6ba6
! cyan
*.color6: #6fa69f
*.color14: #6fa69f
! white
*.color7: #cccccc

View File

@ -1,36 +0,0 @@
#!/bin/bash
# _ _
# __ _| (_) __ _ ___ ___ ___
# / _` | | |/ _` / __|/ _ \/ __|
# | (_| | | | (_| \__ \ __/\__ \
# \__,_|_|_|\__,_|___/\___||___/
alias battery='upower -i /org/freedesktop/UPower/devices/battery_BAT0'
alias vi='nvim'
alias vim='nvim'
alias suvi='sudo -E nvim'
alias owo='yay --editmenu --nodiffmenu --save'
alias uwu="yay -Slq | fzf -m --preview 'yay -Si {1}' | yay -S -"
alias pass='keepassxc-cli clip ~/Passwords/keepass.kdbx'
alias torrent='transmission-cli'
alias ascii='figlet'
alias sudo='sudo -p "$(printf "\033[0;31m")[ sudo ]$(printf "\033[0m"): "'
alias ytdl-audio='youtube-dl -i --extract-audio --audio-format opus'
alias mirrors='sudo reflector --latest 200 --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
alias copy='xclip -selection clipboard'
# Colors
alias ls='ls --color=auto'
alias ip='grc ip'
alias ping='grc ping'
alias ps='grc ps'
# Git
alias ga='git add'
alias gc='git commit'
alias gp='git push'
alias gpom='git push origin master'
alias gl='git log'
alias gpu='git pull'
alias gs='git status'
alias gr='git rm -f'

View File

@ -1,34 +0,0 @@
#!/usr/bin/env bash
#
# ████ ██ ██
# ██████ ░██░ ░░ ░██
# ░██░░░██ ██████ ██████ ██████ ██ ░██ █████
# ░██ ░██░░██░░█ ██░░░░██░░░██░ ░██ ░██ ██░░░██
# ░██████ ░██ ░ ░██ ░██ ░██ ░██ ░██░███████
# ░██░░░ ░██ ░██ ░██ ░██ ░██ ░██░██░░░░
# ░██ ░███ ░░██████ ░██ ░██ ███░░██████
# ░░ ░░░ ░░░░░░ ░░ ░░ ░░░ ░░░░░░
#~~~~~~~~~~~~~~
# Default Apps
#~~~~~~~~~~~~~~
export EDITOR="nvim"
export BROWSER="firefox"
export TERMINAL="st"
#~~~~~~
# PATH
#~~~~~~
export GOPATH=$HOME/.local/go
export NPM_PACKAGES="$HOME/.yarn/bin/"
export PATH="$PATH:$HOME/Dotfiles:$HOME/.local/bin:$NPM_PACKAGES:$GOROOT/bin:$GOPATH/bin"
export SCRD=$HOME/.scripts/
export LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=00;93:do=00;93:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=1;34:st=37;44:ex=01;32:*.tar=01;36:*.tgz=01;36:*.svgz=00;93:*.arj=01;36:*.taz=01;36:*.lzh=01;36:*.lzma=01;36:*.zip=01;36:*.z=01;36:*.Z=01;36:*.dz=01;36:*.gz=01;36:*.bz2=01;36:*.tbz2=01;36:*.bz=01;36:*.tz=01;36:*.deb=01;36:*.rpm=01;36:*.jar=01;36:*.rar=01;36:*.ace=01;36:*.zoo=01;36:*.cpio=01;36:*.7z=01;36:*.rz=01;36:*.jpg=00;93:*.jpeg=00;93:*.gif=00;93:*.bmp=00;93:*.pbm=00;93:*.pgm=00;93:*.ppm=00;93:*.tga=00;93:*.xbm=00;93:*.xpm=00;93:*.tif=00;93:*.tiff=00;93:*.png=00;93:*.mng=00;93:*.pcx=00;93:*.mov=00;93:*.mpg=00;93:*.mpeg=00;93:*.m2v=00;93:*.mkv=00;93:*.ogm=00;93:*.mp4=00;93:*.m4v=00;93:*.mp4v=00;93:*.vob=00;93:*.qt=00;93:*.nuv=00;93:*.wmv=00;93:*.asf=00;93:*.rm=00;93:*.rmvb=00;93:*.flc=00;93:*.avi=00;93:*.fli=00;93:*.gl=00;93:*.dl=00;93:*.xcf=00;93:*.xwd=00;93:*.yuv=00;93:*.svg=00;93:*.aac=00;36:*.au=00;36:*.flac=00;35:*.mid=00;35:*.midi=00;35:*.mka=00;35:*.mp3=00;35:*.mpc=00;35:*.ogg=00;35:*.ra=00;35:*.wav=00;35:*.opus=00;35:"
export _JAVA_AWT_WM_NONREPARENTING=1
export GPG_TTY=$(tty)

View File

@ -1,21 +0,0 @@
#
# ██ ██
# ░██ ░██
# ░██ ██████ ██████░██
# ░██████ ░░░░░░██ ██░░░░ ░██████
# ░██░░░██ ███████ ░░█████ ░██░░░██
# ░██ ░██ ██░░░░██ ░░░░░██░██ ░██
# ░██████ ░░████████ ██████ ░██ ░██
# ░░░░░ ░░░░░░░░ ░░░░░░ ░░ ░░
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Vi mode
set -o vi
# Load global shell config
source $HOME/.shellrc
# Prompt
export PS1="\033[0;32m\h\033[0m in \033[0;36m\w\033[0m\n{\033[0;31m${?}\033[0m}\033[0;36m> \033[0m"

View File

@ -1,39 +0,0 @@
#!/bin/sh
# _
# | |__ ___ _ ____ ___ __ ___
# | '_ \/ __| '_ \ \ /\ / / '_ ` _ \
# | |_) \__ \ |_) \ V V /| | | | | |
# |_.__/|___/ .__/ \_/\_/ |_| |_| |_|
# |_|
#~~~~~~~~~~~~~~~~
# WINDOW MANAGER
#~~~~~~~~~~~~~~~~
bspc monitor -d I II III IV V VI VII VIII IX X
bspc desktop -f 1
BOR_UF=$(echo $(xrdb -query | awk '/\*.border_unfocused/ { printf $2 } '))
BOR_F=$(echo $(xrdb -query | awk '/\*.border_focused/ { printf $2 } '))
bspc config border_width 1
bspc config window_gap 3
# bspc config normal_border_color "$BOR_UF"
# bspc config focused_border_color "$BOR_F"
bspc config border_width 0
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
#~~~~~~~~~~~~
# APPS RULES
#~~~~~~~~~~~~
bspc rule -a firefox desktop='^3'
bspc rule -a discord desktop='^4'
bspc rule -a TelegramDesktop desktop='^4'
#~~~~~~~~~~~
# AUTOSTART
#~~~~~~~~~~~
$SCRD/autostart &

View File

@ -1,35 +0,0 @@
#!/bin/sh
# _
# | |__ ___ _ ____ ___ __ ___
# | '_ \/ __| '_ \ \ /\ / / '_ ` _ \
# | |_) \__ \ |_) \ V V /| | | | | |
# |_.__/|___/ .__/ \_/\_/ |_| |_| |_|
# |_|
#~~~~~~~~~~~~~~~~
# WINDOW MANAGER
#~~~~~~~~~~~~~~~~
bspc monitor -d 1 2 3 4 5 6 7 8 9 10
bspc desktop -f 1
bspc config border_width 1
bspc config window_gap 3
bspc config normal_border_color "#353234"
bspc config focused_border_color "#4b8282"
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
#~~~~~~~~~~~~
# APPS RULES
#~~~~~~~~~~~~
bspc rule -a qutebrowser desktop='^3'
bspc rule -a discord desktop='^4'
bspc rule -a TelegramDesktop desktop='^4'
#~~~~~~~~~~~
# AUTOSTART
#~~~~~~~~~~~
${HOME}/.config/autostart/autostart.sh &

Binary file not shown.

View File

@ -1,159 +0,0 @@
# _ _
# __| |_ _ _ __ ___| |_
# / _` | | | | '_ \/ __| __|
# | (_| | |_| | | | \__ \ |_
# \__,_|\__,_|_| |_|___/\__|
[global]
monitor = 0
follow = keyboard
geometry = "300x60-20+48"
indicate_hidden = yes
shrink = yes
transparency = 10
notification_height = 0
separator_height = 2
padding = 15
horizontal_padding = 15
frame_width = 1
frame_color = "#353131"
#alignment = left
#x = 15
#y = 15
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort messages by urgency.
sort = yes
idle_threshold = 120
font = Inconsolata 11
line_height = 0
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "<b>%s</b>\n%b"
alignment = left
show_age_threshold = 60
word_wrap = yes
ellipsize = middle
ignore_newline = no
stack_duplicates = true
hide_duplicate_count = true
show_indicators = yes
icon_position = left
max_icon_size = 40
#icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/:/usr/share/icons/Adwaita/256x256/status/
sticky_history = yes
history_length = 20
dmenu = /usr/bin/dmenu -p dunst:
browser = /usr/bin/firefox -new-tab
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
title = Dunst
class = Dunst
startup_notification = false
force_xinerama = false
[experimental]
per_monitor_dpi = false
[shortcuts]
close = ctrl+space
close_all = ctrl+shift+space
history = ctrl+grave
context = ctrl+shift+period
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#0a0200"
foreground = "#dfdfdf"
timeout = 5
# Icon for notifications with low urgency, uncomment to enable
#icon = ~/.local/share/arch.png
[urgency_normal]
background = "#0a0200"
foreground = "#dfdfdf"
timeout = 5
[urgency_critical]
background = "#0a0200"
foreground = "#dfdfdf"
timeout = 0
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
# Messages can be matched by "appname", "summary", "body", "icon", "category",
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
# "background", "new_icon" and "format".
# Shell-like globbing will get expanded.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
#[espeak]
# summary = "*"
# script = ~/.config/dunst/alert.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
# vim: ft=cfg

View File

@ -1,5 +0,0 @@
[flake8]
ignore = E501
max-line-length = 160
exclude = tests/*
max-complexity = 20

View File

@ -1,11 +0,0 @@
[Filechooser Settings]
LocationMode=path-bar
ShowHidden=true
ShowSizeColumn=true
GeometryX=540
GeometryY=237
GeometryWidth=840
GeometryHeight=630
SortColumn=name
SortOrder=descending
StartupMode=recent

View File

@ -1 +0,0 @@
file:///home/samedamci/Pictures

View File

@ -1,16 +0,0 @@
[Settings]
gtk-theme-name=Adwaita
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Cantarell 11
gtk-cursor-theme-name=Adwaita
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb

View File

@ -1,73 +0,0 @@
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="./style.css" />
<title>Home</title>
</head>
<body>
<form class="search-bar" action="https://duckduckgo.com/">
<input
autofocus
type="search"
name="q"
placeholder="We need go deeper..."
autocomplete="off"
/>
</form>
<div id="bookmarks">
<a href="https://reddit.com/">
<div class="bmark">
<p>redd.it</p>
</div>
</a>
<a href="https://wiki.archlinux.org/">
<div class="bmark">
<p>arch wiki</p>
</div>
</a>
<a href="https://invidio.us/">
<div class="bmark">
<p>invidio.us</p>
</div>
</a>
<a href="https://github.com/">
<div class="bmark">
<p>github</p>
</div>
</a>
<a href="https://minecraft.net/">
<div class="bmark">
<p>minecraft</p>
</div>
<a href="https://planetminecraft.com/">
<div class="bmark">
<p>planetminecraft</p>
</div>
</a>
<a href="https://gitlab.com/">
<div class="bmark">
<p>gitlab</p>
</div>
</a>
<a href="https://fontawesome.com/cheatsheet?from=io">
<div class="bmark">
<p>fontawesome</p>
</div>
</a>
<a href="https://kernel.org">
<div class="bmark">
<p>kernel.org</p>
</div>
</a>
<a href="https://openstreetmap.org">
<div class="bmark">
<p>openstreetmap</p>
</div>
</a>
<a href="https://openweathermap.org/">
<div class="bmark">
<p>openweathermap</p>
</div>
</a>
</div>
</body>

View File

@ -1,60 +0,0 @@
:root {
--bg: #071616;
--fg: #dfdfdf;
--bru: #353234;
--brf: #144949;
}
* {
font-family: Monospace;
text-align: center;
color: var(--fg);
text-decoration: none;
}
body {
background: var(--bg);
}
.search-bar {
margin: 100px auto 0px auto;
width: 1100px;
}
.search-bar input {
background: var(--bg);
width: 100%;
height: 35px;
border: none;
}
.search-bar input:focus {
outline: none;
}
#bookmarks {
height: auto;
width: 1100px;
margin: 50px auto;
display: grid;
grid-gap: 10px;
grid-template-columns: auto auto auto auto;
}
.bmark {
background: var(--bg);
width: auto;
height: 40px;
margin: 0 0 3px 3px;
}
.bmark,
.search-bar {
border: 1px solid var(--bru);
}
.bmark:hover,
.search-bar:hover {
border-color: var(--brf);
color: var(--brf);
transition: 0.3s;
}

View File

@ -1,34 +0,0 @@
# Recommended location for database
db_file "~/.config/mpd/database"
# Logs to systemd journal
log_file "~/.config/mpd/mpd.log"
# The music directory is by default the XDG directory, uncomment to amend and choose a different directory
music_directory "/media/6CEC-36BB/Music"
# Uncomment to refresh the database whenever files in the music_directory are changed
auto_update "yes"
# Uncomment to enable the functionalities
playlist_directory "~/.config/mpd/playlists"
pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/state"
sticker_file "~/.config/mpd/sticker.sql"
auto_update "yes"
restore_paused "yes"
audio_output {
type "fifo"
name "Fifo visualisation"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
audio_output {
type "alsa"
name "Alsa for audio sound card"
}
port "6600"

View File

@ -1,82 +0,0 @@
# _ _ _ _
# | |__ (_)_ __ __| (_)_ __ __ _ ___
# | '_ \| | '_ \ / _` | | '_ \ / _` / __|
# | |_) | | | | | (_| | | | | | (_| \__ \
# |_.__/|_|_| |_|\__,_|_|_| |_|\__, |___/
# |___/
# Vim like key bindings
def_key "j"
scroll_down
def_key "k"
scroll_up
def_key "h"
previous_column
def_key "l"
next_column
def_key "l"
enter_directory
def_key "l"
run_action
def_key "l"
play_item
def_key "G"
move_end
def_key "g"
move_home
def_key "ctrl-u"
page_up
def_key "ctrl-d"
page_down
def_key "u"
page_up
def_key "d"
page_down
def_key "J"
move_sort_order_down
def_key "K"
move_sort_order_up
def_key "h"
jump_to_parent_directory
# Library
def_key "m"
show_media_library
def_key "m"
toggle_media_library_columns_mode
def_key "t"
show_tag_editor
def_key "v"
show_visualizer
def_key "f"
show_browser
def_key "f"
change_browse_mode
# Search
def_key "s"
reset_search_engine
def_key "s"
show_search_engine
def_key "n"
next_found_item
def_key "N"
previous_found_item
# Playlist manage
def_key "P"
show_playlist
def_key "x"
delete_playlist_items
def_key "ctrl-k"
move_selected_items_up
def_key "ctrl-j"
move_selected_items_down
# Other
def_key "+"
show_clock
def_key "U"
update_database
def_key "."
show_lyrics

View File

@ -1,76 +0,0 @@
# _ __ ___ _ __ ___ _ __ ___ _ __ _ __
# | '_ \ / __| '_ ` _ \| '_ \ / __| '_ \| '_ \
# | | | | (__| | | | | | |_) | (__| |_) | |_) |
# |_| |_|\___|_| |_| |_| .__/ \___| .__/| .__/
# |_| |_| |_|
#~~~~~~~~~
# GENERAL
#~~~~~~~~~
mpd_music_dir = "/media/6CEC-36BB/Music"
lyrics_directory = "~/.config/ncmpcpp/lyrics"
ncmpcpp_directory = "~/.config/ncmpcpp"
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "30"
visualizer_in_stereo = "yes"
visualizer_type = "spectrum"
visualizer_look = "+o"
song_list_format = {%t}|{$8%f$9}$R{$3(%l)$9}
song_status_format = $b{{$5"%t"}} $3by {$4%a{ $3in $7%b{ (%y)}} $3}|{$8%f}
song_library_format = {%t}|{%f}
song_columns_list_format = "(25)[blue]{a} (40)[blue]{t|f:Title} (30)[blue]{b} (7f)[blue] {l}"
progressbar_look = "->-"
playlist_show_remaining_time = "yes"
playlist_separate_albums = "yes"
playlist_display_mode = "columns" (classic/columns)
browser_display_mode = "columns" (classic/columns)
search_engine_display_mode = "columns" (classic/columns)
default_place_to_search_in = "database"
user_interface = "alternative"
header_visibility = "no"
titles_visibility = "yes"
clock_display_seconds = "no"
display_volume_level = "yes"
display_bitrate = "no"
display_remaining_time = "no"
regular_expressions = "extended"
show_hidden_files_in_local_browser = "no"
ignore_leading_the = "yes"
mouse_support = "no"
enable_window_title = "yes"
external_editor = "nvim"
use_console_editor = "yes"
#~~~~~~~~~~~~~
# COLORSCHEME
#~~~~~~~~~~~~~
colors_enabled = "yes"
header_window_color = "default"
main_window_color = "white"
progressbar_color = "green"
alternative_ui_separator_color = "red"
empty_tag_marker = ""
current_item_prefix = $(blue)$r$b
current_item_suffix = $/r$(end)$/b
current_item_inactive_column_prefix = $(4)$r
current_item_inactive_column_suffix = $/r$(end)
now_playing_prefix = $b
now_playing_suffix = $/b
browser_playlist_prefix = "$2playlist$9 "
selected_item_prefix = $6
selected_item_suffix = $9
modified_item_prefix = $3> $9
def_key "K"
move_sort_order_up
def_key "J"
move_sort_order_down

View File

@ -1,764 +0,0 @@
# 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
}
# 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"
# 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
# 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'
# 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%)'
disk_subtitle="mount"
# 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
# iTunes
# juk
# lollypop
# mocp
# mopidy
# mpd
# netease-cloud-music
# pogo
# pragha
# qmmp
# quodlibet
# rhythmbox
# sayonara
# smplayer
# spotify
# strawberry
# 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
# 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',
# '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: Arch and Ubuntu have 'old' logo variants.
# Change this to 'arch_old' or 'ubuntu_old' to use the old logos.
# NOTE: Ubuntu has flavor variants.
# Change this to 'Lubuntu', 'Xubuntu', 'Ubuntu-GNOME' or 'Ubuntu-Budgie' to use the flavors.
# NOTE: Arch, Crux and Gentoo have a smaller logo variant.
# Change this to 'arch_small', 'crux_small' or 'gentoo_small' to use the small logos.
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"

File diff suppressed because it is too large Load Diff

View File

@ -1,98 +0,0 @@
"==============
" Key Bindings
"==============
" Leader key
let mapleader = ' '
"~~~~~
" Git
"~~~~~
" Show git commit list
map <Leader>gv :GV<CR>
" Show status
nnoremap <Leader>gs :Git<CR>
" Pull
nnoremap <Leader>gpu :Gpull<CR>
"~~~~~~~~~~~~~~~~~
" File Management
"~~~~~~~~~~~~~~~~~
" fzf
nmap <silent> <Leader>f :Files<CR>
nmap <silent> <Leader>fg :GFiles<CR>
" vifm
nmap <silent> <Leader>r :Vifm<CR>
" NERDTree
map <silent> <Leader>n :NERDTreeToggle<CR>
"~~~~~~~~~
" Linters
"~~~~~~~~~
" Deletes all trailing whitespaces
noremap <leader>c :%s/\s\+$//e<cr>
" Enable/disable deoplete
map <Leader>d :call deoplete#toggle()<CR>
" ALE
map fw :FixWhitespace<CR>
map <Leader>af :ALEFix<CR>
map <Leader>an :ALENext<CR>
map <Leader>aN :ALEPrevious<CR>
map <Leader>ad :ALEDetail<CR>
map <Leader>ag :ALEGoToDefinitionInSplit<CR>
map <Leader>aG :ALEGoToDefinition<CR>
" LSP
" nnoremap <silent> <C-]> :LspNextDiagnostic<CR>
" nnoremap <silent> <C-[> :LspPreviousDiagnostic<CR>
" Spell-check (English US and Polish)
map <F6> :setlocal spell! spelllang=en_us<CR>
map <F7> :setlocal spell! spelllang=pl<CR>
"~~~~~~~~~~~~~~~~~~
" Window Managment
"~~~~~~~~~~~~~~~~~~
" Tab Managment
map <S-o> :tabnew<CR>
map <S-d> :tabclose<CR>
nnoremap <S-j> gt
nnoremap <S-k> gT
" Split Managment
nnoremap <C-A-j> <C-w><C-j>
nnoremap <C-A-k> <C-w><C-k>
nnoremap <C-A-l> <C-w><C-l>
nnoremap <C-A-h> <C-w><C-h>
" Open terminal
noremap <C-A-t> :split term://zsh<cr>:resize 10<cr>
" Exit from terminal mode
tnoremap <C-e> <C-\><C-n>
"~~~~~~~
" Other
"~~~~~~~
" Sudo read-only file
cnoremap sudow w !sudo tee % >/dev/null
" Disable hlsearch
map <silent> <C-s> :noh<CR>
" Go to last change
map <Leader>l :'.<CR>
map j gj
map k gk
" SuperTab
let g:SuperTabMappingTabLiteral = '<a-tab>'
let g:SuperTabDefaultCompletionType = 'context'
let g:SuperTabContextDefaultCompletionType = '<c-n>'

View File

@ -1,111 +0,0 @@
"
" ██
" ░██
" █████ ██████ ░██ ██████ ██████ ██████
" ██░░░██ ██░░░░██ ░██ ██░░░░██░░██░░█ ██░░░░
" ░██ ░░ ░██ ░██ ░██░██ ░██ ░██ ░ ░░█████
" ░██ ██░██ ░██ ░██░██ ░██ ░██ ░░░░░██
" ░░█████ ░░██████ ███░░██████ ░███ ██████
" ░░░░░ ░░░░░░ ░░░ ░░░░░░ ░░░ ░░░░░░
if exists('syntax_on')
syntax reset
endif
hi clear
hi TabLine ctermfg=NONE ctermbg=NONE cterm=NONE
hi TabLineSel ctermfg=4 ctermbg=NONE cterm=bold
hi TabLineFill ctermfg=NONE ctermbg=NONE cterm=NONE
hi Title ctermfg=15 ctermbg=NONE cterm=NONE
hi LineNr ctermfg=6 cterm=NONE
hi CursorLineNr ctermfg=5 cterm=bold
hi ColorColumn ctermfg=1 ctermbg=0 cterm=undercurl
hi SignColumn ctermfg=7
hi VertSplit ctermfg=0 ctermbg=8
hi Comment ctermfg=4
hi String ctermfg=1
hi Visual ctermbg=8
hi Search ctermbg=8 cterm=bold,reverse
hi MatchParen ctermfg=3 ctermbg=0 cterm=bold
hi Statement ctermfg=3
hi ErrorMsg ctermfg=1 ctermbg=none
hi Error ctermfg=0 ctermbg=1 cterm=undercurl
hi SpellBad ctermfg=0 ctermbg=1 cterm=undercurl
hi SpellCap ctermfg=0 ctermbg=2 cterm=undercurl
hi SpellRare ctermfg=0 ctermbg=none cterm=undercurl
hi SpellLocal ctermfg=0 ctermbg=5 cterm=undercurl
hi DiffAdd ctermfg=0 ctermbg=2
hi DiffChange ctermfg=0 ctermbg=4
hi DiffDelete ctermfg=0 ctermbg=1
hi DiffText ctermfg=0 ctermbg=4
hi Folded ctermbg=8
hi FoldColumn ctermbg=8
hi Pmenu ctermfg=4 ctermbg=233
hi PmenuSel ctermfg=4 ctermbg=8
hi PmenuThumb ctermfg=8 ctermbg=8
hi PmenuSbar ctermfg=0 ctermbg=0
hi StatusLineNC ctermfg=8 ctermbg=NONE cterm=bold
hi StatusLine ctermfg=5 ctermbg=NONE cterm=NONE
hi MyStatuslineFilename ctermfg=4 ctermbg=NONE
hi MyStatuslineFiletype ctermfg=9 ctermbg=none cterm=italic
hi MyStatuslineLineCol ctermfg=35 ctermbg=none cterm=none
hi MyStatuslineLinePerc ctermfg=2 ctermbg=none cterm=none
hi CursorLine ctermbg=8 cterm=NONE
hi CursorColumn ctermbg=8 cterm=NONE
" ALE
hi ALEWarning cterm=undercurl
hi ALEError cterm=undercurl
hi ALEWarningSign ctermbg=none ctermfg=3 cterm=bold
hi ALEErrorSign ctermbg=none ctermfg=1 cterm=bold
" LSP
hi LspWarningText ctermfg=3 ctermbg=none cterm=bold
hi LspHintText ctermfg=3 ctermbg=none cterm=none
hi LspErrorLine ctermfg=red cterm=undercurl
hi LspErrorText ctermfg=red ctermbg=none
" Cursorline highlight
augroup CursorLine
au!
au VimEnter,WinEnter,BufWinEnter * setlocal cursorline
au WinLeave * setlocal nocursorline
augroup END
" Files
hi Win ctermfg=white ctermbg=none cterm=none
hi Directory ctermfg=blue ctermbg=none cterm=bold
hi Link ctermfg=cyan ctermbg=none cterm=none
hi BrokenLink ctermfg=red ctermbg=none cterm=bold
hi Socket ctermfg=magenta ctermbg=none cterm=bold
hi Device ctermfg=red ctermbg=none cterm=bold
hi Fifo ctermfg=red ctermbg=none cterm=bold
" hi Executable ctermfg=0 ctermbg=1 cterm=bold
" Syntax
hi Comment ctermfg=10
hi Constant ctermfg=3 cterm=none
hi Identifier ctermfg=180
hi Statement ctermfg=13 cterm=italic
hi PreProc ctermfg=13
hi Type ctermfg=4 cterm=bold
hi Special ctermfg=135
" hi Error ctermfg=0
" githutter
hi GitGutterChange ctermbg=none ctermfg=3 cterm=bold
hi GitGutterAdd ctermbg=none ctermfg=2 cterm=bold
hi GitGutterDelete ctermbg=none ctermfg=1 cterm=bold
hi GitGutterChangeDelete ctermbg=none ctermfg=5 cterm=bold

View File

@ -1,72 +0,0 @@
"
" ██
" ░░
" ███████ █████ ██████ ██ ██ ██ ██████████
" ░░██░░░██ ██░░░██ ██░░░░██░██ ░██░██░░██░░██░░██
" ░██ ░██░███████░██ ░██░░██ ░██ ░██ ░██ ░██ ░██
" ░██ ░██░██░░░░ ░██ ░██ ░░████ ░██ ░██ ░██ ░██
" ███ ░██░░██████░░██████ ░░██ ░██ ███ ░██ ░██
" ░░░ ░░ ░░░░░░ ░░░░░░ ░░ ░░ ░░░ ░░ ░░
" Load other modules
source $HOME/.config/nvim/statusline.vim
source $HOME/.config/nvim/plugins.vim
source $HOME/.config/nvim/bindings.vim
" Basic stuff
syntax on
filetype plugin indent on
set scrolloff=5
set pumheight=10
set autoindent
set smarttab
set number relativenumber
set clipboard=unnamedplus
set inccommand=nosplit
set tabstop=4
set shiftwidth=4
set ignorecase
set smartcase
set undofile
set background=light
set mouse=a
set splitright
set splitbelow
set noshowmode
color biual
highlight OverLength ctermbg=none ctermfg=14 cterm=underline
match OverLength /\%81v.\+/
" Restore cursor position
function! ResCur()
if line("'\"") <= line("$")
normal! g`"
return 1
endif
endfunction
augroup resCur
autocmd!
autocmd BufWinEnter * call ResCur()
augroup END
" Python paths, needed for virtualenvs
let g:python3_host_prog = '/usr/bin/python3'
let g:python_host_prog = '/usr/bin/python2'
" Language-specific
augroup langindentation
autocmd Filetype c setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype cpp setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype css setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype javascript setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype html setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype json setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype scss setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype php setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
autocmd Filetype yaml setlocal expandtab tabstop=2 shiftwidth=2 softtabstop=2
augroup END
" Encoding
scriptencoding utf-8

View File

@ -1,234 +0,0 @@
"=========
" Plugins
"=========
if ! filereadable(expand('~/.config/nvim/autoload/plug.vim'))
echo "Downloading junegunn/vim-plug to manage plugins..."
silent !mkdir -p ~/.config/nvim/autoload/
silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ~/.config/nvim/autoload/plug.vim
autocmd VimEnter * PlugInstall
endif
call plug#begin('~/.config/nvim/bundle')
" files management
Plug '~/.fzf'
Plug 'junegunn/fzf.vim'
Plug 'scrooloose/nerdtree'
Plug 'jistr/vim-nerdtree-tabs'
Plug 'vifm/vifm.vim'
" linters/deoplete
Plug 'dense-analysis/ale'
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' }
Plug 'Shougo/deoplete-clangx'
" Plug 'deoplete-plugins/deoplete-jedi'
Plug 'deoplete-plugins/deoplete-zsh'
" Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'}
Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/vim-lsp'
Plug 'prabirshrestha/asyncomplete-lsp.vim'
Plug 'lighttiger2505/deoplete-vim-lsp'
Plug 'ryanolsonx/vim-lsp-javascript'
Plug 'ervandew/supertab'
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
Plug 'mattn/emmet-vim'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-commentary'
Plug 'jiangmiao/auto-pairs'
Plug 'sheerun/vim-polyglot'
Plug 'luochen1990/rainbow'
Plug 'matze/vim-move'
Plug 'reedes/vim-pencil'
Plug 'christoomey/vim-tmux-navigator'
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
" git
Plug 'tpope/vim-fugitive'
Plug 'junegunn/gv.vim'
Plug 'airblade/vim-gitgutter'
" syntax
Plug 'bfrg/vim-cpp-modern'
Plug 'udalov/kotlin-vim'
Plug 'vim-python/python-syntax'
Plug 'jelera/vim-javascript-syntax'
call plug#end()
"========
" Config
"========
" ALE
let g:ale_sign_error = ''
let g:lsp_signs_error = {'text': ''}
let g:ale_sign_warning = ''
let g:lsp_signs_warning = {'text': ''}
" let g:lsp_signs_error = {'', 'icon': '/path/to/some/icon'} " icons require GUI
let g:lsp_signs_hint = {'text': ''} " icons require GUI
let g:ale_linters = {
\ 'c': ['ccls', 'clang'],
\ 'cpp': ['ccls', 'clang'],
\ 'javascript': ['eslint'],
\ 'php': ['php'],
\ 'python': ['flake8'],
\ 'sh': ['language_server', 'shellcheck', 'shell'],
\ 'zsh': ['language_server', 'shellcheck', 'shell'],
\ 'go': ['gofmt'],
\ 'kotlin': ['ktlint'],
\}
let g:ale_fixers = {
\ '*': ['trim_whitespace', 'remove_trailing_lines'],
\ 'c': ['clang-format'],
\ 'cpp': ['clang-format'],
\ 'css': ['prettier'],
\ 'go': ['gofmt'],
\ 'html': ['prettier'],
\ 'javascript': ['prettier'],
\ 'json': ['prettier'],
\ 'php': ['prettier'],
\ 'python': ['autopep8', 'isort', 'black', 'add_blank_lines_for_python_control_statements'],
\ 'scss': ['prettier'],
\ 'yaml': ['prettier'],
\}
let g:ale_python_autopep8_use_global = 1
let g:ale_python_black_use_global = 1
" fzf
let g:fzf_colors =
\ { 'fg': ['fg', 'Normal'],
\ 'bg': ['bg', 'Normal'],
\ 'hl': ['fg', 'Comment'],
\ 'fg+': ['fg', 'CursorLine', 'CursorColumn', 'Normal'],
\ 'bg+': ['bg', 'CursorLine', 'CursorColumn'],
\ 'hl+': ['fg', 'Statement'],
\ 'info': ['fg', 'PreProc'],
\ 'border': ['fg', 'Ignore'],
\ 'prompt': ['fg', 'Conditional'],
\ 'pointer': ['fg', 'Exception'],
\ 'marker': ['fg', 'Keyword'],
\ 'spinner': ['fg', 'Label'],
\ 'header': ['fg', 'Comment'] }
let g:fzf_layout = { 'down': '~40%' }
let g:fzf_preview_window = 'right:60%'
" gitgutter
set updatetime=1000
" NERDTree
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
" emmet-vim
let g:user_emmet_mode='a'
let g:user_emmet_leader_key=','
let g:user_emmet_install_global = 0
autocmd FileType html,css EmmetInstall
" deoplete
let g:deoplete#enable_at_startup = 1
" let deoplete#tag#cache_limit_size = 5000000
" autocmd InsertLeave,CompleteDone * if pumvisible() == 0 | pclose | endif
let g:deoplete#enable_ignore_case = 1
set completeopt-=preview
call deoplete#custom#source('ultisnips', 'rank', 1000)
call deoplete#custom#source('zsh', 'filetypes', ['sh', 'zsh'])
call deoplete#custom#option('smart_case', v:false)
" For python language server
if (executable('pyls'))
augroup LspPython
autocmd!
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'pyls',
\ 'cmd': {server_info->['pyls']},
\ 'whitelist': ['python']
\ })
augroup END
endif
" for JS language server
if (executable('typescript-language-server'))
augroup LspJavaScript
autocmd!
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'js-ls',
\ 'cmd': {server_info->[&shell, &shellcmdflag, 'typescript-language-server --stdio']},
\ 'whitelist': ['javascript', 'javascript.jsx', 'javascriptreact']
\ })
augroup END
endif
if (executable('ccls'))
augroup LspCpp
autocmd!
autocmd User lsp_setup call lsp#register_server({
\ 'name': 'ccls',
\ 'cmd': {server_info->['ccls']},
\ 'root_uri': {server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), 'compile_commands.json'))},
\ 'initialization_options': {},
\ 'whitelist': ['c', 'cpp', 'objc', 'objcpp', 'cc'],
\ })
augroup END
endif
" for golang language server
if executable('gopls')
au User lsp_setup call lsp#register_server({
\ 'name': 'gopls',
\ 'cmd': {server_info->['gopls']},
\ 'whitelist': ['go'],
\ })
autocmd BufWritePre *.go LspDocumentFormatSync
endif
if executable('go-langserver')
au User lsp_setup call lsp#register_server({
\ 'name': 'go-langserver',
\ 'cmd': {server_info->['go-langserver', '-gocodecompletion']},
\ 'whitelist': ['go'],
\ })
autocmd BufWritePre *.go LspDocumentFormatSync
endif
let g:lsp_diagnostics_enabled = 1
let g:lsp_signs_enabled = 1
let g:lsp_diagnostics_echo_cursor = 1
let g:lsp_highlights_enabled = 0
let g:lsp_textprop_enabled = 0
let g:lsp_virtual_text_enabled = 0
let g:lsp_highlight_references_enabled = 1
" autopairs
let g:AutoPairs={'(':')', '[':']', '{':'}', "'":"'", '"':'"', "`":"`", '```':'```', '"""':'"""', "'''":"'''"} "'<':'>',
" LaTeX
let g:livepreview_previewer = 'mupdf'
" Enable "Rainbow Parentheses Improved"
let g:rainbow_active = 1
" pencil
augroup pencil
autocmd!
autocmd FileType markdown call pencil#init({'wrap': 'soft', 'autoformat': 1})
autocmd FileType tex call pencil#init({'wrap': 'soft', 'autoformat': 1})
augroup END
" python syntax
let g:python_highlight_all = 1

View File

@ -1,76 +0,0 @@
"============
" Statusline
"============
function! Mode(mode) " {{{
" normal mode
if a:mode == 'n'
return ' normal '
" insert mode
elseif a:mode == 'i'
return ' insert '
" replace mode
elseif a:mode == 'R'
return ' replace '
" visual mode
elseif a:mode == 'v'
return ' visual '
" visual block mode
elseif a:mode == ''
return ' v-block '
" command mode
elseif a:mode == 'c'
return ' command '
" terminal mode
elseif a:mode == 't'
return ' terminal '
endif
" Return empty string so as not to display anything in the statusline
return ' '
endfunction
" }}}
" modification mark
function! SetModifiedSymbol(modified) " {{{
if a:modified == 1
hi MyStatuslineModifiedBody ctermbg=NONE cterm=NONE ctermfg=3
return ' (+) '
else
hi MyStatuslineModifiedBody ctermbg=NONE cterm=bold ctermfg=7
return ' '
endif
endfunction
" }}}
" filetype
function! SetFiletype(filetype) " {{{
if a:filetype == ''
return '-'
else
return a:filetype
endif
endfunction
" }}}
set statusline=%#MyStatuslineSeparator#\ \
set statusline+=%{Mode(mode())}
" filename
set statusline+=%#MyStatuslineSeparator#\ \
set statusline+=%#MyStatuslineFilename#%t
set statusline+=%#MyStatuslineSeparator#\ \
" Modified status
set statusline+=%#MyStatuslineModifiedBody#%{SetModifiedSymbol(&modified)}%#Reset#
set statusline+=%=
set statusline+=%{FugitiveStatusline()}
set statusline+=%#MyStatuslineSeparator#\ \
set statusline+=%#MyStatuslineLineCol#
set statusline+=%l,%c
set statusline+=%#MyStatuslineSeparator#\ \
" set statusline+=%<%f\ %h%m%r%{FugitiveStatusline()}%=%-14.(%l,%c%V%)\ %P
set statusline+=%#MyStatuslineSeparator#\ \
set statusline+=\%#MyStatuslineFiletype#%{SetFiletype(&filetype)}

View File

@ -1,228 +0,0 @@
# _
# _ __ (_) ___ ___ _ __ ___
# | '_ \| |/ __/ _ \| '_ ` _ \
# | |_) | | (_| (_) | | | | | |
# | .__/|_|\___\___/|_| |_| |_|
# |_|
#~~~~~~~~~
# Backend
#~~~~~~~~~
backend = "glx";
glx-no-stencil = true;
glx-copy-from-front = false;
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
# May break VSync and is not available on some drivers.
# Overrides --glx-copy-from-front.
# glx-use-copysubbuffermesa = true;
# GLX backend: Avoid rebinding pixmap on window damage.
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
# Recommended if it works.
# glx-no-rebind-pixmap = true;
# GLX backend: GLX buffer swap method we assume.
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
# undefined is the slowest and the safest, and the default value.
# copy is fastest, but may fail on some drivers,
# 2-6 are gradually slower but safer (6 is still faster than 0).
# Usually, double buffer means 2, triple buffer means 3.
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
# Useless with --glx-use-copysubbuffermesa.
# Partially breaks --resize-damage.
# Defaults to undefined.
#glx-swap-method = "undefined";
#################################
#
# Shadows
#
#################################
# Enabled client-side shadows on windows.
shadow = true;
# The blur radius for shadows. (default 12)
shadow-radius = 10;
# The left offset for shadows. (default -15)
shadow-offset-x = -10;
# The top offset for shadows. (default -15)
shadow-offset-y = -10;
# The translucency for shadows. (default .75)
shadow-opacity = 0.7;
# Set if you want different colour shadows
# shadow-red = 0.0;
# shadow-green = 0.0;
# shadow-blue = 0.0;
# The shadow exclude options are helpful if you have shadows enabled. Due to the way picom draws its shadows, certain applications will have visual glitches
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
shadow-exclude = [
"! name~=''",
"name = 'Notification'",
"name = 'Plank'",
"name = 'Docky'",
"name = 'Kupfer'",
"name = 'xfce4-notifyd'",
"name *= 'VLC'",
"name *= 'compton'",
"name *= 'picom'",
"name *= 'Chromium'",
"name *= 'Chrome'",
"class_g = 'Firefox' && argb",
"class_g = 'Conky'",
"class_g = 'Kupfer'",
"class_g = 'Synapse'",
"class_g ?= 'Notify-osd'",
"class_g ?= 'Cairo-dock'",
"class_g ?= 'Xfce4-notifyd'",
"class_g ?= 'Xfce4-power-manager'",
"_GTK_FRAME_EXTENTS@:c",
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
];
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
shadow-ignore-shaped = false;
#################################
#
# Opacity
#
#################################
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 0;
inactive-opacity-override = false;
opacity-rule = [
"88:class_g = 'St'",
"85:class_g = 'Polybar'",
"80:class_g = 'Rofi'"
];
# Dim inactive windows. (0.0 - 1.0)
inactive-dim = 0.2;
# Do not let dimness adjust based on window opacity.
inactive-dim-fixed = true;
focus-exclude = [
"class_g *?= 'dmenu'",
"class_g *?= 'rofi'"
];
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
blur-background = true;
blur-kern = "7x7box"
# Blur background of opaque windows with transparent frames as well.
# blur-background-frame = true;
# Do not let blur radius adjust based on window opacity.
blur-background-fixed = false;
blur-background-exclude = [
"class_g = 'slop'",
"window_type = 'desktop'"
];
#################################
#
# Fading
#
#################################
# Fade windows during opacity changes.
fading = true;
# The time between steps in a fade in milliseconds. (default 10).
fade-delta = 6;
# Opacity change between steps while fading in. (default 0.028).
fade-in-step = 0.03;
# Opacity change between steps while fading out. (default 0.03).
fade-out-step = 0.03;
# Fade windows in/out when opening/closing
# no-fading-openclose = true;
# Specify a list of conditions of windows that should not be faded.
fade-exclude = [ ];
#################################
#
# Other
#
#################################
# Try to detect WM windows and mark them as active.
mark-wmwin-focused = false;
# Mark all non-WM but override-redirect windows active (e.g. menus).
mark-ovredir-focused = false;
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
# Usually more reliable but depends on a EWMH-compliant WM.
use-ewmh-active-win = true;
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
detect-rounded-corners = true;
# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.
# This prevents opacity being ignored for some apps.
# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
detect-client-opacity = true;
# Specify refresh rate of the screen.
# If not specified or 0, picom will try detecting this with X RandR extension.
refresh-rate = 0;
# Vertical synchronization: match the refresh rate of the monitor
vsync = true;
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
# Reported to have no effect, though.
dbe = false;
# Limit picom to repaint at most once every 1 / refresh_rate second to boost performance.
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
# unless you wish to specify a lower refresh rate than the actual value.
#sw-opti = true;
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
# Known to cause flickering when redirecting/unredirecting windows.
unredir-if-possible = false;
# Specify a list of conditions of windows that should always be considered focused.
# focus-exclude = [ ];
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
detect-transient = true;
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
detect-client-leader = true;
#################################
#
# Window type settings
#
#################################
wintypes:
{
tooltip =
{
# fade: Fade the particular type of windows.
fade = true;
# shadow: Give those windows shadow
shadow = false;
# opacity: Default opacity for the type of windows.
opacity = 0.85;
# focus: Whether to always consider windows of this type focused.
focus = true;
};
};
######################
#
# XSync
# See: https://github.com/yshui/picom/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d
#
######################
# Use X Sync fence to sync clients' draw calls. Needed on nvidia-drivers with GLX backend for some users.
xrender-sync-fence = true;

View File

@ -1,368 +0,0 @@
; _ _
; _ __ ___ | | _ _ | |__ __ _ _ __
; | '_ \ / _ \ | || | | || '_ \ / _` || '__|
; | |_) || (_) || || |_| || |_) || (_| || |
; | .__/ \___/ |_| \__, ||_.__/ \__,_||_|
; |_| |___/
;~~~~~~~~
; colors
;~~~~~~~~
[colors]
bg= ${xrdb:background}
fg = ${xrdb:foreground}
border = ${xrdb:border_unfocused}
border_f = ${xrdb:border_focused}
;~~~~~
; bar
;~~~~~
[bar/polybarexe]
width = 100%
height = 24
fixed-center = true
font-0 = "Inconsolata:pixelsize=10:antialias=true;3"
font-1 = "Font Awesome 5 Brands:pixelsize=13:antialias=true;3"
font-2 = "Font Awesome 5 Free:style=Solid:pixelsize=12:antialias=true;3"
background = ${colors.bg}
foreground = ${colors.fg}
line-size = 2
line-color = ${colors.fg}
border-size = 0
border-top-size = 0
border-bottom-size = 1
border-color = ${colors.border}
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 0
modules-left = bspwm
modules-center = mpd
modules-right = alsa sym2 fsroot sym5 fshome sym2 clock sym2 updater sym2 powermenu
cursor-click = pointer
cursor-scroll = ns-resize
;~~~~~~~~~~~~
; workspaces
;~~~~~~~~~~~~
[module/bspwm]
type = internal/bspwm
pin-workspaces = true
inline-mode = false
enable-click = true
enable-scroll = false
reverse-scroll = false
fuzzy-match = true
ws-icon-0 = "1;"
ws-icon-1 = "2;"
ws-icon-2 = "3;"
ws-icon-3 = "4;"
ws-icon-4 = "5;"
ws-icon-5 = "6;"
ws-icon-6 = "7;"
ws-icon-7 = "8;"
format = <label-state><label-mode>
label-monitor = %name%
label-focused = %name%
; label-focused-background = ${colors.border}
label-focused-overline = ${colors.fg}
label-occupied = %name%
; label-occupied-background = ${colors.border}
label-occupied-foreground = ${colors.fg}
label-empty-foreground = ${colors.border_f}
label-occupied-padding = 1
label-focused-padding = 1
label-unfocused-padding = 1
label-visible-padding = 1
label-urgent = %name%
label-urgent-padding = 1
label-empty = %name%
label-empty-padding = 1
;~~~~~
; MPD
;~~~~~
[module/mpd]
type = internal/mpd
host = localhost
port = 6600
interval = 2
format-online = <label-song>
label-song = %{F#dfdfdf}%{F-} %artist% - %title%
label-offline = %{F#dfdfdf}%{F-} mpd is offline
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-seekb = 
icon-seekf = 
icon-random = 
icon-repeat = 
toggle-on-foreground = #ff
toggle-off-foreground = #55
;~~~~~~
; WiFI
;~~~~~~
[module/wireless-network]
type = internal/network
interface = wlp8s0
format-connected = <ramp-signal> <label-connected>
format-packetloss = <animation-packetloss>
label-connected = %{A1:st -e nmtui &:}%local_ip%  %downspeed%  %upspeed%%{A}
label-disconnected = %{A1:st -e nmtui &:}%{F#66} disconnected%{A}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-5 = 
animation-packetloss-0 = 
animation-packetloss-1 = 
animation-packetloss-0-foreground = #fff
animation-packetloss-1-foreground = #000000
animation-packetloss-framerate = 500
;~~~~~~~
; clock
;~~~~~~~
[module/clock]
type = internal/date
format = <label>
interval = 2
date = %a %d %b
; 24h systefs sym2 m
;time = %R
; 12h system
time = %I:%M%p
label = %{A1:gsimplecal & disown:}%{A3:gsimplecal & disown:} %time%%{A}%{A}
;~~~~~~~~~~~~
; pulseaudio
;~~~~~~~~~~~~
[module/pulseaudio]
type = internal/pulseaudio
use-ui-max = true
label-volume = %{A3:pavucontrol & disown:}%percentage:2%%%{A}
format-volume = <ramp-volume> <label-volume>
label-muted = " muted"
ramp-volume-0 = ""
ramp-volume-1 = ""
ramp-volume-2 = ""
ramp-volume-3 = ""
;~~~~~~~
; ALSA
;~~~~~~
[module/alsa]
type = internal/alsa
master-soundcard = default
speaker-soundcard = default
headphone-soundcard = default
format-volume = <ramp-volume> <label-volume>
format-muted = <label-muted>
label-muted = " muted"
label-muted-foreground = #66
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-headphones-0 = 
ramp-headphones-1 = 
;~~~~~~~~~
; Battery
;~~~~~~~~~
[module/battery]
type = internal/battery
label-padding = 30
battery = BAT0
adapter = ADP1
full-at = 98
poll-interval = 5
bar-capacity-width = 10
time-format = %H:%M
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <ramp-capacity> <label-full>
ramp-capacity-0 = " "
ramp-capacity-1 = " "
ramp-capacity-2 = ""
ramp-capacity-3 = ""
ramp-capacity-4 = ""
ramp-capacity-5 = ""
ramp-capacity-6 = ""
ramp-capacity-7 = ""
ramp-capacity-8 = ""
ramp-capacity-9 = ""
ramp-capacity-0-foreground = #fff
ramp-capacity-1-foreground = #fff
animation-charging-0 = " "
animation-charging-1 = " "
animation-charging-2 = " "
animation-charging-3 = " "
animation-charging-4 = " "
animation-charging-framerate = 750
label-full = full
;~~~~~~~~~
; CPU use
;~~~~~~~~~
[module/coreuse]
type = internal/cpu
interval = 3
format-padding = 0
format = <label>
label = %{A1:st -e htop -s PERCENT_CPU & disown:}%percentage:2%%%{A}
ramp-coreload-0 = ▂
ramp-coreload-1 = ▃
ramp-coreload-2 = ▄
ramp-coreload-3 = ▅
ramp-coreload-4 = ▆
ramp-coreload-5 = ▇
ramp-coreload-0-foreground = ${colors.fg}
ramp-coreload-1-foreground = ${colors.fg}
ramp-coreload-2-foreground = ${colors.fg}
ramp-coreload-3-foreground = ${colors.fg}
ramp-coreload-4-foreground = ${colors.fg}
ramp-coreload-5-foreground = ${colors.fg}
;~~~~~~~~~~~~~~~~~
; CPU Temperature
;~~~~~~~~~~~~~~~~~
[module/temperature]
type = internal/temperature
interval = 3
thermal-zone = 0
warn-temperature = 75
format = <ramp><label>
format-padding = 1
label = %{A1:st -e watch sensors & disown:} %temperature-c%%{A}
ramp-0 = ""
ramp-1 = ""
ramp-2 = ""
ramp-3 = ""
ramp-4 = ""
ramp-5 = ""
ramp-5-foreground = ${colors.fg}
format-warn = <label-warn>
label-warn = " %temperature-c%"
label-warn-padding = 1
label-warn-foreground = ${colors.fg}
;~~~~~~~~
; Memory
;~~~~~~~~
[module/memory]
type = internal/memory
interval = 3
format = <label>
label-padding = 0
label = %{A1:st -e htop -s PERCENT_MEM & disown:} %gb_used%%{A}
;~~~~~~
; Disk
;~~~~~~
[module/fsroot]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
spacing = 2
format-mounted =  <label-mounted>
format-unmounted = <label-unmounted>
label-mounted = %mountpoint%: %percentage_used%%
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = #55
[module/fshome]
type = internal/fs
mount-0 = /home
interval = 10
fixed-values = true
spacing = 2
format-mounted = <label-mounted>
format-unmounted = <label-unmounted>
label-mounted = : %percentage_used%%
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = #55
;~~~~~~~~~
; Updater
;~~~~~~~~~
[module/updater]
type = custom/script
exec = ~/.scripts/update-check
label =  %output%
click-left = ~/.scripts/updater &
click-right = pacman -Qu | dmenu -l 30
interval = 60
;~~~~~~~~~~~
; powermenu
;~~~~~~~~~~~
[module/powermenu]
type = custom/script
format-foreground = ${colors.fg}
exec = echo ""
click-left = ~/.scripts/powermenu
;~~~~~
; "|"
;~~~~~
[module/sym]
type = custom/script
exec = echo " |"
[module/sym2]
type = custom/script
exec = echo " | "
[module/sym3]
type = custom/script
exec = echo "| "
[module/sym4]
type = custom/script
exec = echo "|"
[module/sym5]
type = custom/script
exec = echo " "
; vim:ft=dosini

View File

@ -1,367 +0,0 @@
; _ _
; _ __ ___ | | _ _ | |__ __ _ _ __
; | '_ \ / _ \ | || | | || '_ \ / _` || '__|
; | |_) || (_) || || |_| || |_) || (_| || |
; | .__/ \___/ |_| \__, ||_.__/ \__,_||_|
; |_| |___/
;~~~~~~~~
; colors
;~~~~~~~~
[colors]
bg= ${xrdb:background}
fg = ${xrdb:foreground}
border = ${xrdb:border_unfocused}
border_f = ${xrdb:border_focused}
;~~~~~
; bar
;~~~~~
[bar/polybarexe]
width = 100%
height = 24
fixed-center = true
font-0 = "Inconsolata:pixelsize=10:antialias=true;3"
font-1 = "Font Awesome 5 Brands:pixelsize=13:antialias=true;3"
font-2 = "Font Awesome 5 Free:style=Solid:pixelsize=12:antialias=true;3"
background = ${colors.bg}
foreground = ${colors.fg}
line-size = 2
line-color = ${colors.fg}
border-size = 0
border-top-size = 0
border-bottom-size = 1
border-color = ${colors.border}
padding-left = 0
padding-right = 1
module-margin-left = 0
module-margin-right = 0
modules-left = bspwm
modules-center = mpd
modules-right = alsa sym2 fsroot sym5 fshome sym2 clock sym2 updater sym2 powermenu
cursor-click = pointer
cursor-scroll = ns-resize
;~~~~~~~~~~~~
; workspaces
;~~~~~~~~~~~~
[module/bspwm]
type = internal/bspwm
pin-workspaces = true
inline-mode = false
enable-click = true
enable-scroll = false
reverse-scroll = false
fuzzy-match = true
ws-icon-0 = "1;"
ws-icon-1 = "2;"
ws-icon-2 = "3;"
ws-icon-3 = "4;"
ws-icon-4 = "5;"
ws-icon-5 = "6;"
ws-icon-6 = "7;"
ws-icon-7 = "8;"
format = <label-state><label-mode>
label-monitor = %name%
label-focused = %name%
; label-focused-background = ${colors.border}
label-focused-overline = ${colors.fg}
label-occupied = %name%
; label-occupied-background = ${colors.border}
label-occupied-foreground = ${colors.fg}
label-empty-foreground = ${colors.border_f}
label-occupied-padding = 1
label-focused-padding = 1
label-unfocused-padding = 1
label-visible-padding = 1
label-urgent = %name%
label-urgent-padding = 1
label-empty = %name%
label-empty-padding = 1
;~~~~~
; MPD
;~~~~~
[module/mpd]
type = internal/mpd
host = localhost
port = 6600
interval = 2
format-online = <label-song>
label-song = %{F#dfdfdf}%{F-}%{A1:st -e ncmpcpp &:} %artist% - %title%%{A}
label-offline = %{F#dfdfdf}%{F-} mpd is offline
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-seekb = 
icon-seekf = 
icon-random = 
icon-repeat = 
toggle-on-foreground = #ff
toggle-off-foreground = #55
;~~~~~~
; WiFI
;~~~~~~
[module/wireless-network]
type = internal/network
interface = wlp8s0
format-connected = <ramp-signal> <label-connected>
format-packetloss = <animation-packetloss>
label-connected = %{A1:st -e nmtui:}%local_ip%  %downspeed%  %upspeed%%{A}
label-disconnected = %{A1:st -e nmtui:}%{A3:st -e nmtui:}%{F#66} disconnected%{A}%{A}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-5 = 
animation-packetloss-0 = 
animation-packetloss-1 = 
animation-packetloss-0-foreground = #fff
animation-packetloss-1-foreground = #000000
animation-packetloss-framerate = 500
;~~~~~~~
; clock
;~~~~~~~
[module/clock]
type = internal/date
format = <label>
interval = 2
date = %a %d %b
; 24h systefs sym2 m
;time = %R
; 12h system
time = %I:%M%p
label = %{A1:gsimplecal & disown:}%{A3:gsimplecal & disown:} %time%%{A}%{A}
;~~~~~~~~~~~~
; pulseaudio
;~~~~~~~~~~~~
[module/pulseaudio]
type = internal/pulseaudio
use-ui-max = true
label-volume = %{A3:pavucontrol & disown:}%percentage:2%%%{A}
format-volume = <ramp-volume> <label-volume>
label-muted = " muted"
ramp-volume-0 = ""
ramp-volume-1 = ""
ramp-volume-2 = ""
ramp-volume-3 = ""
;~~~~~~~
; ALSA
;~~~~~~
[module/alsa]
type = internal/alsa
master-soundcard = default
speaker-soundcard = default
headphone-soundcard = default
format-volume = <ramp-volume> <label-volume>
format-muted = <label-muted>
label-muted = " muted"
label-muted-foreground = #66
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-headphones-0 = 
ramp-headphones-1 = 
;~~~~~~~~~
; Battery
;~~~~~~~~~
[module/battery]
type = internal/battery
label-padding = 30
battery = BAT0
adapter = ADP1
full-at = 98
poll-interval = 5
bar-capacity-width = 10
time-format = %H:%M
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <ramp-capacity> <label-full>
ramp-capacity-0 = " "
ramp-capacity-1 = " "
ramp-capacity-2 = ""
ramp-capacity-3 = ""
ramp-capacity-4 = ""
ramp-capacity-5 = ""
ramp-capacity-6 = ""
ramp-capacity-7 = ""
ramp-capacity-8 = ""
ramp-capacity-9 = ""
ramp-capacity-0-foreground = #fff
ramp-capacity-1-foreground = #fff
animation-charging-0 = " "
animation-charging-1 = " "
animation-charging-2 = " "
animation-charging-3 = " "
animation-charging-4 = " "
animation-charging-framerate = 750
label-full = full
;~~~~~~~~~
; CPU use
;~~~~~~~~~
[module/coreuse]
type = internal/cpu
interval = 3
format-padding = 0
format = <label> <ramp-coreload>
label = %{A1:st -e htop -s PERCENT_CPU & disown:}%percentage:2%%
ramp-coreload-0 = ▂
ramp-coreload-1 = ▃
ramp-coreload-2 = ▄
ramp-coreload-3 = ▅
ramp-coreload-4 = ▆
ramp-coreload-5 = ▇
ramp-coreload-0-foreground = ${colors.fg}
ramp-coreload-1-foreground = ${colors.fg}
ramp-coreload-2-foreground = ${colors.fg}
ramp-coreload-3-foreground = ${colors.fg}
ramp-coreload-4-foreground = ${colors.fg}
ramp-coreload-5-foreground = ${colors.fg}
;~~~~~~~~~~~~~~~~~
; CPU Temperature
;~~~~~~~~~~~~~~~~~
[module/temperature]
type = internal/temperature
interval = 3
thermal-zone = 0
warn-temperature = 75
format = <ramp><label>
format-padding = 1
label = %{A1:st -e watch sensors & disown:} %temperature-c%%{A}
ramp-0 = ""
ramp-1 = ""
ramp-2 = ""
ramp-3 = ""
ramp-4 = ""
ramp-5 = ""
ramp-5-foreground = ${colors.fg}
format-warn = <label-warn>
label-warn = " %temperature-c%"
label-warn-padding = 1
label-warn-foreground = ${colors.fg}
;~~~~~~~~
; Memory
;~~~~~~~~
[module/memory]
type = internal/memory
interval = 3
format = <label>
label-padding = 0
label = %{A1:st -e htop -s PERCENT_MEM & disown:} %gb_used%%{A}
;~~~~~~
; Disk
;~~~~~~
[module/fsroot]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
spacing = 2
format-mounted =  <label-mounted>
format-unmounted = <label-unmounted>
label-mounted = %mountpoint%: %percentage_used%%
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = #55
[module/fshome]
type = internal/fs
mount-0 = /home
interval = 10
fixed-values = true
spacing = 2
format-mounted = <label-mounted>
format-unmounted = <label-unmounted>
label-mounted = : %percentage_used%%
label-unmounted = %mountpoint%: not mounted
label-unmounted-foreground = #55
;~~~~~~~~~
; Updater
;~~~~~~~~~
[module/updater]
type = custom/script
exec = ~/.scripts/update-check
label =  %output%
click-left = ~/.scripts/updater &
click-right = pacman -Qu | dmenu -l 30
interval = 60
;~~~~~~~~~~~
; powermenu
;~~~~~~~~~~~
[module/powermenu]
type = custom/script
format-foreground = ${colors.fg}
exec = echo ""
click-left = ~/.scripts/powermenu
;~~~~~
; "|"
;~~~~~
[module/sym]
type = custom/script
exec = echo " |"
[module/sym2]
type = custom/script
exec = echo " | "
[module/sym3]
type = custom/script
exec = echo "| "
[module/sym4]
type = custom/script
exec = echo "|"
[module/sym5]
type = custom/script
exec = echo " "
; vim:ft=dosini

View File

@ -1,10 +0,0 @@
# If a config.py file exists, this file is ignored unless it's explicitly loaded
# via config.load_autoconfig(). For more information, see:
# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml
# DO NOT edit this file by hand, qutebrowser will overwrite it.
# Instead, create a config.py - see :help for details.
config_version: 2
settings:
content.notifications:
https://www.reddit.com: false

View File

@ -1,42 +0,0 @@
# _ _
# __ _ _ _ | |_ ___ | |__ _ __ ___ __ __ ___ ___ _ __
# / _` || | | || __|/ _ \| '_ \ | '__|/ _ \\ \ /\ / // __| / _ \| '__|
# | (_| || |_| || |_| __/| |_) || | | (_) |\ V V / \__ \| __/| |
# \__, | \__,_| \__|\___||_.__/ |_| \___/ \_/\_/ |___/ \___||_|
# |_|
#~~~~~~~~~~~
# keepassxc
#~~~~~~~~~~~
config.bind('<Alt-Shift-u>', 'spawn --userscript qute-keepassxc --key C4CBEF7165AF77F85F602943D7B78D6D41CF569E', mode='insert')
config.bind('pw', 'spawn --userscript qute-keepassxc --key C4CBEF7165AF77F85F602943D7B78D6D41CF569E', mode='normal')
#~~~~~~~~
# config
#~~~~~~~~
c.colors.completion.category.bg = '#0a0200'
c.colors.completion.category.border.bottom = '#0a0200'
c.colors.completion.category.border.top = '#0a0200'
c.colors.completion.item.selected.bg = '#0e0f0e'
c.colors.completion.item.selected.fg = '#ffffff'
c.colors.completion.odd.bg = '#0a0200'
c.colors.completion.even.bg = '#0a0200'
c.colors.completion.fg = '#ffffff'
c.colors.completion.item.selected.border.top = '#757575'
c.colors.completion.item.selected.border.bottom = '#757575'
c.colors.tabs.bar.bg = '#0a0200'
c.colors.tabs.even.bg = '#0a0200'
c.colors.tabs.even.fg = '#ffffff'
c.colors.tabs.odd.bg = '#0a0200'
c.colors.tabs.selected.even.bg = '#666'
c.colors.tabs.selected.odd.bg = '#666'
c.url.start_pages = 'file:///home/samedamci/.config/homepage/index.html'
c.url.default_page = 'file:///home/samedamci/.config/homepage/index.html'
config.set("tabs.padding", {"top": 1, "bottom": 2, "left": 5, "right": 5})
config.set("tabs.indicator.width", 0)
config.set("tabs.favicons.scale", 1.2)
#c.fonts.monospace = '"DejaVu Sans Mono"'

View File

@ -1,8 +0,0 @@
[FileDialog]
history=file:///home/samedamci/Pictures/Screenshots, file:///home/samedamci/.scripts/rofi-keepassxc, file:///home/samedamci/Pictures, file:///home/samedamci, file:///home/samedamci/Downloads/Telegram Desktop
lastVisited=file:///home/samedamci/.scripts/rofi-keepassxc
qtVersion=5.14.1
shortcuts=file:, file:///home/samedamci
sidebarWidth=90
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xec\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xff\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff)
viewMode=Detail

View File

@ -1 +0,0 @@
eme https://duckduckgo.com/?q=pepe+python&iar=images&iax=images&ia=images

View File

@ -1,10 +0,0 @@
# _ __ __ _ _ __ __ _ ___ _ __
# | '__/ _` | '_ \ / _` |/ _ \ '__|
# | | | (_| | | | | (_| | __/ |
# |_| \__,_|_| |_|\__, |\___|_|
# |___/
set show_hidden true
set preview_images true
# vim:ft=conf

View File

@ -1,10 +0,0 @@
rofi.modi: drun
rofi.font: Inconsolata 12
rofi.show-icons: true
rofi.m: 0
rofi.lines: 13
rofi.width: 20
rofi.theme: theme
rofi.location: 2
rofi.xoffset: 10
rofi.yoffset: 40

View File

@ -1,139 +0,0 @@
* {
maincolor: #353131;
highlight: bold #e2a478;
urgentcolor: #dfdfdf;
foreground: #dfdfdf;
background: #0a0200;
blackselect: #22262e;
background-color: @background;
show-icons: true;
}
window {
background-color: @background;
border: 1;
border-color: @maincolor;
padding: 0;
}
mainbox {
background-color: @background;
spacing: 0px;
children: [inputbar, message, listview];
}
message {
padding: 6px 10px;
background-color:@background;
}
textbox {
text-color:@urgentcolor;
padding: 10px 10px;
background-color:@background;
}
listview {
columns: 1;
fixed-height: true;
scrollbar: false;
spacing: 0px;
padding: 1px 0px 0px 0px;
margin: 0px 0px 1px 0px;
background: #0a0200;
}
element {
padding: 2px 15px;
}
element normal.normal {
padding: 0px 15px;
background-color: @background;
text-color: @urgentcolor;
}
element normal.urgent {
background-color: @background;
text-color: @urgentcolor;
}
element normal.active {
background-color: @background;
text-color: @maincolor;
}
element selected.normal {
background-color: @blackselect;
text-color: @foreground;
}
element selected.urgent {
background-color: @urgentcolor;
text-color: @background;
}
element selected.active {
background-color: @maincolor;
text-color: @background;
}
element alternate.normal {
background-color: @background;
text-color: @foreground;
}
element alternate.urgent {
background-color: @background;
text-color: @urgentcolor;
}
element alternate.active {
background-color: @background;
text-color: @maincolor;
}
scrollbar {
background-color: @background;
handle-color: @cyan;
handle-width: 15px;
}
mode-switcher {
background-color: @background;
}
button {
background-color: @background;
text-color: @cyan;
}
button selected {
text-color: @maincolor;
}
inputbar {
background-color: @background;
spacing: 0px;
}
prompt {
padding: 6px 9px;
background-color: @maincolor;
text-color:#dfdfdf;
}
entry {
padding:6px 10px;
background-color:@background;
text-color:@urgentcolor;
}
case-indicator {
padding:6px 10px;
text-color:@maincolor;
background-color:@background;
}
/* vim:ft=css

View File

@ -1,142 +0,0 @@
#
# ██ ██ ██
# ░██ ░██ ░██
# ██████ ██ ██░██ ░██ ██ ░██
# ██░░░░ ░░██ ██ ░██████ ░██ ██ ██████
# ░░█████ ░░███ ░██░░░██░████ ██░░░██
# ░░░░░██ ██░██ ░██ ░██░██░██ ░██ ░██
# ██████ ██ ░░██░██ ░██░██░░██░░██████
# ░░░░░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░░░░░
#
# --- config for pc ---
#~~~~~~
# APPS
#~~~~~~
# browser
super + b
$BROWSER
# st
super + Return
st
# vifm
super + r
st -e vifm
# fzf
super + f
st -e zsh -c 'vifm "$(find . -type d | fzf)";'
# rofi
super + d
rofi -show drun
# neomutt
XF86Mail
st -e neomutt
super + g
st -e neomutt
#~~~~~~~~~
# SCRIPTS
#~~~~~~~~~
# direct search
super + o
$SCRD/websearch
# screenshot
Print
$SCRD/screenshot
# rofi-keepassxc
super + p
$SCRD/rofi-keepassxc/rofi-keepassxc -d ~/Passwords/keepass.kdbx
# clipmenu
super + c
clipmenu
# rofi-mpd
super + m
$SCRD/rofi-mpd/rofi-mpd -a
XF86Tools
$SCRD/rofi-mpd/rofi-mpd -a
# rofi-qemu
super + i
$SCRD/rofi-qemu/rofi-qemu
# rofi-legitlink
super + y
$SCRD/rofi-legitlink
# lock
super + x
$SCRD/lockscreen
# powermenu
super + z
$SCRD/powermenu
End
$SCRD/powermenu
# update
super + u
$SCRD/updater
# rofi-todo
super + n
$SCRD/rofi-todo/rofi-todo.py -f $HOME/Notes/notes.json
# kaomoji-rofi
super + e
$SCRD/kaomoji-rofi/kaomoji.sh
# themeswitcher
super + v
$SCRD/themeswitcher
# blaze
F11
if [ $(pgrep ffmpeg) ]; then "$SCRD/blaze/blaze" -s; else "$SCRD/blaze/blaze"; fi
#~~~~~~~~~~~
# SmartHome
#~~~~~~~~~~~
F10
curl 192.168.1.201/toggle.php
#~~~~~~~~~~~~
# WM CONTROL
#~~~~~~~~~~~~
# Reload configs & autostart apps
super + Escape
bspc wm -r
# Kill app
super + {_,shift + }q
bspc node -{c,k}
# Set the window state
super + {t,shift + t,s}
bspc node -t {tiled,pseudo_tiled,floating}
# Focus the node in the given direction
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# Focus or send to the given desktop
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
# Expand a window by moving one of its side outward
super + alt + {h,j,k,l}
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
# Contract a window by moving one of its side inward
super + ctrl + {h,j,k,l}
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
# Move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}
#~~~~~~~
# AUDIO
#~~~~~~~
# Mute
XF86AudioMute
amixer sset Master toggle
# Volume control
XF86Audio{Raise,Lower}Volume
amixer sset Master 5%{+,-}
# Songs control
XF86Audio{Next,Prev}
mpc {next,prev}
# Pause/play
XF86AudioPlay
mpc toggle
# Stop
XF86AudioStop
mpc stop

View File

@ -1,131 +0,0 @@
#
# ██ ██ ██
# ░██ ░██ ░██
# ██████ ██ ██░██ ░██ ██ ░██
# ██░░░░ ░░██ ██ ░██████ ░██ ██ ██████
# ░░█████ ░░███ ░██░░░██░████ ██░░░██
# ░░░░░██ ██░██ ░██ ░██░██░██ ░██ ░██
# ██████ ██ ░░██░██ ░██░██░░██░░██████
# ░░░░░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░░░░░
#
# --- config for laptop ---
#~~~~~~
# APPS
#~~~~~~
# qutebrowser
super + b
qutebrowser
# st
super + Return
st
# vifm
super + r
st -e vifm
# fzf
super + f
st -e zsh -c 'vifm "$(find . -type d | fzf)";'
# rofi
super + d
rofi -show drun
# neomutt
super + g
st -e neomutt
#~~~~~~~~~
# SCRIPTS
#~~~~~~~~~
# direct search
super + o
$SCRD/websearch
# screenshot
End
$SCRD/screenshot
# rofi-keepassxc
super + p
$SCRD/rofi-keepassxc/rofi-keepassxc -d ~/Passwords/keepass.kdbx
# clipmenu
super + c
clipmenu
# mpdmenu
super + m
$SCRD/mpdmenu/mpdmenu -a
# lock
super + x
$SCRD/lockscreen
# powermenu
super + z
$SCRD/powermenu
Print
$SCRD/powermenu
# update
super + u
$SCRD/updater
# rofi-todo
super + n
$SCRD/rofi-todo/rofi-todo.py -f $HOME/Notes/notes.json
# kaomoji-rofi
super + e
$SCRD/kaomoji-rofi/kaomoji.sh
# theme switcher
super + v
$SCRD/themeswitcher
#~~~~~~~~~~~~
# WM CONTROL
#~~~~~~~~~~~~
# Reload configs & autostart apps
super + Escape
bspc wm -r
# Kill app
super + {_,shift + }q
bspc node -{c,k}
# Set the window state
super + {t,shift + t,s}
bspc node -t {tiled,pseudo_tiled,floating}
# Focus the node in the given direction
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# Focus or send to the given desktop
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
# Expand a window by moving one of its side outward
super + alt + {h,j,k,l}
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
# Contract a window by moving one of its side inward
super + ctrl + {h,j,k,l}
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
# Move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}
#~~~~~~~
# AUDIO
#~~~~~~~
# Mute
XF86AudioMute
amixer sset Master toggle
# Volume control
XF86Audio{Raise,Lower}Volume
amixer sset Master 5%{+,-}
# Songs control
XF86Audio{Next,Prev}
mpc {next,prev}
# Pause/play
XF86AudioPlay
mpc toggle
#~~~~~~~~~~~~
# BRIGHTNESS
#~~~~~~~~~~~~
# Down
XF86MonBrightnessDown
xbacklight -dec 10
# Up
XF86MonBrightnessUp
xbacklight -inc 10

View File

@ -1,136 +0,0 @@
#
# ██ ██ ██
# ░██ ░██ ░██
# ██████ ██ ██░██ ░██ ██ ░██
# ██░░░░ ░░██ ██ ░██████ ░██ ██ ██████
# ░░█████ ░░███ ░██░░░██░████ ██░░░██
# ░░░░░██ ██░██ ░██ ░██░██░██ ░██ ░██
# ██████ ██ ░░██░██ ░██░██░░██░░██████
# ░░░░░░ ░░ ░░ ░░ ░░ ░░ ░░ ░░░░░░
#
# --- config for pc ---
#~~~~~~
# APPS
#~~~~~~
# browser
super + b
$BROWSER
# st
super + Return
st
# vifm
super + r
st -e vifm
# fzf
super + f
st -e zsh -c 'vifm "$(find . -type d | fzf)";'
# rofi
super + d
rofi -show drun
# neomutt
XF86Mail
st -e neomutt
super + g
st -e neomutt
#~~~~~~~~~
# SCRIPTS
#~~~~~~~~~
# direct search
super + o
$SCRD/websearch
# screenshot
Print
$SCRD/screenshot
# rofi-keepassxc
super + p
$SCRD/rofi-keepassxc/rofi-keepassxc -d ~/Passwords/keepass.kdbx
# clipmenu
super + c
clipmenu
# rofi-mpd
super + m
$SCRD/rofi-mpd/rofi-mpd -a
XF86Tools
$SCRD/rofi-mpd/rofi-mpd -a
# lock
super + x
$SCRD/lockscreen
# powermenu
super + z
$SCRD/powermenu
End
$SCRD/powermenu
# update
super + u
$SCRD/updater
# rofi-todo
super + n
$SCRD/rofi-todo/rofi-todo.py -f $HOME/Notes/notes.json
# kaomoji-rofi
super + e
$SCRD/kaomoji-rofi/kaomoji.sh
# themeswitcher
super + v
$SCRD/themeswitcher
# blaze
F11
if [ $(pgrep ffmpeg) ]; then "$SCRD/blaze/blaze" -s; else "$SCRD/blaze/blaze"; fi
#~~~~~~~~~~~
# SmartHome
#~~~~~~~~~~~
F10
curl 192.168.1.11/toggle.php
#~~~~~~~~~~~~
# WM CONTROL
#~~~~~~~~~~~~
# Reload configs & autostart apps
super + Escape
bspc wm -r
# Kill app
super + {_,shift + }q
bspc node -{c,k}
# Set the window state
super + {t,shift + t,s}
bspc node -t {tiled,pseudo_tiled,floating}
# Focus the node in the given direction
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# Focus or send to the given desktop
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
# Expand a window by moving one of its side outward
super + alt + {h,j,k,l}
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
# Contract a window by moving one of its side inward
super + ctrl + {h,j,k,l}
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
# Move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}
#~~~~~~~
# AUDIO
#~~~~~~~
# Mute
XF86AudioMute
amixer sset Master toggle
# Volume control
XF86Audio{Raise,Lower}Volume
amixer sset Master 5%{+,-}
# Songs control
XF86Audio{Next,Prev}
mpc {next,prev}
# Pause/play
XF86AudioPlay
mpc toggle
# Stop
XF86AudioStop
mpc stop

View File

@ -1,85 +0,0 @@
" You can edit this file by hand.
" The " character at the beginning of a line comments out the line.
" Blank lines are ignored.
" The Default color scheme is used for any directory that does not have
" a specified scheme and for parts of user interface like menus. A
" color scheme set for a base directory will also
" be used for the sub directories.
" The standard ncurses colors are:
" Default = -1 = None, can be used for transparency or default color
" Black = 0
" Red = 1
" Green = 2
" Yellow = 3
" Blue = 4
" Magenta = 5
" Cyan = 6
" White = 7
" Light versions of colors are also available (set bold attribute):
" LightBlack
" LightRed
" LightGreen
" LightYellow
" LightBlue
" LightMagenta
" LightCyan
" LightWhite
" Available attributes (some of them can be combined):
" bold
" underline
" reverse or inverse
" standout
" italic (on unsupported systems becomes reverse)
" none
" Vifm supports 256 colors you can use color numbers 0-255
" (requires properly set up terminal: set your TERM environment variable
" (directly or using resources) to some color terminal name (e.g.
" xterm-256color) from /usr/lib/terminfo/; you can check current number
" of colors in your terminal with tput colors command)
" highlight group cterm=attrs ctermfg=foreground_color ctermbg=background_color
highlight clear
highlight Win ctermfg=default ctermbg=default cterm=none
highlight Directory ctermfg=blue ctermbg=default cterm=none
highlight Link ctermfg=blue ctermbg=default cterm=none
highlight BrokenLink ctermfg=red ctermbg=default cterm=bold
highlight Socket ctermfg=magenta ctermbg=default cterm=bold
highlight Device ctermfg=red ctermbg=default cterm=bold
highlight Fifo ctermfg=cyan ctermbg=default cterm=bold
highlight Executable ctermfg=yellow ctermbg=default cterm=none
highlight Selected ctermfg=default ctermbg=8 cterm=bold
highlight CurrLine ctermfg=default ctermbg=default cterm=bold,reverse
highlight TopLine ctermfg=7 ctermbg=8 cterm=none
highlight OtherLine ctermfg=4 ctermbg=8
highlight TopLineSel ctermfg=4 ctermbg=default cterm=bold
highlight StatusLine ctermfg=white ctermbg=8 cterm=bold
highlight WildMenu ctermfg=4 ctermbg=black cterm=reverse
highlight CmdLine ctermfg=green ctermbg=black cterm=none
highlight ErrorMsg ctermfg=red ctermbg=black cterm=none
highlight Border ctermfg=black ctermbg=8 cterm=none
highlight JobLine ctermfg=black ctermbg=white cterm=bold,reverse
highlight SuggestBox ctermfg=default ctermbg=default cterm=bold
highlight CmpMismatch ctermfg=white ctermbg=red cterm=bold
highlight AuxWin ctermfg=default ctermbg=default cterm=bold,underline,reverse,standout,italic
highlight TabLine ctermfg=4 ctermbg=0 cterm=none
highlight TabLineSel ctermfg=default ctermbg=default cterm=bold,reverse
highlight User1 ctermfg=default ctermbg=default cterm=bold,underline,reverse,standout,italic
highlight User2 ctermfg=default ctermbg=default cterm=bold,underline,reverse,standout,italic
highlight User3 ctermfg=default ctermbg=default cterm=bold,underline,reverse,standout,italic
highlight User4 ctermfg=default ctermbg=default cterm=bold,underline,reverse,standout,italic
highlight User5 ctermfg=default ctermbg=default cterm=bold,underline,reverse,standout,italic
highlight User6 ctermfg=default ctermbg=default cterm=bold,underline,reverse,standout,italic
highlight User7 ctermfg=default ctermbg=default cterm=bold,underline,reverse,standout,italic
highlight User8 ctermfg=default ctermbg=default cterm=bold,underline,reverse,standout,italic
highlight User9 ctermfg=default ctermbg=default cterm=bold,underline,reverse,standout,italic
highlight /^.*\.(mp3|ogg|oga|flac|m4a)$/ ctermfg=magenta
highlight /^.*\.(jpg|jpeg|png|gif|tiff|webp|bmp|svg|svgz)$/ ctermfg=green
highlight /^.*\.(zip|gz|bz2|xz|tar|tgz|tbz2|7z|rar|iso|rpm|deb)$/ ctermfg=red

View File

@ -1,41 +0,0 @@
"
" ██
" ░██
" █████ ██████ ░██ ██████ ██████ ██████
" ██░░░██ ██░░░░██ ░██ ██░░░░██░░██░░█ ██░░░░
" ░██ ░░ ░██ ░██ ░██░██ ░██ ░██ ░ ░░█████
" ░██ ██░██ ░██ ░██░██ ░██ ░██ ░░░░░██
" ░░█████ ░░██████ ███░░██████ ░███ ██████
" ░░░░░ ░░░░░░ ░░░ ░░░░░░ ░░░ ░░░░░░
hi clear
hi Win ctermfg=white ctermbg=none cterm=none
hi Directory ctermfg=blue ctermbg=default cterm=bold
hi Link ctermfg=cyan ctermbg=default cterm=none
hi BrokenLink ctermfg=red ctermbg=default cterm=bold
hi Socket ctermfg=magenta ctermbg=default cterm=bold
hi Device ctermfg=red ctermbg=default cterm=bold
hi Fifo ctermfg=red ctermbg=default cterm=bold
hi Executable ctermfg=green ctermbg=default cterm=bold
hi Selected ctermfg=black ctermbg=8 cterm=bold
hi CurrLine ctermfg=8 ctermbg=white cterm=bold,reverse
hi TopLine ctermfg=none ctermbg=none cterm=none
hi OtherLine ctermfg=7 ctermbg=none
hi TopLineSel ctermfg=white ctermbg=none cterm=bold
hi StatusLine ctermfg=4 ctermbg=none cterm=none
hi WildMenu ctermfg=4 ctermbg=black cterm=reverse
hi CmdLine ctermfg=7 ctermbg=none cterm=none
hi ErrorMsg ctermfg=red ctermbg=233 cterm=none
hi Border ctermfg=black ctermbg=none cterm=none
hi JobLine ctermfg=black ctermbg=white cterm=none,reverse
hi SuggestBox ctermfg=8 ctermbg=233 cterm=none
hi CmpMismatch ctermfg=white ctermbg=red cterm=bold
hi AuxWin ctermfg=default ctermbg=default cterm=none,underline,reverse,standout,italic
hi TabLine ctermfg=9 ctermbg=0 cterm=none
hi TabLineSel ctermfg=default ctermbg=default cterm=none,reverse
hi /^.*\.(mp3|ogg|oga|flac|m4a)$/ ctermfg=magenta
hi /^.*\.(jpg|jpeg|png|gif|tiff|webp|bmp|svg|svgz)$/ ctermfg=yellow
hi /^.*\.(zip|gz|bz2|xz|tar|tgz|tbz2|7z|rar|iso|rpm|deb)$/ ctermfg=red

View File

@ -1,6 +0,0 @@
This directory is dedicated for user-supplied scripts/executables.
vifm modifies its PATH environment variable to let user run those
scripts without specifying full path. All subdirectories are added
as well. File in a subdirectory overrules file with the same name
in parent directories. Restart might be needed to recognize files
in newly created or renamed subdirectories.

File diff suppressed because it is too large Load Diff

View File

@ -1,345 +0,0 @@
"
" ██ ████
" ░░ ░██░
" ██ ██ ██ ██████ ██████████
" ░██ ░██░██░░░██░ ░░██░░██░░██
" ░░██ ░██ ░██ ░██ ░██ ░██ ░██
" ░░████ ░██ ░██ ░██ ░██ ░██
" ░░██ ░██ ░██ ███ ░██ ░██
" ░░ ░░ ░░ ░░░ ░░ ░░
colorscheme biual
set vicmd=nvim
set syscalls
set trash
set history=100
set nofollowlinks
set sortnumbers
set undolevels=100
set norunexec
set timefmt=%m/%d/%Y\ %H:%M
set wildmenu
set wildstyle=popup
set suggestoptions=normal,visual,view,otherpane,keys,marks,registers
set ignorecase
set smartcase
set nohlsearch
set incsearch
set scrolloff=4
if !has('win')
set slowfs=curlftpfs
endif
set statusline="%A %10u:%-7g %=%15s %20d "
mark b ~/bin/
mark h ~/
" Sample mappings
nnoremap ` :cd ~<cr>
nnoremap ~ :cd ~<cr>
nnoremap S :shell<cr>
nnoremap s :select<cr>
nnoremap w :view<cr>
vnoremap w :view<cr>gv
nnoremap cc cw<c-u>
nnoremap I za<c-u>
nnoremap <C-A-j> <C-w><C-j>
nnoremap <C-A-k> <C-w><C-k>
nnoremap <C-A-l> <C-w><C-l>
nnoremap <C-A-h> <C-w><C-h>
" ------------------------------------------------------------------------------
" :com[mand][!] command_name action
" The following macros can be used in a command
" %a is replaced with the user arguments.
" %c the current file under the cursor.
" %C the current file under the cursor in the other directory.
" %f the current selected file, or files.
" %F the current selected file, or files in the other directory.
" %b same as %f %F.
" %d the current directory name.
" %D the other window directory name.
" %m run the command in a menu window
command! df df -h %m 2> /dev/null
command! diff vim -d %f %F
command! zip zip -r %f.zip %f
command! run !! ./%f
command! make !!make %a
command! mkcd :mkdir %a | cd %a
command! vgrep vim "+grep %a"
command! reload :write | restart
" ------------------------------------------------------------------------------
" The file type is for the default programs to be used with
" a file extension.
" :filetype pattern1,pattern2 defaultprogram,program2
" :fileviewer pattern1,pattern2 consoleviewer
" The other programs for the file type can be accessed with the :file command
" The command macros %f, %F, %d, %F may be used in the commands.
" The %a macro is ignored. To use a % you must put %%.
" For automated FUSE mounts, you must register an extension with :file[x]type
" in one of following formats:
"
" :filetype extensions FUSE_MOUNT|some_mount_command using %SOURCE_FILE and %DESTINATION_DIR variables
" %SOURCE_FILE and %DESTINATION_DIR are filled in by vifm at runtime.
" A sample line might look like this:
" :filetype *.zip,*.jar,*.war,*.ear FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR
"
" :filetype extensions FUSE_MOUNT2|some_mount_command using %PARAM and %DESTINATION_DIR variables
" %PARAM and %DESTINATION_DIR are filled in by vifm at runtime.
" A sample line might look like this:
" :filetype *.ssh FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR
" %PARAM value is filled from the first line of file (whole line).
" Example first line for SshMount filetype: root@127.0.0.1:/
"
" You can also add %CLEAR if you want to clear screen before running FUSE
" program.
" Pdf
filextype *.pdf mupdf %c %i &, apvlv %c, xpdf %c
fileviewer *.pdf pdftotext -nopgbrk %c -
" PostScript
filextype *.ps,*.eps,*.ps.gz
\ {View in zathura}
\ zathura %f,
\ {View in gv}
\ gv %c %i &,
" Djvu
filextype *.djvu
\ {View in zathura}
\ zathura %f,
\ {View in apvlv}
\ apvlv %f,
" Audio
filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus
\ {Play using mpd}
\ mpc clear && mpc add %c && mpc play,
\ {Play using MPlayer}
\ mplayer %f,
fileviewer *.mp3 mp3info
fileviewer *.flac soxi
" Video
filextype *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
\*.as[fx]
\ {View using ffplay}
\ ffplay -fs -autoexit %f,
\ {View using Dragon}
\ dragon %f:p,
\ {View using mplayer}
\ mplayer %f,
fileviewer *.avi,*.mp4,*.wmv,*.dat,*.3gp,*.ogv,*.mkv,*.mpg,*.mpeg,*.vob,
\*.fl[icv],*.m2v,*.mov,*.webm,*.ts,*.mts,*.m4v,*.r[am],*.qt,*.divx,
\*.as[fx]
\ ffprobe -pretty %c 2>&1
" Web
filextype *.html,*.htm
\ {Open with dwb}
\ qutebrowser %f %i &,
\ {Open with firefox}
\ firefox %f &,
\ {Open with uzbl}
\ uzbl-browser %f %i &,
filetype *.html,*.htm links, lynx
" Object
filetype *.o nm %f | less
" Man page
filetype *.[1-8] man ./%c
fileviewer *.[1-8] man ./%c | col -b
" Images
filextype *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ {View in feh}
\ feh -F %d --start-at %d/%c 2>/dev/null
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
\ gimp %f
" OpenRaster
filextype *.ora
\ {Edit in MyPaint}
\ mypaint %f,
" Mindmap
filextype *.vym
\ {Open with VYM}
\ vym %f &,
" MD5
filetype *.md5
\ {Check MD5 hash sum}
\ md5sum -c %f %S,
" SHA1
filetype *.sha1
\ {Check SHA1 hash sum}
\ sha1sum -c %f %S,
" SHA256
filetype *.sha256
\ {Check SHA256 hash sum}
\ sha256sum -c %f %S,
" SHA512
filetype *.sha512
\ {Check SHA512 hash sum}
\ sha512sum -c %f %S,
" GPG signature
filetype *.asc
\ {Check signature}
\ !!gpg --verify %c,
" Torrent
filetype *.torrent ktorrent %f &
fileviewer *.torrent dumptorrent -v %c
" FuseZipMount
filetype *.zip,*.jar,*.war,*.ear,*.oxt,*.apkg
\ {Mount with fuse-zip}
\ FUSE_MOUNT|fuse-zip %SOURCE_FILE %DESTINATION_DIR,
\ {View contents}
\ zip -sf %c | less,
\ {Extract here}
\ tar -xf %c,
fileviewer *.zip,*.jar,*.war,*.ear,*.oxt zip -sf %c
" ArchiveMount
filetype *.tar,*.tar.bz2,*.tbz2,*.tgz,*.tar.gz,*.tar.xz,*.txz
\ {Mount with archivemount}
\ FUSE_MOUNT|archivemount %SOURCE_FILE %DESTINATION_DIR,
fileviewer *.tgz,*.tar.gz tar -tzf %c
fileviewer *.tar.bz2,*.tbz2 tar -tjf %c
fileviewer *.tar.txz,*.txz xz --list %c
fileviewer *.tar tar -tf %c
" Rar2FsMount and rar archives
filetype *.rar
\ {Mount with rar2fs}
\ FUSE_MOUNT|rar2fs %SOURCE_FILE %DESTINATION_DIR,
fileviewer *.rar unrar v %c
" IsoMount
filetype *.iso
\ {Mount with fuseiso}
\ FUSE_MOUNT|fuseiso %SOURCE_FILE %DESTINATION_DIR,
" SshMount
filetype *.ssh
\ {Mount with sshfs}
\ FUSE_MOUNT2|sshfs %PARAM %DESTINATION_DIR %FOREGROUND,
" FtpMount
filetype *.ftp
\ {Mount with curlftpfs}
\ FUSE_MOUNT2|curlftpfs -o ftp_port=-,,disable_eprt %PARAM %DESTINATION_DIR %FOREGROUND,
" Fuse7z and 7z archives
filetype *.7z
\ {Mount with fuse-7z}
\ FUSE_MOUNT|fuse-7z %SOURCE_FILE %DESTINATION_DIR,
fileviewer *.7z 7z l %c
" Office files
filextype *.odt,*.doc,*.docx,*.xls,*.xlsx,*.odp,*.pptx libreoffice %f &
fileviewer *.doc catdoc %c
fileviewer *.docx docx2txt.pl %f -
" TuDu files
filetype *.tudu tudu -f %c
" Qt projects
filextype *.pro qtcreator %f &
" Directories
filextype */
\ {View in thunar}
\ Thunar %f &,
filetype *.wav,*.mp3,*.flac,*.m4a,*.wma,*.ape,*.ac3,*.og[agx],*.spx,*.opus mpv --no-audio-display --input-ipc-server=/tmp/mpvsoc$(date +%%s) %c
" Syntax highlighting in preview
"
" Explicitly set highlight type for some extensions
"
" 256-color terminal
" fileviewer *.[ch],*.[ch]pp highlight -O xterm256 -s dante --syntax c %c
" fileviewer Makefile,Makefile.* highlight -O xterm256 -s dante --syntax make %c
"
" 16-color terminal
" fileviewer *.c,*.h highlight -O ansi -s dante %c
"
" Or leave it for automatic detection
"
" fileviewer *[^/] pygmentize -O style=monokai -f console256 -g
" Displaying pictures in terminal
"
" fileviewer *.jpg,*.png shellpic %c
" Open all other files with default system programs (you can also remove all
" :file[x]type commands above to ensure they don't interfere with system-wide
" settings). By default all unknown files are opened with 'vi[x]cmd'
" uncommenting one of lines below will result in ignoring 'vi[x]cmd' option
" for unknown file types.
" For *nix:
" filetype * xdg-open
" For OS X:
" filetype * open
" For Windows:
" filetype * start, explorer
" ------------------------------------------------------------------------------
" What should be saved automatically between vifm sessions. Drop "savedirs"
" value if you don't want vifm to remember last visited directories for you.
" ------------------------------------------------------------------------------
" Examples of configuring both panels
" Customize view columns a bit (enable ellipsis for truncated file names)
"
" set viewcolumns=-{name}..,6{}.
" Filter-out build and temporary files
"
" filter! /^.*\.(lo|o|d|class|py[co])$|.*~$/
" ------------------------------------------------------------------------------
" Interaction with system clipboard
if has('win')
" Yank current directory path to Windows clipboard with forward slashes
nnoremap yp :!echo %"d:gs!\!/! %i | clip<cr>
" Yank path to current file to Windows clipboard with forward slashes
nnoremap yf :!echo %"c:gs!\!/! %i | clip<cr>
elseif executable('xclip')
" Yank current directory path into the clipboard
nnoremap yd :!echo %d | xclip %i<cr>
" Yank current file path into the clipboard
nnoremap yf :!echo %c:p | xclip %i<cr>
elseif executable('xsel')
" Yank current directory path into primary and selection clipboards
nnoremap yd :!echo -n %d | xsel --input --primary %i &&
\ echo -n %d | xsel --clipboard --input %i<cr>
" Yank current file path into into primary and selection clipboards
nnoremap yf :!echo -n %c:p | xsel --input --primary %i &&
\ echo -n %c:p | xsel --clipboard --input %i<cr>
endif
" vim: filetype=vifm

View File

@ -1,7 +0,0 @@
#cf5252
#92ad4a
#c9895b
#6f97b8
#ab6ba6
#6fa69f

View File

@ -1,8 +0,0 @@
audio.sources=mpd
mpd.fifo.path=/tmp/mpd.fifo
colors.scheme=biual
colors.override.terminal=false
visualizer.spectrum.character=

View File

@ -1,24 +0,0 @@
[General]
filedialog-path="@Variant(\0\0\0\x11\0\0\0;file:///home/samedamci/Videos/blaze-2020-04-07_19-30-27.mp4)"
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\x3\0\0\0\x1c\0\0\a|\0\0\x4\x34\0\0\0\x3\0\0\0\x1c\0\0\a|\0\0\x4\x34\0\0\0\0\0\0\0\0\a\x80\0\0\0\x3\0\0\0\x1c\0\0\a|\0\0\x4\x34)
[FullScreen]
pos=@Point(0 0)
screen=@Rect(0 0 0 0)
wide=false
[MainWindow]
adv-controls=0
bgSize=@Size(1914 977)
pl-dock-status=true
playlist-visible=false
playlistSize=@Size(-1 -1)
status-bar-visible=false
[OpenDialog]
advanced=false
size=@Size(526 405)
[RecentsMRL]
list=file:///home/samedamci/Videos/blaze-2020-04-07_19-30-27.mp4, file:///media/6CEC-36BB/Music/Nyan%20Cat%20-%2010%20HOURS%20%5B%20BEST%20SOUND%20QUALITY%20%5D%204K%20UHD%20ULTRA%20HD.webm, file:///home/samedamci/Videos/blaze-2020-03-26_19-27-04.mp4, file:///home/samedamci/Videos/blaze-2020-03-26_19-25-04.mp4, file:///home/samedamci/Python%20Tutorial%20-%20Working%20with%20JSON%20Data%20using%20the%20json%20Module.m4a, file:///home/samedamci/Documents/PythonCurses/Learn%20Python%20-%20Full%20Course%20for%20Beginners%20[Tutorial]-rfscVS0vtbw.mp4, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/throw.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/no3.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit4.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit3.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit2.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/hit1.ogg, file:///home/samedamci/Downloads/Iron_pudzian/assets/minecraft/sounds/mob/irongolem/death.ogg, file:///mnt/HDD/samedamci/Videos/mc1.webm, file:///mnt/HDD/samedamci/Videos/brovar.webm, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-27-59.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-26-07.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-23-22.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-22-36.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-18-04.flv, file:///mnt/HDD/samedamci/Videos/2020-02-14_13-04-07.flv, file:///home/samedamci/2020-03-01%2013-24-25.flv, file:///home/samedamci/SD/Music/Ki.flac, file:///home/samedamci/SD/Music/001%20%20Cantate%20Tutti.flac, directory:///home/samedamci/SD/Music
times=0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33408, 0

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 925 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 859 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 935 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 813 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 784 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 MiB

View File

@ -1,43 +0,0 @@
{
"aururl": "https://aur.archlinux.org",
"buildDir": "$HOME/.cache/yay",
"absdir": "$HOME/.cache/yay/abs",
"editor": "",
"editorflags": "",
"makepkgbin": "makepkg",
"makepkgconf": "",
"pacmanbin": "pacman",
"pacmanconf": "/etc/pacman.conf",
"redownload": "no",
"rebuild": "no",
"batchinstall": false,
"answerclean": "",
"answerdiff": "",
"answeredit": "",
"answerupgrade": "",
"gitbin": "git",
"gpgbin": "gpg",
"gpgflags": "",
"mflags": "",
"sortby": "votes",
"searchby": "name-desc",
"gitflags": "",
"removemake": "ask",
"sudobin": "sudo",
"sudoflags": "",
"requestsplitn": 150,
"sortmode": 0,
"completionrefreshtime": 7,
"sudoloop": false,
"timeupdate": false,
"devel": false,
"cleanAfter": false,
"provides": true,
"pgpfetch": true,
"upgrademenu": true,
"cleanmenu": true,
"diffmenu": false,
"editmenu": true,
"combinedupgrade": false,
"useask": false
}

View File

@ -1,2 +0,0 @@
max-cache-ttl 31536000
default-cache-ttl 31536000

View File

@ -1,34 +0,0 @@
#!/usr/bin/env bash
#
# ████ ██ ██
# ██████ ░██░ ░░ ░██
# ░██░░░██ ██████ ██████ ██████ ██ ░██ █████
# ░██ ░██░░██░░█ ██░░░░██░░░██░ ░██ ░██ ██░░░██
# ░██████ ░██ ░ ░██ ░██ ░██ ░██ ░██░███████
# ░██░░░ ░██ ░██ ░██ ░██ ░██ ░██░██░░░░
# ░██ ░███ ░░██████ ░██ ░██ ███░░██████
# ░░ ░░░ ░░░░░░ ░░ ░░ ░░░ ░░░░░░
#~~~~~~~~~~~~~~
# Default Apps
#~~~~~~~~~~~~~~
export EDITOR="nvim"
export BROWSER="firefox"
export TERMINAL="st"
#~~~~~~
# PATH
#~~~~~~
export GOPATH=$HOME/.local/go
export NPM_PACKAGES="$HOME/.yarn/bin/"
export PATH="$PATH:$HOME/Dotfiles:$HOME/.local/bin:$NPM_PACKAGES:$GOROOT/bin:$GOPATH/bin"
export SCRD=$HOME/.scripts/
export LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=00;93:do=00;93:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=1;34:st=37;44:ex=01;32:*.tar=01;36:*.tgz=01;36:*.svgz=00;93:*.arj=01;36:*.taz=01;36:*.lzh=01;36:*.lzma=01;36:*.zip=01;36:*.z=01;36:*.Z=01;36:*.dz=01;36:*.gz=01;36:*.bz2=01;36:*.tbz2=01;36:*.bz=01;36:*.tz=01;36:*.deb=01;36:*.rpm=01;36:*.jar=01;36:*.rar=01;36:*.ace=01;36:*.zoo=01;36:*.cpio=01;36:*.7z=01;36:*.rz=01;36:*.jpg=00;93:*.jpeg=00;93:*.gif=00;93:*.bmp=00;93:*.pbm=00;93:*.pgm=00;93:*.ppm=00;93:*.tga=00;93:*.xbm=00;93:*.xpm=00;93:*.tif=00;93:*.tiff=00;93:*.png=00;93:*.mng=00;93:*.pcx=00;93:*.mov=00;93:*.mpg=00;93:*.mpeg=00;93:*.m2v=00;93:*.mkv=00;93:*.ogm=00;93:*.mp4=00;93:*.m4v=00;93:*.mp4v=00;93:*.vob=00;93:*.qt=00;93:*.nuv=00;93:*.wmv=00;93:*.asf=00;93:*.rm=00;93:*.rmvb=00;93:*.flc=00;93:*.avi=00;93:*.fli=00;93:*.gl=00;93:*.dl=00;93:*.xcf=00;93:*.xwd=00;93:*.yuv=00;93:*.svg=00;93:*.aac=00;36:*.au=00;36:*.flac=00;35:*.mid=00;35:*.midi=00;35:*.mka=00;35:*.mp3=00;35:*.mpc=00;35:*.ogg=00;35:*.ra=00;35:*.wav=00;35:*.opus=00;35:"
export _JAVA_AWT_WM_NONREPARENTING=1
export GPG_TTY=$(tty)

View File

@ -1,51 +0,0 @@
#!/bin/bash
# _ _ _
# __ _ _ _| |_ ___ ___| |_ __ _ _ __| |_
# / _` | | | | __/ _ \/ __| __/ _` | '__| __|
# | (_| | |_| | || (_) \__ \ || (_| | | | |_
# \__,_|\__,_|\__\___/|___/\__\__,_|_| \__|
# Load .Xresources
xrdb ~/.Xresources
# Wallpaper
if [ "$HOSTNAME" == "pc" ];then
feh --bg-fill --randomize /home/samedamci/.config/wallpapers/1920x1080/ &
elif [ "$HOSTNAME" == "laptop" ];then
feh --bg-fill --randomize /home/samedamci/.config/wallpapers/1366x768/ &
fi
# Polybar
# killall -q polybar
# while pgrep -u $UID -x polybar >/dev/null; do killall -q polybar; done
# polybar polybarexe &
# sxhkd
killall -q sxhkd
while pgrep -u $UID -x sxhkd >/dev/null; do killall -q sxhkd; done
sxhkd &
# Dunst
killall -q dunst
while pgrep -u $UID -x dunst >/dev/null; do killall -q dunst; done
dunst &
# Picom
killall -q picom
while pgrep -u $UID -x picom >/dev/null; do killall -q picom; done
picom &
# Set keyboard layout & key swaping
setxkbmap -layout 'pl' -option caps:swapescape &
# Cursor
xsetroot -cursor_name left_ptr & # change the cursor shape from "x" to normal
xsetroot -name " samedamci "
# Not reload
[[ -z $(pgrep udiskie) ]] && udiskie &
[[ -z $(pgrep clipmenud) ]] && clipmenud &
[[ -z $(pgrep mpd) ]] && mpd &
[[ -z $(pgrep dunst) ]] && dunst &
[[ -z $(pgrep syncthing) ]] && syncthing -no-browser &
telegram-desktop &
~/.scripts/dwmbar &
# Welcome notify
dunstify "Hello ${USER}!"

View File

@ -1,3 +0,0 @@
#!/usr/bin/env sh
awk '/^[a-z]/ && last {print $0,"\t",last} {last=""} /^#/{last=$0}' ~/.config/sxhkd/sxhkdrc | column -t -s $'\t' | fzf --preview '' --height 100%

View File

@ -1,6 +0,0 @@
#!/usr/bin/env bash
while true; do
xsetroot -name "  $(awk -F"[][]" '/dB/ { print $2 }' <(amixer sget Master)) |  $(date "+%H:%M:%S %p") |  $(pacman -Qu | wc -l) "
sleep 1
done

View File

@ -1 +0,0 @@
ip a show wlp8s0 | grep -Eo '(inet)?*([0-9]*\.){3}[0-9]*' | grep -v '**\.255'

View File

@ -1,11 +0,0 @@
#!/usr/bin/env sh
mkdir ~/.cache/lock/
f="$HOME/.cache/lock/lock.jpg"
maim -u -m 7 -f jpg "$f"
convert "$f" -blur 0x6 "$f"
i3lock -i "$f" --composite --insidecolor=55443311 --ringcolor=99443300 --insidevercolor=55443311 --keyhlcolor=99999999 --indicator --veriftext= --wrongtext=! --radius 180 -b --separatorcolor=00000000
rm "$f"

View File

@ -1,5 +0,0 @@
#!/bin/zsh
RESOL=$(xrandr | grep '*' | grep -o '?*[0-9]*x?*[0-9]*')
i3lock -i ~/.config/wallpapers/$RESOL/wall$(( ( RANDOM % $(ls ~/.config/wallpapers/$RESOL | wc -l) +1 ) )).png --composite --insidecolor=55443311 --ringcolor=99443300 --insidevercolor=55443311 --keyhlcolor=99999999 --indicator --veriftext= --wrongtext=! --radius 180 -b --separatorcolor=00000000 --bar-indicator

View File

@ -1,11 +0,0 @@
#!/usr/bin/env sh
WHAT="$(printf "Shutdown\nSuspend\nLock\nReboot" | dmenu -i -p 'What do you want?' -h 24)"
if [ -z "$WHAT" ]; then exit; fi
case "$WHAT" in
Shutdown) systemctl poweroff;;
Suspend) sh ~/.scripts/lockscreen; systemctl suspend;;
Lock) sh ~/.scripts/lockscreen;;
Reboot) systemctl reboot
esac

View File

@ -1,23 +0,0 @@
#!/usr/bin/env sh
m() { rofi -dmenu -i -l "$@"; }
TYPE="$(printf "Screen\nArea\n" | m 2 -p 'What do you want to screenshot?')"
[ ! "$TYPE" ] && exit
SAVE="$(printf "No\nYes" | m 2 -p 'Do you want to copy to clipboard?')"
[ ! "$SAVE" ] && exit
TIME="$(printf "0.7\n5\n10\n15" | m 3 -p 'How many seconds you want to wait?')"
[ ! "$TIME" ] && exit
[ "$TYPE" = "Area" ] && TYPE="-s -u" || TYPE=""
mkdir -p ~/Pictures/Screenshots
sleep "$TIME"
SCREEN_PATH=~/Pictures/Screenshots/$(date +%G-%m-%d_%s).png
maim $TYPE "$SCREEN_PATH" &&
notify-send -u low -t 1400 -i "$SCREEN_PATH" "Screenshot created!"
[ "$SAVE" = "Yes" ] &&
xclip -sel clip /dev/null; sleep 0.5
xclip -selection clipboard -t image/png "$SCREEN_PATH" || exit

View File

@ -1,77 +0,0 @@
#!/usr/bin/env bash
xfile="$HOME/.Xresources"
theme="$(printf "cyan\nmagenta\ndark\norange\nred" | rofi -dmenu -i -p "Theme" -l 5)"
case "$theme" in
cyan)
bg="#071616"
bunfoc="#353234"
bfoc="#144949"
;;
magenta)
bg="#211019"
bunfoc="#2d060e"
bfoc="#4c1139"
;;
dark)
bg="#0a0200"
bunfoc="#262323"
bfoc="#353131"
;;
orange)
bg="#351909"
bunfoc="#1e0e05"
bfoc="#51250c"
;;
red)
bg="#680e10"
bunfoc="#380a0b"
bfoc="#a31619"
;;
*) exit;;
esac
dselb="$bfoc"
sed -i \
-e "s/\*\.background:.*/\*\.background: $bg/" \
-e "s/\*\.border_unfocused:.*/\*\.border_unfocused: $bunfoc/" \
-e "s/\*\.border_focused:.*/\*\.border_focused: $bfoc/" \
-e "s/dmenu\.selbackground:.*/dmenu\.selbackground: $dselb/" \
$xfile
# get colors
xrdb "$xfile"
fg=$(xrdb -query | awk '/\*.foreground/ { printf $2 }')
bg=$(xrdb -query | awk '/\*.background/ { printf $2 }')
bfoc=$(xrdb -query | awk '/\*.border_focused/ { printf $2 }')
# black=$(xrdb -query | awk '/color0/ { printf $2 }')
# red=$(xrdb -query | awk '/color1:/ { printf $2 }')
# green=$(xrdb -query | awk '/color2/ { printf $2 }')
# yellow=$(xrdb -query | awk '/color3/ { printf $2 }')
# blue=$(xrdb -query | awk '/color4/ { printf $2 }')
# magenta=$(xrdb -query | awk '/color5/ { printf $2 }')
# cyan=$(xrdb -query | awk '/color6/ { printf $2 }')
# white=$(xrdb -query | awk '/color7/ { printf $2 }')
# dunst
sed -i \
-e "s/^\s*foreground.*/ foreground = \"$fg\"/" \
-e "s/^\s*background.*/ background = \"$bg\"/" \
-e "s/^\s*frame_color.*/ frame_color = \"$bfoc\"/" \
~/.config/dunst/dunstrc
# rofi
sed -i \
-e "s/foreground:.*/foreground: ${fg};/" \
-e "s/background:.*/background: ${bg};/" \
-e "s/maincolor:.*/maincolor: ${bfoc};/" \
~/.config/rofi/theme.rasi
bspc wm -r
notify-send "Theme changed!"

Some files were not shown because too many files have changed in this diff Show More