Migrate from GitLab to GitHub
- switch i3wm to bspwm - lot of changes
This commit is contained in:
parent
d0b4d0ed85
commit
ab76262568
@ -1,188 +0,0 @@
|
|||||||
# _ _____
|
|
||||||
# (_)|___ /
|
|
||||||
# | | |_ \
|
|
||||||
# | | ___) |
|
|
||||||
# |_||____/
|
|
||||||
|
|
||||||
#~~~~~~~~~~~~
|
|
||||||
# Xresources
|
|
||||||
#~~~~~~~~~~~~
|
|
||||||
set_from_resource $border border_unfocused
|
|
||||||
set_from_resource $border_f border_focused
|
|
||||||
|
|
||||||
#~~~~~~~~~
|
|
||||||
# mod key
|
|
||||||
#~~~~~~~~~
|
|
||||||
set $mod Mod4
|
|
||||||
|
|
||||||
#~~~~~~~~~
|
|
||||||
# borders
|
|
||||||
#~~~~~~~~~
|
|
||||||
new_window pixel 1
|
|
||||||
new_float normal
|
|
||||||
hide_edge_borders none
|
|
||||||
# change borders
|
|
||||||
bindsym $mod+u border none
|
|
||||||
bindsym $mod+y border pixel 1
|
|
||||||
font xft:URWGothic-Book 11
|
|
||||||
# border active color
|
|
||||||
client.unfocused $border $border $border $border
|
|
||||||
client.focused $border_f $border_f $border_f $border_f
|
|
||||||
|
|
||||||
#~~~~~~~
|
|
||||||
# other
|
|
||||||
#~~~~~~
|
|
||||||
# Use Mouse+$mod to drag floating windows
|
|
||||||
floating_modifier $mod
|
|
||||||
# kill focused window
|
|
||||||
bindsym $mod+Shift+q kill
|
|
||||||
|
|
||||||
#~~~~~~~~~~~~~~~
|
|
||||||
# bindings apps
|
|
||||||
#~~~~~~~~~~~~~~~
|
|
||||||
bindsym $mod+Return exec --no-startup-id st
|
|
||||||
bindsym $mod+d exec --no-startup-id dmenu_run
|
|
||||||
bindsym $mod+F2 exec qutebrowser
|
|
||||||
bindsym $mod+F3 exec st -e ranger
|
|
||||||
bindsym $mod+s exec ~/.scripts/screenshot.sh
|
|
||||||
bindsym $mod+c exec st -e nvim
|
|
||||||
|
|
||||||
# Screen brightness controls
|
|
||||||
#bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
|
|
||||||
#bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
|
|
||||||
|
|
||||||
#~~~~~~~~~~~~~~
|
|
||||||
# change focus
|
|
||||||
#~~~~~~~~~~~~~~
|
|
||||||
bindsym $mod+h focus left
|
|
||||||
bindsym $mod+j focus down
|
|
||||||
bindsym $mod+k focus up
|
|
||||||
bindsym $mod+l focus right
|
|
||||||
focus_follows_mouse no
|
|
||||||
bindsym $mod+Left focus left
|
|
||||||
bindsym $mod+Down focus down
|
|
||||||
bindsym $mod+Up focus up
|
|
||||||
bindsym $mod+Right focus right
|
|
||||||
# move focused window
|
|
||||||
bindsym $mod+Shift+h move left
|
|
||||||
bindsym $mod+Shift+j move down
|
|
||||||
bindsym $mod+Shift+k move up
|
|
||||||
bindsym $mod+Shift+l move right
|
|
||||||
bindsym $mod+Shift+Left move left
|
|
||||||
bindsym $mod+Shift+Down move down
|
|
||||||
bindsym $mod+Shift+Up move up
|
|
||||||
bindsym $mod+Shift+Right move right
|
|
||||||
# workspace back and forth (with/without active container)
|
|
||||||
workspace_auto_back_and_forth yes
|
|
||||||
bindsym $mod+b workspace back_and_forth
|
|
||||||
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
|
||||||
|
|
||||||
#~~~~~~~~~~~~~~~~~~~
|
|
||||||
# split orientation
|
|
||||||
#~~~~~~~~~~~~~~~~~~~
|
|
||||||
bindsym $mod+Ctrl+h split h
|
|
||||||
bindsym $mod+Ctrl+v split v
|
|
||||||
bindsym $mod+q split toggle
|
|
||||||
# toggle fullscreen mode for the focused container
|
|
||||||
bindsym $mod+f fullscreen toggle
|
|
||||||
# toggle tiling / floating
|
|
||||||
bindsym $mod+Shift+space floating toggle
|
|
||||||
# move the currently focused window to the scratchpad
|
|
||||||
bindsym $mod+Shift+minus move scratchpad
|
|
||||||
# Show the next scratchpad window or hide the focused scratchpad window.
|
|
||||||
# If there are multiple scratchpad windows, this command cycles through them.
|
|
||||||
bindsym $mod+minus scratchpad show
|
|
||||||
#navigate workspaces next / previous
|
|
||||||
bindsym $mod+Ctrl+Right workspace next
|
|
||||||
bindsym $mod+Ctrl+Left workspace prev
|
|
||||||
|
|
||||||
#~~~~~~~~~~~~
|
|
||||||
# workspaces
|
|
||||||
#~~~~~~~~~~~~
|
|
||||||
# names
|
|
||||||
set $ws1 "1: "
|
|
||||||
set $ws2 "2: "
|
|
||||||
set $ws3 "3: "
|
|
||||||
set $ws4 "4: "
|
|
||||||
set $ws5 "5: "
|
|
||||||
set $ws6 "6: "
|
|
||||||
set $ws7 "7: "
|
|
||||||
set $ws8 "8: "
|
|
||||||
# switch to workspace
|
|
||||||
bindsym $mod+1 workspace $ws1
|
|
||||||
bindsym $mod+2 workspace $ws2
|
|
||||||
bindsym $mod+3 workspace $ws3
|
|
||||||
bindsym $mod+4 workspace $ws4
|
|
||||||
bindsym $mod+5 workspace $ws5
|
|
||||||
bindsym $mod+6 workspace $ws6
|
|
||||||
bindsym $mod+7 workspace $ws7
|
|
||||||
bindsym $mod+8 workspace $ws8
|
|
||||||
# Move focused container to workspace
|
|
||||||
bindsym $mod+Ctrl+1 move container to workspace $ws1
|
|
||||||
bindsym $mod+Ctrl+2 move container to workspace $ws2
|
|
||||||
bindsym $mod+Ctrl+3 move container to workspace $ws3
|
|
||||||
bindsym $mod+Ctrl+4 move container to workspace $ws4
|
|
||||||
bindsym $mod+Ctrl+5 move container to workspace $ws5
|
|
||||||
bindsym $mod+Ctrl+6 move container to workspace $ws6
|
|
||||||
bindsym $mod+Ctrl+7 move container to workspace $ws7
|
|
||||||
bindsym $mod+Ctrl+8 move container to workspace $ws8
|
|
||||||
# Move to workspace with focused container
|
|
||||||
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
|
|
||||||
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
|
|
||||||
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
|
|
||||||
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
|
|
||||||
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
|
|
||||||
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
|
|
||||||
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
|
|
||||||
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
|
||||||
|
|
||||||
#~~~~~~
|
|
||||||
# i3wm
|
|
||||||
#~~~~~~
|
|
||||||
# reload the configuration file
|
|
||||||
bindsym $mod+Shift+c reload
|
|
||||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
|
||||||
bindsym $mod+Shift+r restart
|
|
||||||
# exit i3 (logs you out of your X session)
|
|
||||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
|
||||||
# Resize window (you can also use the mouse for that)
|
|
||||||
bindsym $mod+r mode "resize"
|
|
||||||
mode "resize" {
|
|
||||||
# These bindings trigger as soon as you enter the resize mode
|
|
||||||
# Pressing left will shrink the window’s width.
|
|
||||||
# Pressing right will grow the window’s width.
|
|
||||||
# Pressing up will shrink the window’s height.
|
|
||||||
# Pressing down will grow the window’s height.
|
|
||||||
bindsym h resize shrink width 5 px or 5 ppt
|
|
||||||
bindsym j resize grow height 5 px or 5 ppt
|
|
||||||
bindsym k resize shrink height 5 px or 5 ppt
|
|
||||||
bindsym l resize grow width 5 px or 5 ppt
|
|
||||||
|
|
||||||
# same bindings, but for the arrow keys
|
|
||||||
bindsym Left resize shrink width 10 px or 10 ppt
|
|
||||||
bindsym Down resize grow height 10 px or 10 ppt
|
|
||||||
bindsym Up resize shrink height 10 px or 10 ppt
|
|
||||||
bindsym Right resize grow width 10 px or 10 ppt
|
|
||||||
|
|
||||||
# exit resize mode: Enter or Escape
|
|
||||||
bindsym Return mode "default"
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
# Lock screen
|
|
||||||
bindsym $mod+9 exec --no-startup-id blurlock
|
|
||||||
|
|
||||||
#~~~~~~~~~~~
|
|
||||||
# autostart
|
|
||||||
#~~~~~~~~~~~
|
|
||||||
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
||||||
exec --no-startup-id syncthing -no-browser
|
|
||||||
exec --no-startup-id nm-applet
|
|
||||||
exec --no-startup-id xfce4-power-manager
|
|
||||||
# exec --no-startup-id clipit
|
|
||||||
# exec --no-startup-id blueman-applet
|
|
||||||
exec --no-startup-id polybar polybarexe
|
|
||||||
# exec_always --no-startup-id mopidy
|
|
||||||
exec_always --no-startup-id feh --bg-fill --randomize ~/Pictures/Wallpapers
|
|
||||||
exec --no-startup-id lxsession
|
|
||||||
|
|
||||||
# vim: filetype=i3
|
|
@ -1,4 +0,0 @@
|
|||||||
augroup i3_ftdetect
|
|
||||||
au!
|
|
||||||
au BufRead,BufNewFile *i3/config,*sway/config set ft=i3
|
|
||||||
augroup END
|
|
@ -1 +0,0 @@
|
|||||||
setlocal commentstring=#\ %s
|
|
@ -1,134 +0,0 @@
|
|||||||
" Vim syntax file
|
|
||||||
" Language: i3-wm config file
|
|
||||||
" Maintainer: Emanuel Guével
|
|
||||||
" Latest Revision: 16 October 2012
|
|
||||||
|
|
||||||
if exists("b:current_syntax")
|
|
||||||
finish
|
|
||||||
endif
|
|
||||||
|
|
||||||
" Symbols
|
|
||||||
syn match i3Operators "+\|→"
|
|
||||||
syn match i3ChainDelimiter ";"
|
|
||||||
|
|
||||||
syn match i3Var "\$\w\+"
|
|
||||||
|
|
||||||
" Key modifiers
|
|
||||||
syn keyword i3KeyModifier Shift Control Ctrl Mod1 Mod2 Mod3 Mod4 Mod5 Mode_switch
|
|
||||||
|
|
||||||
" Strings
|
|
||||||
syn region i3SimpleString keepend start='[^ \t]' end='$\|;' contained contains=i3ChainDelimiter,i3Var
|
|
||||||
syn match i3QuotedString '"[^"]\+"' contained
|
|
||||||
syn cluster i3String contains=i3SimpleString,i3QuotedString
|
|
||||||
|
|
||||||
" Config commands
|
|
||||||
syn keyword i3ConfigCommand bind bindcode bindsym assign new_window popup_during_fullscreen font floating_modifier default_orientation workspace_layout for_window focus_follows_mouse bar position colors output tray_output workspace_buttons workspace_auto_back_and_forth binding_mode_indicator debuglog floating_minimum_size floating_maximum_size force_focus_wrapping force_xinerama force_display_urgency_hint hidden_state modifier new_float shmlog socket_path verbose mouse_warping strip_workspace_numbers focus_on_window_activation no_focus
|
|
||||||
syn match i3IpcSocket "ipc[-_]socket" nextgroup=@i3String skipwhite
|
|
||||||
|
|
||||||
" Command keywords
|
|
||||||
syn keyword i3Command exit reload restart kill fullscreen global layout border focus move open split append_layout mark unmark resize grow shrink show nop rename title_format sticky
|
|
||||||
syn keyword i3Param 1pixel default stacked tabbed normal none tiling stacking floating enable disable up down horizontal vertical auto up down left right parent child px or ppt leave_fullscreen toggle mode_toggle scratchpad width height top bottom client hide primary yes all active window container to absolute center on off x ms h v smart ignore pixel splith splitv output true
|
|
||||||
syn match i3DashedParam '--\(release\|border\|whole-window\|toggle\)' skipwhite
|
|
||||||
syn match i3NoStartupId '--no-startup-id' contained
|
|
||||||
syn keyword i3WsSpecialParam next prev next_on_output prev_on_output back_and_forth current number
|
|
||||||
syn keyword i3BordersSpecialParam none vertical horizontal both
|
|
||||||
syn keyword i3ModeParam dock hide invisible skipwhite
|
|
||||||
syn keyword i3GapsCommand gaps smart_gaps smart_borders
|
|
||||||
syn keyword i3GapsParam inner outer current all set plus minus no_gaps
|
|
||||||
|
|
||||||
" these are not keywords but we add them for consistency
|
|
||||||
syn keyword i3PseudoParam no false inactive
|
|
||||||
|
|
||||||
" Exec commands
|
|
||||||
syn region i3ExecCommand keepend start='[^ \t]' end='$\|;' contained contains=i3ChainDelimiter,i3Var,i3NoStartupId
|
|
||||||
syn match i3QuotedExecCommand '"[^"]\+"' contained
|
|
||||||
syn keyword i3ExecKeyword exec exec_always i3bar_command nextgroup=i3QuotedExecCommand,i3ExecCommand skipwhite
|
|
||||||
|
|
||||||
" Status command
|
|
||||||
syn match i3StatusCommand ".*$" contained
|
|
||||||
syn keyword i3StatusCommandKeyword status_command nextgroup=i3StatusCommand skipwhite
|
|
||||||
|
|
||||||
" Font statement
|
|
||||||
syn keyword i3FontStatement font nextgroup=@i3String skipwhite
|
|
||||||
|
|
||||||
" Separator symbol
|
|
||||||
syn keyword i3SeparatorSymbol separator_symbol nextgroup=@i3String skipwhite
|
|
||||||
|
|
||||||
" Set statement
|
|
||||||
syn match i3SetVar "\$\w\+" contained nextgroup=@i3String skipwhite
|
|
||||||
syn keyword i3SetKeyword set set_from_resource nextgroup=i3SetVar skipwhite
|
|
||||||
|
|
||||||
" Workspaces
|
|
||||||
syn keyword i3WsKeyword workspace nextgroup=i3WsSpecialParam,@i3String skipwhite
|
|
||||||
|
|
||||||
" Hide edge borders
|
|
||||||
syn keyword i3BordersConfigCommand hide_edge_borders nextgroup=i3BordersSpecialParam skipwhite
|
|
||||||
|
|
||||||
" Mode
|
|
||||||
syn keyword i3ModeKeyword mode nextgroup=i3ModeParam,@i3String skipwhite
|
|
||||||
|
|
||||||
" Comments
|
|
||||||
syn keyword i3Todo contained TODO FIXME XXX NOTE
|
|
||||||
syn match i3Comment "^\s*#.*$" contains=i3Todo
|
|
||||||
|
|
||||||
" Error (at end of line)
|
|
||||||
syn match i3Error ".*$" contained
|
|
||||||
|
|
||||||
" Hex color code
|
|
||||||
syn match i3ColorLast "#[0-9a-fA-F]\{6\}" contained nextgroup=i3Error skipwhite
|
|
||||||
syn match i3Color2nd "#[0-9a-fA-F]\{6\}" contained nextgroup=i3ColorLast skipwhite
|
|
||||||
syn match i3Color1st "#[0-9a-fA-F]\{6\}" contained nextgroup=i3Color2nd skipwhite
|
|
||||||
|
|
||||||
syn match i3ColorDef1 "client\.background\|statusline\|background\|separator\|statusline" nextgroup=i3ColorLast skipwhite
|
|
||||||
syn match i3ColorDef3 "client\.\(focused_inactive\|focused\|unfocused\|urgent\)\|inactive_workspace\|urgent_workspace\|focused_workspace\|active_workspace" nextgroup=i3Color1st skipwhite
|
|
||||||
|
|
||||||
highlight link i3ChainDelimiter Operator
|
|
||||||
highlight link i3Operators Operator
|
|
||||||
|
|
||||||
highlight link i3ExecCommand Special
|
|
||||||
highlight link i3QuotedExecCommand Special
|
|
||||||
highlight link i3StatusCommand Special
|
|
||||||
|
|
||||||
highlight link i3Param Constant
|
|
||||||
highlight link i3PseudoParam Constant
|
|
||||||
highlight link i3DashedParam Constant
|
|
||||||
highlight link i3NoStartupId Constant
|
|
||||||
highlight link i3Color1st Constant
|
|
||||||
highlight link i3Color2nd Constant
|
|
||||||
highlight link i3ColorLast Constant
|
|
||||||
highlight link i3WsSpecialParam Constant
|
|
||||||
highlight link i3BordersSpecialParam Constant
|
|
||||||
highlight link i3ModeParam Constant
|
|
||||||
highlight link i3GapsParam Constant
|
|
||||||
|
|
||||||
highlight link i3Var Identifier
|
|
||||||
highlight link i3SetVar Identifier
|
|
||||||
|
|
||||||
highlight link i3KeyModifier Function
|
|
||||||
|
|
||||||
highlight link i3SimpleString String
|
|
||||||
highlight link i3QuotedString String
|
|
||||||
highlight link i3WsName String
|
|
||||||
highlight link i3QuotedWsName String
|
|
||||||
highlight link i3SetValue String
|
|
||||||
highlight link i3Font String
|
|
||||||
|
|
||||||
highlight link i3ExecKeyword Keyword
|
|
||||||
highlight link i3Command Keyword
|
|
||||||
highlight link i3WsKeyword Keyword
|
|
||||||
highlight link i3GapsCommand Keyword
|
|
||||||
|
|
||||||
highlight link i3ColorDef1 Define
|
|
||||||
highlight link i3ColorDef3 Define
|
|
||||||
highlight link i3ConfigCommand Define
|
|
||||||
highlight link i3IpcSocket Define
|
|
||||||
highlight link i3SetKeyword Define
|
|
||||||
highlight link i3ModeKeyword Define
|
|
||||||
highlight link i3FontStatement Define
|
|
||||||
highlight link i3SeparatorSymbol Define
|
|
||||||
highlight link i3StatusCommandKeyword Define
|
|
||||||
highlight link i3BordersConfigCommand Define
|
|
||||||
|
|
||||||
highlight link i3Todo Todo
|
|
||||||
highlight link i3Comment Comment
|
|
||||||
highlight link i3Error Error
|
|
@ -1,262 +0,0 @@
|
|||||||
"
|
|
||||||
" _
|
|
||||||
" _ __ ___ _____ _(_)_ __ ___
|
|
||||||
" | '_ \ / _ \/ _ \ \ / / | '_ ` _ \
|
|
||||||
" | | | | __/ (_) \ V /| | | | | | |
|
|
||||||
" |_| |_|\___|\___/ \_/ |_|_| |_| |_|
|
|
||||||
"
|
|
||||||
|
|
||||||
"""""""""""
|
|
||||||
" Plugins "
|
|
||||||
"""""""""""
|
|
||||||
call plug#begin('~/.config/nvim/bundle')
|
|
||||||
Plug 'vbe0201/vimdiscord'
|
|
||||||
Plug 'https://github.com/w0rp/ale'
|
|
||||||
Plug 'https://github.com/captbaritone/better-indent-support-for-php-with-html'
|
|
||||||
Plug 'https://github.com/Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
|
||||||
Plug 'https://github.com/Shougo/deoplete-clangx'
|
|
||||||
Plug 'https://github.com/deoplete-plugins/deoplete-go', { 'do': 'make'}
|
|
||||||
Plug 'https://github.com/deoplete-plugins/deoplete-jedi'
|
|
||||||
Plug 'https://github.com/padawan-php/deoplete-padawan', { 'do': 'composer install' }
|
|
||||||
Plug 'https://github.com/carlitux/deoplete-ternjs'
|
|
||||||
Plug 'https://github.com/deoplete-plugins/deoplete-zsh'
|
|
||||||
Plug 'https://github.com/Shougo/neco-vim'
|
|
||||||
Plug 'https://github.com/Shougo/neoinclude.vim'
|
|
||||||
Plug 'https://github.com/editorconfig/editorconfig-vim'
|
|
||||||
Plug 'https://github.com/junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --bin' }
|
|
||||||
Plug 'https://github.com/junegunn/fzf.vim'
|
|
||||||
Plug 'https://github.com/scrooloose/nerdtree'
|
|
||||||
Plug 'https://github.com/junegunn/goyo.vim'
|
|
||||||
Plug '~/.config/nvim/bundle/i3-vim-syntax'
|
|
||||||
Plug 'https://github.com/itchyny/lightline.vim'
|
|
||||||
Plug 'https://github.com/vim-python/python-syntax'
|
|
||||||
Plug 'https://github.com/rafaqz/ranger.vim'
|
|
||||||
Plug '~/.config/nvim/bundle/lightline-biual'
|
|
||||||
Plug 'https://github.com/cakebaker/scss-syntax.vim'
|
|
||||||
Plug 'https://github.com/SirVer/ultisnips'
|
|
||||||
Plug 'https://github.com/honza/vim-snippets'
|
|
||||||
Plug 'https://github.com/romainl/vim-cool'
|
|
||||||
Plug 'https://github.com/tpope/vim-commentary'
|
|
||||||
Plug 'https://github.com/bfrg/vim-cpp-modern'
|
|
||||||
Plug 'https://github.com/tpope/vim-fugitive'
|
|
||||||
Plug 'https://github.com/shumphrey/fugitive-gitlab.vim'
|
|
||||||
Plug 'https://github.com/tpope/vim-rhubarb'
|
|
||||||
Plug 'https://github.com/itchyny/vim-gitbranch'
|
|
||||||
Plug 'https://github.com/fatih/vim-go', { 'do': ':GoUpdateBinaries' }
|
|
||||||
Plug 'https://github.com/jelera/vim-javascript-syntax'
|
|
||||||
Plug 'https://github.com/matze/vim-meson'
|
|
||||||
Plug 'https://github.com/tpope/vim-surround'
|
|
||||||
Plug 'https://github.com/tpope/vim-repeat'
|
|
||||||
Plug 'https://github.com/reedes/vim-pencil'
|
|
||||||
Plug 'https://github.com/tpope/vim-speeddating'
|
|
||||||
Plug 'https://github.com/cespare/vim-toml'
|
|
||||||
Plug 'raimondi/delimitmate'
|
|
||||||
Plug 'https://github.com/bronson/vim-trailing-whitespace'
|
|
||||||
|
|
||||||
call plug#end()
|
|
||||||
|
|
||||||
|
|
||||||
" Basic stuff
|
|
||||||
syntax on
|
|
||||||
filetype plugin indent on
|
|
||||||
set autoindent
|
|
||||||
set smarttab
|
|
||||||
set number number
|
|
||||||
set clipboard=unnamedplus
|
|
||||||
set inccommand=nosplit
|
|
||||||
set tabstop=4
|
|
||||||
set shiftwidth=4
|
|
||||||
set ignorecase
|
|
||||||
set smartcase
|
|
||||||
set undofile
|
|
||||||
set background=light
|
|
||||||
|
|
||||||
" Python paths, needed for virtualenvs
|
|
||||||
let g:python3_host_prog = '/usr/bin/python3'
|
|
||||||
let g:python_host_prog = '/usr/bin/python2'
|
|
||||||
|
|
||||||
" Colorscheme
|
|
||||||
hi LineNr ctermfg=3
|
|
||||||
hi CursorLineNr ctermfg=3
|
|
||||||
hi Statement ctermfg=3
|
|
||||||
hi Visual ctermbg=8
|
|
||||||
hi Search ctermbg=8
|
|
||||||
hi SpellBad ctermfg=0 ctermbg=1 cterm=underline
|
|
||||||
hi SpellCap ctermfg=0 ctermbg=2 cterm=underline
|
|
||||||
hi SpellRare ctermfg=0 ctermbg=3 cterm=underline
|
|
||||||
hi SpellLocal ctermfg=0 ctermbg=5 cterm=underline
|
|
||||||
hi Pmenu ctermbg=0 ctermfg=4
|
|
||||||
hi PmenuSel ctermbg=8 ctermfg=4
|
|
||||||
hi PmenuSbar ctermbg=0
|
|
||||||
hi DiffAdd ctermbg=2 ctermfg=0
|
|
||||||
hi DiffChange ctermbg=4 ctermfg=0
|
|
||||||
hi DiffDelete ctermbg=1 ctermfg=0
|
|
||||||
hi Folded ctermbg=8
|
|
||||||
hi FoldColumn ctermbg=8
|
|
||||||
hi SignColumn ctermbg=0 ctermfg=7
|
|
||||||
hi ALEWarning ctermbg=1 ctermfg=0
|
|
||||||
hi ALEErrorSign ctermbg=1 ctermfg=0
|
|
||||||
|
|
||||||
"================
|
|
||||||
" Plugin configs
|
|
||||||
"================
|
|
||||||
|
|
||||||
" Lightline - statusline
|
|
||||||
set noshowmode
|
|
||||||
let g:lightline = {
|
|
||||||
\ 'colorscheme': 'powerlineish',
|
|
||||||
\ 'active': {
|
|
||||||
\ 'left': [ [ 'mode' ],
|
|
||||||
\ [ 'readonly', 'filename', 'gitbranch' ],
|
|
||||||
\ [ 'modified' ] ],
|
|
||||||
\ 'right': [ [ 'filetype', 'fileencoding' ],
|
|
||||||
\ [ 'percent' ] ]
|
|
||||||
\ },
|
|
||||||
\ 'component_function': {
|
|
||||||
\ 'gitbranch': 'gitbranch#name'
|
|
||||||
\ },
|
|
||||||
\ }
|
|
||||||
|
|
||||||
" Deoplete - autocompletion
|
|
||||||
let g:deoplete#enable_at_startup = 1
|
|
||||||
if !exists('g:deoplete#omni#input_patterns')
|
|
||||||
let g:deoplete#omni#input_patterns = {}
|
|
||||||
endif
|
|
||||||
" deoplete-go
|
|
||||||
let g:deoplete#sources#go#gocode_binary = $GOPATH.'/bin/gocode'
|
|
||||||
" UltiSnips
|
|
||||||
call deoplete#custom#source('ultisnips', 'rank', 1000)
|
|
||||||
|
|
||||||
" ALE - Asynchronous Lint Engine
|
|
||||||
let g:ale_linters = {
|
|
||||||
\ 'c': ['ccls', 'clang'],
|
|
||||||
\ 'cpp': ['clang'],
|
|
||||||
\ 'javascript': ['eslint'],
|
|
||||||
\ 'php': ['php'],
|
|
||||||
\ 'python': ['pyls', 'flake8'],
|
|
||||||
\ 'sh': ['shellcheck'],
|
|
||||||
\ 'vim': ['vint'],
|
|
||||||
\}
|
|
||||||
let g:ale_fixers = {
|
|
||||||
\ '*': ['remove_trailing_lines', 'trim_whitespace'],
|
|
||||||
\ 'c': ['clang-format'],
|
|
||||||
\ 'cpp': ['clang-format'],
|
|
||||||
\ 'css': ['prettier'],
|
|
||||||
\ 'go': ['gofmt'],
|
|
||||||
\ 'html': ['prettier'],
|
|
||||||
\ 'javascript': ['prettier'],
|
|
||||||
\ 'json': ['prettier'],
|
|
||||||
\ 'php': ['prettier'],
|
|
||||||
\ 'python': ['black'],
|
|
||||||
\ 'scss': ['prettier'],
|
|
||||||
\ 'yaml': ['prettier'],
|
|
||||||
\}
|
|
||||||
" let g:ale_lint_on_text_changed = 'never'
|
|
||||||
|
|
||||||
" vim-go
|
|
||||||
let g:go_fmt_autosave = 0 "We use ALE for formatting
|
|
||||||
|
|
||||||
" Syntax highlighting
|
|
||||||
let g:python_highlight_all = 1
|
|
||||||
|
|
||||||
" vim-plug - plugin manager
|
|
||||||
" Fix https://github.com/junegunn/vim-plug/issues/502
|
|
||||||
let g:plug_threads = 1
|
|
||||||
|
|
||||||
" vim-pencil
|
|
||||||
let g:pencil#textwidth = 88
|
|
||||||
let g:pencil#wrapModeDefault = 'soft'
|
|
||||||
|
|
||||||
|
|
||||||
"===================
|
|
||||||
" 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
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
|
|
||||||
"==============
|
|
||||||
" Key Bindings
|
|
||||||
"==============
|
|
||||||
|
|
||||||
" Leader key
|
|
||||||
let mapleader = ' '
|
|
||||||
|
|
||||||
" When line overflows, it will go
|
|
||||||
" one _visual_ line and not actual
|
|
||||||
map j gj
|
|
||||||
map k gk
|
|
||||||
|
|
||||||
" gv reselects last selection
|
|
||||||
" so now you can indent with >>>>…
|
|
||||||
" without selecting again
|
|
||||||
xnoremap < <gv
|
|
||||||
xnoremap > >gv
|
|
||||||
|
|
||||||
" Tab Managment
|
|
||||||
map <C-t> :tabnew<CR>
|
|
||||||
map <C-w> :tabclose<CR>
|
|
||||||
nnoremap <Leader>k gT
|
|
||||||
nnoremap <Leader>j gt
|
|
||||||
|
|
||||||
" Complete with <TAB>
|
|
||||||
inoremap <silent><expr> <TAB> pumvisible() ? "\<C-n>" :
|
|
||||||
\ <SID>check_back_space() ? "\<TAB>" :
|
|
||||||
\ deoplete#mappings#manual_complete()
|
|
||||||
function! s:check_back_space() abort "{{{
|
|
||||||
let col = col('.') - 1
|
|
||||||
return !col || getline('.')[col - 1] =~? '\s'
|
|
||||||
endfunction"}}}
|
|
||||||
|
|
||||||
" Open Ranger, file manager
|
|
||||||
map <C-\> :RangerEdit<CR>
|
|
||||||
|
|
||||||
" ALE - Asynchronous Lint Engine
|
|
||||||
map <C-b> :ALEFix<CR>
|
|
||||||
map <Leader>g :ALEGoToDefinitionInSplit<CR>
|
|
||||||
map <Leader>G :ALEGoToDefinition<CR>
|
|
||||||
|
|
||||||
" Spell-check (English US and Polish)
|
|
||||||
map <F6> :setlocal spell! spelllang=en_us<CR>
|
|
||||||
map <F7> :setlocal spell! spelllang=pl<CR>
|
|
||||||
|
|
||||||
" Toggle Goyo, distraction free mode
|
|
||||||
map <F8> :Goyo<CR>
|
|
||||||
|
|
||||||
" Toggle Pencil, wrapping text
|
|
||||||
map <F9> :PencilToggle<CR>
|
|
||||||
|
|
||||||
" fzf, fuzzy finder
|
|
||||||
nnoremap <C-p> :Files<CR>
|
|
||||||
nnoremap <C-g> :GFiles<CR>
|
|
||||||
let g:fzf_action = {
|
|
||||||
\ 'ctrl-t': 'tab split',
|
|
||||||
\ 'ctrl-x': 'split',
|
|
||||||
\ 'ctrl-v': 'vsplit' }
|
|
||||||
|
|
||||||
" UltiSnips
|
|
||||||
let g:UltiSnipsExpandTrigger='<c-a>'
|
|
||||||
let g:UltiSnipsJumpForwardTrigger='<c-s>'
|
|
||||||
let g:UltiSnipsJumpBackwardTrigger='<c-q>'
|
|
||||||
|
|
||||||
" nerdtree
|
|
||||||
map <C-n> :NERDTreeToggle<CR>
|
|
||||||
|
|
||||||
"==Encoding==
|
|
||||||
scriptencoding utf-8
|
|
@ -1,181 +0,0 @@
|
|||||||
; _ _
|
|
||||||
; _ __ ___ | | _ _ | |__ __ _ _ __
|
|
||||||
; | '_ \ / _ \ | || | | || '_ \ / _` || '__|
|
|
||||||
; | |_) || (_) || || |_| || |_) || (_| || |
|
|
||||||
; | .__/ \___/ |_| \__, ||_.__/ \__,_||_|
|
|
||||||
; |_| |___/
|
|
||||||
|
|
||||||
;~~~~~~~~
|
|
||||||
; colors
|
|
||||||
;~~~~~~~~
|
|
||||||
[colors]
|
|
||||||
background = ${xrdb:background}
|
|
||||||
foreground = ${xrdb:foreground}
|
|
||||||
border = ${xrdb:border_unfocused}
|
|
||||||
|
|
||||||
;~~~~~
|
|
||||||
; bar
|
|
||||||
;~~~~~
|
|
||||||
[bar/polybarexe]
|
|
||||||
width = 100%
|
|
||||||
height = 23
|
|
||||||
fixed-center = true
|
|
||||||
|
|
||||||
font-0 = "DejaVu Sans Mono: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.background}
|
|
||||||
foreground = ${colors.foreground}
|
|
||||||
|
|
||||||
line-size = 3
|
|
||||||
line-color = #f00
|
|
||||||
|
|
||||||
border-size = 0
|
|
||||||
border-top-size = 0
|
|
||||||
border-bottom-size = 1
|
|
||||||
border-color = ${colors.border}
|
|
||||||
|
|
||||||
padding-left = 0
|
|
||||||
padding-right = 2
|
|
||||||
|
|
||||||
module-margin-left = 1
|
|
||||||
module-margin-right = 2
|
|
||||||
|
|
||||||
modules-left = i3
|
|
||||||
;modules-center = clock
|
|
||||||
modules-right = wireless-network battery clock
|
|
||||||
|
|
||||||
cursor-click = pointer
|
|
||||||
cursor-scroll = ns-resize
|
|
||||||
|
|
||||||
;~~~~~~~~~~~~
|
|
||||||
; workspaces
|
|
||||||
;~~~~~~~~~~~~
|
|
||||||
[module/i3]
|
|
||||||
type = internal/i3
|
|
||||||
pin-workspaces = true
|
|
||||||
strip-wsnumbers = true
|
|
||||||
index-sort = true
|
|
||||||
enable-click = true
|
|
||||||
fuzzy-match = true
|
|
||||||
format = <label-state><label-mode>
|
|
||||||
label-mode = %mode%
|
|
||||||
label-mode-padding = 2
|
|
||||||
|
|
||||||
label-focused = %index% %name%
|
|
||||||
label-focused-padding = 1
|
|
||||||
label-focused-background = ${colors.border}
|
|
||||||
label-focused-overline = ${colors.foreground}
|
|
||||||
|
|
||||||
label-unfocused = %index% %name%
|
|
||||||
label-unfocused-padding = 1
|
|
||||||
|
|
||||||
label-visible = %index% %name%
|
|
||||||
label-visible-padding = 1
|
|
||||||
|
|
||||||
label-urgent = %index% %name%
|
|
||||||
label-urgent-padding = 1
|
|
||||||
|
|
||||||
;~~~~~~
|
|
||||||
; WiFI
|
|
||||||
;~~~~~~
|
|
||||||
[module/wireless-network]
|
|
||||||
type = internal/network
|
|
||||||
interface = wlp8s0
|
|
||||||
|
|
||||||
format-connected = <ramp-signal> <label-connected>
|
|
||||||
format-packetloss = <animation-packetloss>
|
|
||||||
label-connected = %{A1:nm-connection-editor:}%essid%%{A}
|
|
||||||
label-disconnected = %{A1:networkmanager_dmenu& disown:}%{A3:networkmanager_dmenu& disown:} 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 system
|
|
||||||
;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 = ""
|
|
||||||
|
|
||||||
;~~~~~~~~~
|
|
||||||
; 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
|
|
||||||
|
|
||||||
[settings]
|
|
||||||
screenchange-reload = true
|
|
||||||
|
|
||||||
[global/wm]
|
|
||||||
margin-top = 0
|
|
||||||
margin-bottom = 0
|
|
||||||
|
|
||||||
; vim:ft=dosini
|
|
@ -1,4 +0,0 @@
|
|||||||
set show_hidden true
|
|
||||||
set preview_images true
|
|
||||||
set preview_images_method urxvt
|
|
||||||
default_linemode devicons
|
|
40
.zshrc
40
.zshrc
@ -1,40 +0,0 @@
|
|||||||
# _
|
|
||||||
# ____ ___ | |__
|
|
||||||
# |_ // __|| '_ \
|
|
||||||
# / / \__ \| | | |
|
|
||||||
# /___||___/|_| |_|
|
|
||||||
|
|
||||||
#~~~~~~~~~~~
|
|
||||||
# Oh-My-ZSH
|
|
||||||
#~~~~~~~~~~~
|
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
|
||||||
|
|
||||||
#~~~~~~~
|
|
||||||
# Theme
|
|
||||||
#~~~~~~~
|
|
||||||
ZSH_THEME='bira'
|
|
||||||
|
|
||||||
#~~~~~~~~~
|
|
||||||
# Plugins
|
|
||||||
#~~~~~~~~~
|
|
||||||
plugins=(
|
|
||||||
zsh-syntax-highlighting
|
|
||||||
vi-mode
|
|
||||||
command-not-found
|
|
||||||
git-open
|
|
||||||
git
|
|
||||||
)
|
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
|
||||||
|
|
||||||
#~~~~~~~~~
|
|
||||||
# Aliases
|
|
||||||
#~~~~~~~~~
|
|
||||||
alias vi="nvim"
|
|
||||||
alias suvi='sudo -E nvim'
|
|
||||||
alias ncm="ncmpcpp"
|
|
||||||
alias mutt='neomutt'
|
|
||||||
|
|
||||||
#yay
|
|
||||||
alias owo="yay"
|
|
||||||
alias up='yay -Syyu'
|
|
40
README.md
40
README.md
@ -5,24 +5,34 @@
|
|||||||
| |_) || || |_| || (_| || | _| (__| (_) || | | || _|
|
| |_) || || |_| || (_| || | _| (__| (_) || | | || _|
|
||||||
|_.__/ |_| \__,_| \__,_||_|(_)\___|\___/ |_| |_||_|
|
|_.__/ |_| \__,_| \__,_||_|(_)\___|\___/ |_| |_||_|
|
||||||
```
|
```
|
||||||
|
**B**tw. **I** **u**se **A**rch **L**inux
|
||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
To install setup go to repo on your disk and use `./installer.py` script.
|
To install setup clone repo to your disk, switch folder and use `python3 installer/dotman`.
|
||||||
|
|
||||||
## My setup
|
## Hot stuff:
|
||||||
* distro: arch linux
|
|
||||||
|
* os: arch linux
|
||||||
|
* wm: bspwm
|
||||||
|
* shortcuts manager: sxhkd
|
||||||
* browser: qutebrowser
|
* browser: qutebrowser
|
||||||
* terminal: st
|
|
||||||
* file manager: ranger
|
|
||||||
* app menu: dmenu
|
|
||||||
* text editor: neovim
|
|
||||||
* window manager: i3
|
|
||||||
* status bar: polybar
|
|
||||||
* mail client: neomutt
|
|
||||||
* aur helper: yay
|
|
||||||
* shell: zsh
|
* shell: zsh
|
||||||
* music client: mopidy
|
* bar: polybar
|
||||||
|
* text editor: neovim
|
||||||
|
* bittorrent client: transmission-cli
|
||||||
|
* password manager: keepassxc-cli
|
||||||
|
* compositor: picom
|
||||||
|
* notify daemon: dunst
|
||||||
|
* music daemon: mpd
|
||||||
* music player: ncmpcpp
|
* music player: ncmpcpp
|
||||||
|
* app menu: rofi
|
||||||
|
* package manager/aur helper: yay
|
||||||
|
* audio drivers: alsa
|
||||||
|
* terminal emulator: st
|
||||||
|
* video player: vlc
|
||||||
|
* ascii generator: figlet
|
||||||
|
* file manager: vifm
|
||||||
|
|
||||||
## Screenshots
|
```
|
||||||
![screenshot1](https://i.imgur.com/9P8gYws.png)
|
work in progress
|
||||||
![screenshot2](https://i.imgur.com/0jnVIOQ.png)
|
```
|
||||||
|
32
botfiles/.aliases
Normal file
32
botfiles/.aliases
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
#!/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'
|
||||||
|
alias uwu="yay -Slq | fzf -m --preview 'yay -Si {1}' | yay -S -"
|
||||||
|
alias pass='keepassxc-cli open ~/Passwords/keepass.kdbx'
|
||||||
|
alias torrent='transmission-cli'
|
||||||
|
alias ascii='figlet'
|
||||||
|
alias sudo='SUDO_ASKPASS=/usr/bin/systemd-ask-password sudo -A'
|
||||||
|
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'
|
55
botfiles/.config/autostart/autostart.sh
Executable file
55
botfiles/.config/autostart/autostart.sh
Executable file
@ -0,0 +1,55 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# _ _ _
|
||||||
|
# __ _ _ _| |_ ___ ___| |_ __ _ _ __| |_
|
||||||
|
# / _` | | | | __/ _ \/ __| __/ _` | '__| __|
|
||||||
|
# | (_| | |_| | || (_) \__ \ || (_| | | | |_
|
||||||
|
# \__,_|\__,_|\__\___/|___/\__\__,_|_| \__|
|
||||||
|
|
||||||
|
#~~~~~~
|
||||||
|
# APPS
|
||||||
|
#~~~~~~
|
||||||
|
# MPD
|
||||||
|
killall -q mpd
|
||||||
|
while pgrep -u $UID -x mpd >/dev/null; do sleep 1; done
|
||||||
|
mpd &
|
||||||
|
# POLYBAR
|
||||||
|
killall -q polybar
|
||||||
|
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||||
|
polybar polybarexe &
|
||||||
|
# SXHKD
|
||||||
|
killall -q sxhkd
|
||||||
|
while pgrep -u $UID -x sxhkd >/dev/null; do sleep 1; done
|
||||||
|
sxhkd &
|
||||||
|
# DUNST
|
||||||
|
killall -q dunst
|
||||||
|
while pgrep -u $UID -x dunst >/dev/null; do sleep 1; done
|
||||||
|
dunst &
|
||||||
|
# LXSESSION
|
||||||
|
killall -q lxsession
|
||||||
|
while pgrep -u $UID -x lxsession >/dev/null; do sleep 1; done
|
||||||
|
lxsession &
|
||||||
|
# PICOM
|
||||||
|
killall -q picom
|
||||||
|
while pgrep -u $UID -x picom >/dev/null; do sleep 1; done
|
||||||
|
picom &
|
||||||
|
# DISCORD
|
||||||
|
#killall -q discord
|
||||||
|
#while pgrep -u $UID -x discord >/dev/null; do sleep 1; done
|
||||||
|
#discord &
|
||||||
|
# TELEGRAM
|
||||||
|
killall -q telegram-desktop
|
||||||
|
while pgrep -u $UID -x telegram-desktop >/dev/null; do sleep 1; done
|
||||||
|
telegram-desktop &
|
||||||
|
|
||||||
|
#~~~~~~~
|
||||||
|
# OTHER
|
||||||
|
#~~~~~~~
|
||||||
|
# Welcome notify
|
||||||
|
dunstify "Hello ${USER}!"
|
||||||
|
# Wallpaper
|
||||||
|
feh --bg-fill /home/samedamci/Pictures/wall &
|
||||||
|
# Keyboard layout & key swaping
|
||||||
|
setxkbmap -layout 'pl' -option caps:swapescape &
|
||||||
|
# Cursor
|
||||||
|
xsetroot -cursor_name left_ptr & # change the cursor shape from "x" to normal
|
||||||
|
# Chown brightness file
|
34
botfiles/.config/bspwm/bspwmrc
Executable file
34
botfiles/.config/bspwm/bspwmrc
Executable file
@ -0,0 +1,34 @@
|
|||||||
|
#!/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 2
|
||||||
|
bspc config window_gap 6
|
||||||
|
|
||||||
|
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 &
|
||||||
|
|
||||||
|
|
162
botfiles/.config/dunst/dunstrc
Normal file
162
botfiles/.config/dunst/dunstrc
Normal file
@ -0,0 +1,162 @@
|
|||||||
|
# _ _
|
||||||
|
# __| |_ _ _ __ ___| |_
|
||||||
|
# / _` | | | | '_ \/ __| __|
|
||||||
|
# | (_| | |_| | | | \__ \ |_
|
||||||
|
# \__,_|\__,_|_| |_|___/\__|
|
||||||
|
|
||||||
|
[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 = "#66"
|
||||||
|
#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 = "#cccccc"1
|
||||||
|
frame_color = "#dfdfdf"
|
||||||
|
timeout = 5
|
||||||
|
# Icon for notifications with low urgency, uncomment to enable
|
||||||
|
#icon = ~/.local/share/arch.png
|
||||||
|
|
||||||
|
[urgency_normal]
|
||||||
|
background = "#0a0200"
|
||||||
|
foreground = "#cccccc"
|
||||||
|
frame_color = "#dfdfdf"
|
||||||
|
timeout = 5
|
||||||
|
|
||||||
|
[urgency_critical]
|
||||||
|
background = "#10a0200"
|
||||||
|
foreground = "#cccccc"
|
||||||
|
frame_color = "#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
|
11
botfiles/.config/gtk-2.0/gtkfilechooser.ini
Normal file
11
botfiles/.config/gtk-2.0/gtkfilechooser.ini
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Filechooser Settings]
|
||||||
|
LocationMode=path-bar
|
||||||
|
ShowHidden=false
|
||||||
|
ShowSizeColumn=true
|
||||||
|
GeometryX=263
|
||||||
|
GeometryY=81
|
||||||
|
GeometryWidth=840
|
||||||
|
GeometryHeight=630
|
||||||
|
SortColumn=name
|
||||||
|
SortOrder=ascending
|
||||||
|
StartupMode=recent
|
16
botfiles/.config/gtk-3.0/settings.ini
Normal file
16
botfiles/.config/gtk-3.0/settings.ini
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[Settings]
|
||||||
|
gtk-theme-name=AdwaitaDark
|
||||||
|
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
|
17
botfiles/.config/homepage/index.html
Normal file
17
botfiles/.config/homepage/index.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<!DOCTYPE HTML>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<link rel="stylesheet" type="text/css" href="./style.css">
|
||||||
|
<title>Home</title>
|
||||||
|
</head>
|
||||||
|
<body background="/home/samedamci/Pictures/wall">
|
||||||
|
<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">
|
||||||
|
<div class="bmark"><p><a href="https://reddit.com/">redd.it</a></p></div>
|
||||||
|
<div class="bmark"><p><a href="https://wiki.archlinux.org/">arch wiki</a></p></div>
|
||||||
|
<div class="bmark"><p><a href="https://invidio.us/">invidio.us</a></p></div>
|
||||||
|
<div class="bmark"></div>
|
||||||
|
</div>
|
||||||
|
</body>
|
32
botfiles/.config/homepage/style.css
Normal file
32
botfiles/.config/homepage/style.css
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
* {
|
||||||
|
font-family: Monospace;
|
||||||
|
text-align: center;
|
||||||
|
color: #dfdfdf;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar input {
|
||||||
|
background: rgba(10, 2, 0, 0.9);
|
||||||
|
border: none;
|
||||||
|
width: 100%;
|
||||||
|
height: 35px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar {
|
||||||
|
margin: 50px auto 0px auto;
|
||||||
|
width: 70%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#bookmarks {
|
||||||
|
height: 40px;
|
||||||
|
width: 70%;
|
||||||
|
margin: 15px auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bmark {
|
||||||
|
background: rgba(10, 2, 0, 0.9);
|
||||||
|
width: 228px;
|
||||||
|
height: 100%;
|
||||||
|
float: left;
|
||||||
|
margin-left: 3px;
|
||||||
|
}
|
BIN
botfiles/.config/mpd/database
Normal file
BIN
botfiles/.config/mpd/database
Normal file
Binary file not shown.
34
botfiles/.config/mpd/mpd.conf
Normal file
34
botfiles/.config/mpd/mpd.conf
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# 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 "~/SD/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"
|
1620
botfiles/.config/mpd/mpd.log
Normal file
1620
botfiles/.config/mpd/mpd.log
Normal file
File diff suppressed because it is too large
Load Diff
1
botfiles/.config/mpd/pid
Normal file
1
botfiles/.config/mpd/pid
Normal file
@ -0,0 +1 @@
|
|||||||
|
1140
|
28
botfiles/.config/mpd/state
Normal file
28
botfiles/.config/mpd/state
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
sw_volume: 100
|
||||||
|
audio_device_state:1:Fifo visualisation
|
||||||
|
audio_device_state:1:Alsa for audio sound card
|
||||||
|
state: stop
|
||||||
|
current: 2
|
||||||
|
random: 1
|
||||||
|
repeat: 0
|
||||||
|
single: 0
|
||||||
|
consume: 0
|
||||||
|
crossfade: 0
|
||||||
|
mixrampdb: 0.000000
|
||||||
|
mixrampdelay: -1.000000
|
||||||
|
playlist_begin
|
||||||
|
0:095 TLC.flac
|
||||||
|
1:001 Cantate Tutti.flac
|
||||||
|
2:005 Trofea.flac
|
||||||
|
3:006 Nie Ma Fal.flac
|
||||||
|
4:#FREEBIALAS.flac
|
||||||
|
5:03 Subwoofer Lullaby.flac
|
||||||
|
6:01 Jumpsuit.flac
|
||||||
|
7:Cashew-1616442.flac
|
||||||
|
8:Cashew-1616442.flac
|
||||||
|
9:003 Małomiasteczkowy.flac
|
||||||
|
10:003 Małomiasteczkowy.flac
|
||||||
|
11:$$$.flac
|
||||||
|
12:01 Key.flac
|
||||||
|
13:026 Zorza.flac
|
||||||
|
playlist_end
|
BIN
botfiles/.config/mpd/sticker.sql
Normal file
BIN
botfiles/.config/mpd/sticker.sql
Normal file
Binary file not shown.
82
botfiles/.config/ncmpcpp/bindings
Normal file
82
botfiles/.config/ncmpcpp/bindings
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
# _ _ _ _
|
||||||
|
# | |__ (_)_ __ __| (_)_ __ __ _ ___
|
||||||
|
# | '_ \| | '_ \ / _` | | '_ \ / _` / __|
|
||||||
|
# | |_) | | | | | (_| | | | | | (_| \__ \
|
||||||
|
# |_.__/|_|_| |_|\__,_|_|_| |_|\__, |___/
|
||||||
|
# |___/
|
||||||
|
|
||||||
|
# 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
|
71
botfiles/.config/ncmpcpp/config
Normal file
71
botfiles/.config/ncmpcpp/config
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
# _ __ ___ _ __ ___ _ __ ___ _ __ _ __
|
||||||
|
# | '_ \ / __| '_ ` _ \| '_ \ / __| '_ \| '_ \
|
||||||
|
# | | | | (__| | | | | | |_) | (__| |_) | |_) |
|
||||||
|
# |_| |_|\___|_| |_| |_| .__/ \___| .__/| .__/
|
||||||
|
# |_| |_| |_|
|
||||||
|
|
||||||
|
#~~~~~~~~~
|
||||||
|
# GENERAL
|
||||||
|
#~~~~~~~~~
|
||||||
|
mpd_music_dir = "~/SD/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
|
0
botfiles/.config/ncmpcpp/error.log
Normal file
0
botfiles/.config/ncmpcpp/error.log
Normal file
764
botfiles/.config/neofetch/config.conf
Normal file
764
botfiles/.config/neofetch/config.conf
Normal file
@ -0,0 +1,764 @@
|
|||||||
|
# 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"
|
12
botfiles/.config/nvim/.netrwhist
Normal file
12
botfiles/.config/nvim/.netrwhist
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
let g:netrw_dirhistmax =10
|
||||||
|
let g:netrw_dirhistcnt =4
|
||||||
|
let g:netrw_dirhist_4='/home/samedamci/.config/dunst'
|
||||||
|
let g:netrw_dirhist_3='/home/samedamci/.config/ncmpcpp'
|
||||||
|
let g:netrw_dirhist_2='/home/samedamci/.config/zsh'
|
||||||
|
let g:netrw_dirhist_1='/home/samedamci/.config/rofi'
|
||||||
|
let g:netrw_dirhist_0='/home/samedamci/.config/autostart'
|
||||||
|
let g:netrw_dirhist_9='/home/samedamci/.config/sxhkd'
|
||||||
|
let g:netrw_dirhist_8='/home/samedamci/.conf'
|
||||||
|
let g:netrw_dirhist_7='/home/samedamci/.config/bspwm'
|
||||||
|
let g:netrw_dirhist_6='/home/samedamci/.config/sxhkd'
|
||||||
|
let g:netrw_dirhist_5='/home/samedamci/.config/mpd'
|
2597
botfiles/.config/nvim/autoload/plug.vim
Normal file
2597
botfiles/.config/nvim/autoload/plug.vim
Normal file
File diff suppressed because it is too large
Load Diff
393
botfiles/.config/nvim/init.vim
Normal file
393
botfiles/.config/nvim/init.vim
Normal file
@ -0,0 +1,393 @@
|
|||||||
|
" _
|
||||||
|
" _ __ ___ _____ _(_)_ __ ___
|
||||||
|
" | '_ \ / _ \/ _ \ \ / / | '_ ` _ \
|
||||||
|
" | | | | __/ (_) \ V /| | | | | | |
|
||||||
|
" |_| |_|\___|\___/ \_/ |_|_| |_| |_|
|
||||||
|
"
|
||||||
|
|
||||||
|
"===========================
|
||||||
|
" Load vim-plug for 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')
|
||||||
|
|
||||||
|
" Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
|
||||||
|
Plug '~/.fzf'
|
||||||
|
Plug 'junegunn/fzf.vim'
|
||||||
|
Plug 'scrooloose/nerdtree'
|
||||||
|
|
||||||
|
Plug 'dense-analysis/ale'
|
||||||
|
|
||||||
|
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||||
|
Plug 'tbodt/deoplete-tabnine', { 'do': './install.sh' }
|
||||||
|
Plug 'Shougo/deoplete-clangx'
|
||||||
|
" Plug 'https://github.com/Shougo/neco-vim'
|
||||||
|
" Plug 'https://github.com/Shougo/neoinclude.vim'
|
||||||
|
Plug 'deoplete-plugins/deoplete-jedi'
|
||||||
|
Plug 'deoplete-plugins/deoplete-zsh'
|
||||||
|
Plug 'deoplete-plugins/deoplete-go', { 'do': 'make'}
|
||||||
|
Plug 'ervandew/supertab'
|
||||||
|
|
||||||
|
Plug 'SirVer/ultisnips'
|
||||||
|
Plug 'honza/vim-snippets'
|
||||||
|
|
||||||
|
Plug 'mattn/emmet-vim'
|
||||||
|
|
||||||
|
Plug 'airblade/vim-gitgutter'
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
|
||||||
|
Plug '~/.config/nvim/bundle/vim-trailing-whitespace'
|
||||||
|
Plug 'tpope/vim-surround'
|
||||||
|
Plug 'tpope/vim-commentary'
|
||||||
|
Plug 'jiangmiao/auto-pairs'
|
||||||
|
|
||||||
|
Plug 'itchyny/lightline.vim'
|
||||||
|
"Plug '~/.config/nvim/bundle/lightline-simple/'
|
||||||
|
|
||||||
|
Plug 'sheerun/vim-polyglot'
|
||||||
|
Plug 'luochen1990/rainbow'
|
||||||
|
|
||||||
|
Plug 'christoomey/vim-tmux-navigator'
|
||||||
|
Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
|
||||||
|
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
"=============
|
||||||
|
" Basic stuff
|
||||||
|
"=============
|
||||||
|
syntax on
|
||||||
|
filetype plugin indent on
|
||||||
|
set scrolloff=5
|
||||||
|
set pumheight=10
|
||||||
|
set autoindent
|
||||||
|
set smarttab
|
||||||
|
set number number
|
||||||
|
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
|
||||||
|
|
||||||
|
" Restore cursor position
|
||||||
|
function! ResCur()
|
||||||
|
if line("'\"") <= line("$")
|
||||||
|
normal! g`"
|
||||||
|
return 1
|
||||||
|
endif
|
||||||
|
endfunction
|
||||||
|
augroup resCur
|
||||||
|
autocmd!
|
||||||
|
autocmd BufWinEnter * call ResCur()
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
"=============
|
||||||
|
" Colorscheme
|
||||||
|
"=============
|
||||||
|
hi LineNr ctermbg=0 ctermfg=6 cterm=NONE
|
||||||
|
hi CursorLineNr ctermbg=0 ctermfg=5 cterm=bold
|
||||||
|
hi ColorColumn ctermbg=0 ctermfg=1 cterm=undercurl
|
||||||
|
hi SignColumn ctermfg=7
|
||||||
|
hi VertSplit ctermbg=8 ctermfg=0
|
||||||
|
|
||||||
|
hi Comment ctermfg=4
|
||||||
|
hi String ctermfg=1
|
||||||
|
|
||||||
|
hi Visual ctermbg=8
|
||||||
|
hi Search ctermbg=8 cterm=bold,reverse
|
||||||
|
hi MatchParen ctermbg=0 ctermfg=3 cterm=bold
|
||||||
|
hi Statement ctermfg=3
|
||||||
|
|
||||||
|
hi ErrorMsg ctermbg=0 ctermfg=1
|
||||||
|
hi Error ctermbg=1 ctermfg=0 cterm=undercurl
|
||||||
|
|
||||||
|
hi SpellBad ctermbg=1 ctermfg=0 cterm=undercurl
|
||||||
|
hi SpellCap ctermbg=2 ctermfg=0 cterm=undercurl
|
||||||
|
hi SpellRare ctermbg=3 ctermfg=0 cterm=undercurl
|
||||||
|
hi SpellLocal ctermbg=5 ctermfg=0 cterm=undercurl
|
||||||
|
|
||||||
|
hi DiffAdd ctermbg=2 ctermfg=0
|
||||||
|
hi DiffChange ctermbg=4 ctermfg=0
|
||||||
|
hi DiffDelete ctermbg=1 ctermfg=0
|
||||||
|
hi DiffText ctermbg=4 ctermfg=0
|
||||||
|
|
||||||
|
hi Folded ctermbg=8
|
||||||
|
hi FoldColumn ctermbg=8
|
||||||
|
|
||||||
|
hi Pmenu ctermbg=0 ctermfg=4
|
||||||
|
hi PmenuSel ctermbg=8 ctermfg=4
|
||||||
|
hi PmenuThumb ctermbg=8 ctermfg=8
|
||||||
|
hi PmenuSbar ctermbg=0 ctermfg=0
|
||||||
|
|
||||||
|
" Highlight current line
|
||||||
|
hi CursorLine ctermbg=8 cterm=NONE
|
||||||
|
hi CursorColumn ctermbg=8 cterm=NONE
|
||||||
|
augroup CursorLine
|
||||||
|
au!
|
||||||
|
"au VimEnter,WinEnter,BufWinEnter * setlocal cursorcolumn
|
||||||
|
au VimEnter,WinEnter,BufWinEnter * setlocal cursorline
|
||||||
|
au WinLeave * setlocal nocursorline
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
" Statusline
|
||||||
|
set laststatus=2
|
||||||
|
hi StatusLine ctermbg=8 ctermfg=blue cterm=NONE
|
||||||
|
hi StatusLineNC ctermbg=8 ctermfg=blue cterm=NONE
|
||||||
|
hi User1 ctermbg=NONE ctermfg=blue
|
||||||
|
hi User2 ctermbg=NONE ctermfg=blue
|
||||||
|
hi User3 ctermbg=NONE ctermfg=blue
|
||||||
|
hi User4 ctermbg=8 ctermfg=blue
|
||||||
|
set statusline+=\ %y " File type
|
||||||
|
set statusline+=\ %1*\ " Padding & switch colour
|
||||||
|
set statusline+=%t\ " File name
|
||||||
|
set statusline+=%M " Modified flag
|
||||||
|
set statusline+=\ %2*\ " Padding & switch colour
|
||||||
|
set statusline+=%= " Switch to right-side
|
||||||
|
set statusline+=\ %3*\ " Padding & switch colour
|
||||||
|
set statusline+=%p%% " Current line
|
||||||
|
set statusline+=\ %4*\ " Padding & switch colour
|
||||||
|
set statusline+=%{&fileencoding?&fileencoding:&encoding}\ " File coding
|
||||||
|
|
||||||
|
" Lightline - statusline
|
||||||
|
hi StatusLine ctermbg=8 ctermfg=4 cterm=NONE
|
||||||
|
hi StatusLineNC ctermbg=8 ctermfg=4 cterm=NONE
|
||||||
|
set noshowmode
|
||||||
|
|
||||||
|
let g:lightline = {
|
||||||
|
\ 'colorscheme': 'seoul256',
|
||||||
|
\ 'active': {
|
||||||
|
\ 'left': [ [ 'mode' ],
|
||||||
|
\ [ 'readonly', 'filename', 'gitbranch' ],
|
||||||
|
\ [ 'modified' ] ],
|
||||||
|
\ 'right': [ [ 'filetype', 'fileencoding' ],
|
||||||
|
\ [ 'percent' ] ]
|
||||||
|
\ },
|
||||||
|
\ 'component_function': {
|
||||||
|
\ 'gitbranch': 'fugitive#head'
|
||||||
|
\ },
|
||||||
|
\ }
|
||||||
|
|
||||||
|
"================
|
||||||
|
" Plugin configs
|
||||||
|
"================
|
||||||
|
" ALE - Asynchronous Lint Engine
|
||||||
|
hi ALEWarning cterm=undercurl
|
||||||
|
hi ALEError cterm=undercurl
|
||||||
|
hi ALEWarningSign ctermbg=0 ctermfg=3 cterm=bold
|
||||||
|
hi ALEErrorSign ctermbg=0 ctermfg=1 cterm=bold
|
||||||
|
|
||||||
|
let g:ale_linters = {
|
||||||
|
\ 'c': ['ccls', 'clang'],
|
||||||
|
\ 'cpp': ['ccls', 'clang'],
|
||||||
|
\ 'javascript': ['eslint'],
|
||||||
|
\ 'php': ['php'],
|
||||||
|
\ 'python': ['pyls', 'flake8'],
|
||||||
|
\ 'sh': ['language_server', 'shellcheck', 'shell'],
|
||||||
|
\ 'zsh': ['language_server', 'shellcheck', 'shell'],
|
||||||
|
\ 'go': ['gofmt'],
|
||||||
|
\}
|
||||||
|
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': ['black'],
|
||||||
|
\ 'scss': ['prettier'],
|
||||||
|
\ 'yaml': ['prettier'],
|
||||||
|
\}
|
||||||
|
|
||||||
|
" fzf colors
|
||||||
|
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'] }
|
||||||
|
|
||||||
|
" Default fzf layout
|
||||||
|
let g:fzf_layout = { 'down': '~50%' }
|
||||||
|
|
||||||
|
" Python paths, needed for virtualenvs
|
||||||
|
let g:python3_host_prog = '/usr/bin/python3'
|
||||||
|
let g:python_host_prog = '/usr/bin/python2'
|
||||||
|
|
||||||
|
" Go - $ go get -u github.com/stamblerre/gocode
|
||||||
|
let g:deoplete#sources#go#gocode_binary = "$HOME/go/bin/gocode"
|
||||||
|
|
||||||
|
" LaTeX
|
||||||
|
let g:livepreview_previewer = 'zathura'
|
||||||
|
|
||||||
|
" Enable "Rainbow Parentheses Improved"
|
||||||
|
let g:rainbow_active = 1
|
||||||
|
|
||||||
|
" Whitspace
|
||||||
|
let g:extra_whitespace_ignored_filetypes = [ 'help', 'vim-plug' ]
|
||||||
|
|
||||||
|
" GitGutter
|
||||||
|
set updatetime=1000
|
||||||
|
hi GitGutterChange ctermbg=0 ctermfg=3 cterm=bold
|
||||||
|
hi GitGutterAdd ctermbg=0 ctermfg=2 cterm=bold
|
||||||
|
hi GitGutterDelete ctermbg=0 ctermfg=1 cterm=bold
|
||||||
|
hi GitGutterChangeDelete ctermbg=0 ctermfg=5 cterm=bold
|
||||||
|
|
||||||
|
" Open Nerd Tree if no files were specified
|
||||||
|
autocmd StdinReadPre * let s:std_in=1
|
||||||
|
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
||||||
|
|
||||||
|
" Emmet settings
|
||||||
|
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 - autocompletion
|
||||||
|
let g:deoplete#enable_at_startup = 1
|
||||||
|
set completeopt-=preview
|
||||||
|
|
||||||
|
call deoplete#custom#source('ultisnips', 'rank', 1000)
|
||||||
|
|
||||||
|
" AutoPairs
|
||||||
|
let g:AutoPairs={'(':')', '[':']', '{':'}', "'":"'", '"':'"', "`":"`", '```':'```', '"""':'"""', "'''":"'''"} "'<':'>',
|
||||||
|
|
||||||
|
"On startup, go to the last changes
|
||||||
|
"au BufEnter * :'.
|
||||||
|
|
||||||
|
" If you want :UltiSnipsEdit to split your window.
|
||||||
|
" let g:UltiSnipsEditSplit="vertical"
|
||||||
|
|
||||||
|
"===================
|
||||||
|
" 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
|
||||||
|
|
||||||
|
"==============
|
||||||
|
" Key Bindings
|
||||||
|
"==============
|
||||||
|
" Leader key
|
||||||
|
let mapleader = ' '
|
||||||
|
|
||||||
|
" enable/disable deoplete
|
||||||
|
map <Leader>d :call deoplete#toggle()<CR>
|
||||||
|
|
||||||
|
" gitgutter maping
|
||||||
|
map <Leader>gt :GitGutterToggle<CR>
|
||||||
|
nmap gn <Plug>(GitGutterNextHunk)
|
||||||
|
nmap gN <Plug>(GitGutterPrevHunk)
|
||||||
|
nmap gs <Plug>(GitGutterStageHunk)
|
||||||
|
nmap gu <Plug>(GitGutterUndoHunk)
|
||||||
|
nmap gp <Plug>(GitGutterPreviewHunk)
|
||||||
|
|
||||||
|
" Disable hlsearch
|
||||||
|
map <C-s> :noh<CR>
|
||||||
|
|
||||||
|
" Go to last change
|
||||||
|
map <Leader>l :'.<CR>
|
||||||
|
|
||||||
|
" Complete with <TAB>
|
||||||
|
" inoremap <expr> <silent> <Tab> pumvisible()?"\<C-n>":"\<TAB>"
|
||||||
|
" inoremap <expr> <silent> <S-TAB> pumvisible()?"\<C-p>":"\<S-TAB>"
|
||||||
|
|
||||||
|
" When line overflows, it will go
|
||||||
|
" one _visual_ line and not actual
|
||||||
|
map j gj
|
||||||
|
map k gk
|
||||||
|
|
||||||
|
" fzf, fuzzy finder
|
||||||
|
nnoremap <C-p> :Files<CR>
|
||||||
|
nnoremap <C-g> :GFiles<CR>
|
||||||
|
let g:fzf_action = {
|
||||||
|
\ 'ctrl-t': 'tab split',
|
||||||
|
\ 'ctrl-x': 'split',
|
||||||
|
\ 'ctrl-v': 'vsplit' }
|
||||||
|
|
||||||
|
imap <c-x><c-k> <plug>(fzf-complete-word)
|
||||||
|
imap <c-x><c-f> <plug>(fzf-complete-path)
|
||||||
|
imap <c-x><c-j> <plug>(fzf-complete-file-ag)
|
||||||
|
imap <c-x><c-l> <plug>(fzf-complete-line)
|
||||||
|
|
||||||
|
map <C-n> :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
" SuperTab
|
||||||
|
let g:SuperTabMappingTabLiteral = '<a-tab>'
|
||||||
|
let g:SuperTabDefaultCompletionType = 'context'
|
||||||
|
let g:SuperTabContextDefaultCompletionType = '<c-n>'
|
||||||
|
|
||||||
|
" LaTeX
|
||||||
|
map <Leader>l :LLPStartPreview<CR>
|
||||||
|
|
||||||
|
" ALE - Asynchronous Lint Engine
|
||||||
|
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>
|
||||||
|
|
||||||
|
" Tab Managment
|
||||||
|
map <C-o> :tabnew<CR>
|
||||||
|
map <C-c> :tabclose<CR>
|
||||||
|
nnoremap <Leader>k gT
|
||||||
|
nnoremap <Leader>j gt
|
||||||
|
|
||||||
|
" Split Managment
|
||||||
|
nnoremap <C-j> <C-w><C-j>
|
||||||
|
nnoremap <C-k> <C-w><C-k>
|
||||||
|
nnoremap <C-l> <C-w><C-l>
|
||||||
|
nnoremap <C-h> <C-w><C-h>
|
||||||
|
|
||||||
|
" Spell-check (English US and Polish)
|
||||||
|
map <F6> :setlocal spell! spelllang=en_us<CR>
|
||||||
|
map <F7> :setlocal spell! spelllang=pl<CR>
|
||||||
|
|
||||||
|
" Sudo read-only file
|
||||||
|
cnoremap sudow w !sudo tee % >/dev/null
|
||||||
|
|
||||||
|
" Open terminal
|
||||||
|
map <C-A-t> :vsplit term://zsh<CR>
|
||||||
|
|
||||||
|
" Exit from terminal mode
|
||||||
|
tnoremap <C-e> <C-\><C-n>
|
||||||
|
|
||||||
|
" UltiSnips
|
||||||
|
let g:UltiSnipsExpandTrigger='<C-z>'
|
||||||
|
let g:UltiSnipsJumpForwardTrigger='<C-s>'
|
||||||
|
let g:UltiSnipsJumpBackwardTrigger='<C-g>'
|
||||||
|
let g:UltiSnipsListSnippets='<C-p>'
|
||||||
|
|
||||||
|
"==Encoding==
|
||||||
|
scriptencoding utf-8
|
223
botfiles/.config/picom/picom.conf
Normal file
223
botfiles/.config/picom/picom.conf
Normal file
@ -0,0 +1,223 @@
|
|||||||
|
# _
|
||||||
|
# _ __ (_) ___ ___ _ __ ___
|
||||||
|
# | '_ \| |/ __/ _ \| '_ ` _ \
|
||||||
|
# | |_) | | (_| (_) | | | | | |
|
||||||
|
# | .__/|_|\___\___/|_| |_| |_|
|
||||||
|
# |_|
|
||||||
|
|
||||||
|
#~~~~~~~~~
|
||||||
|
# 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 = 20;
|
||||||
|
# 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 = 1;
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
|
opacity-rule = [
|
||||||
|
"95:class_g = 'St' && focused",
|
||||||
|
"93:class_g = 'St' && !focused",
|
||||||
|
"93:class_g = 'Polybar'",
|
||||||
|
"93: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;
|
||||||
|
# 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 = true;
|
||||||
|
blur-background-exclude = [
|
||||||
|
"window_type = 'desktop'"
|
||||||
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Fading
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Fade windows during opacity changes.
|
||||||
|
fading = false;
|
||||||
|
# The time between steps in a fade in milliseconds. (default 10).
|
||||||
|
fade-delta = 3;
|
||||||
|
# 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 = true;
|
||||||
|
# Mark all non-WM but override-redirect windows active (e.g. menus).
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
# 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;
|
363
botfiles/.config/polybar/config
Normal file
363
botfiles/.config/polybar/config
Normal file
@ -0,0 +1,363 @@
|
|||||||
|
; _ _
|
||||||
|
; _ __ ___ | | _ _ | |__ __ _ _ __
|
||||||
|
; | '_ \ / _ \ | || | | || '_ \ / _` || '__|
|
||||||
|
; | |_) || (_) || || |_| || |_) || (_| || |
|
||||||
|
; | .__/ \___/ |_| \__, ||_.__/ \__,_||_|
|
||||||
|
; |_| |___/
|
||||||
|
|
||||||
|
;~~~~~~~~
|
||||||
|
; colors
|
||||||
|
;~~~~~~~~
|
||||||
|
[colors]
|
||||||
|
bg= ${xrdb:background}
|
||||||
|
fg = ${xrdb:foreground}
|
||||||
|
border = ${xrdb:border_unfocused}
|
||||||
|
|
||||||
|
;~~~~~
|
||||||
|
; bar
|
||||||
|
;~~~~~
|
||||||
|
[bar/polybarexe]
|
||||||
|
width = 100%
|
||||||
|
height = 24
|
||||||
|
fixed-center = true
|
||||||
|
|
||||||
|
font-0 = "DejaVu Sans Mono: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 = 3
|
||||||
|
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 =
|
||||||
|
modules-right = wireless-network sym2 alsa sym2 fsroot sym5 fshome sym2 coreuse temperature memory sym2 battery 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 = %index% %icon%
|
||||||
|
label-focused-background = ${colors.border}
|
||||||
|
label-focused-overline = ${colors.fg}
|
||||||
|
label-occupied = %index% %icon%
|
||||||
|
label-occupied-padding = 1
|
||||||
|
label-focused-padding = 1
|
||||||
|
label-unfocused-padding = 0
|
||||||
|
label-visible-padding = 0
|
||||||
|
label-urgent = %index% %icon%
|
||||||
|
label-urgent-padding = 1
|
||||||
|
label-empty =
|
||||||
|
|
||||||
|
;~~~~~
|
||||||
|
; 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:}%{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>
|
||||||
|
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.sh
|
||||||
|
label = %output%
|
||||||
|
click-left = ~/.scripts/updater.sh &
|
||||||
|
click-right = yay -Quq | dmenu -l 30
|
||||||
|
interval = 60
|
||||||
|
|
||||||
|
;~~~~~~~~~~~
|
||||||
|
; powermenu
|
||||||
|
;~~~~~~~~~~~
|
||||||
|
[module/powermenu]
|
||||||
|
type = custom/script
|
||||||
|
format-foreground = ${colors.fg}
|
||||||
|
exec = echo ""
|
||||||
|
click-left = ~/.scripts/powermenu.sh
|
||||||
|
|
||||||
|
;~~~~~
|
||||||
|
; "|"
|
||||||
|
;~~~~~
|
||||||
|
[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
|
12
botfiles/.config/qutebrowser/autoconfig.yml
Normal file
12
botfiles/.config/qutebrowser/autoconfig.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# 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:
|
||||||
|
url.default_page:
|
||||||
|
global: file:///home/samedamci/.config/homepage/index.html
|
||||||
|
url.start_pages:
|
||||||
|
global: file:///home/samedamci/.config/homepage/index.html
|
0
botfiles/.config/qutebrowser/bookmarks/urls
Normal file
0
botfiles/.config/qutebrowser/bookmarks/urls
Normal file
@ -29,14 +29,14 @@ c.colors.tabs.bar.bg = '#0a0200'
|
|||||||
c.colors.tabs.even.bg = '#0a0200'
|
c.colors.tabs.even.bg = '#0a0200'
|
||||||
c.colors.tabs.even.fg = '#ffffff'
|
c.colors.tabs.even.fg = '#ffffff'
|
||||||
c.colors.tabs.odd.bg = '#0a0200'
|
c.colors.tabs.odd.bg = '#0a0200'
|
||||||
c.colors.tabs.selected.even.bg = '#0e0f0e'
|
c.colors.tabs.selected.even.bg = '#666'
|
||||||
c.colors.tabs.selected.odd.bg = '#0e0f0e'
|
c.colors.tabs.selected.odd.bg = '#666'
|
||||||
|
|
||||||
c.url.start_pages = 'https://duckduckgo.com'
|
c.url.start_pages = 'file:///home/samedamci/.config/homepage/index.html'
|
||||||
c.url.default_page = 'https://duckduckgo.com'
|
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.padding", {"top": 1, "bottom": 2, "left": 5, "right": 5})
|
||||||
config.set("tabs.indicator.width", 0)
|
config.set("tabs.indicator.width", 0)
|
||||||
config.set("tabs.favicons.scale", 1.2)
|
config.set("tabs.favicons.scale", 1.2)
|
||||||
|
|
||||||
c.fonts.monospace = '"DejaVu Sans Mono"'
|
#c.fonts.monospace = '"DejaVu Sans Mono"'
|
0
botfiles/.config/qutebrowser/quickmarks
Normal file
0
botfiles/.config/qutebrowser/quickmarks
Normal file
10
botfiles/.config/ranger/rc.conf
Normal file
10
botfiles/.config/ranger/rc.conf
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# _ __ __ _ _ __ __ _ ___ _ __
|
||||||
|
# | '__/ _` | '_ \ / _` |/ _ \ '__|
|
||||||
|
# | | | (_| | | | | (_| | __/ |
|
||||||
|
# |_| \__,_|_| |_|\__, |\___|_|
|
||||||
|
# |___/
|
||||||
|
|
||||||
|
set show_hidden true
|
||||||
|
set preview_images true
|
||||||
|
|
||||||
|
# vim:ft=conf
|
7
botfiles/.config/rofi/config
Normal file
7
botfiles/.config/rofi/config
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
rofi.modi: drun
|
||||||
|
rofi.font: DejaVu San Mono for Powerline 12
|
||||||
|
rofi.show-icons: true
|
||||||
|
rofi.m: 0
|
||||||
|
rofi.lines: 5
|
||||||
|
rofi.width: 30
|
||||||
|
rofi.theme: theme
|
151
botfiles/.config/rofi/theme.rasi
Normal file
151
botfiles/.config/rofi/theme.rasi
Normal file
@ -0,0 +1,151 @@
|
|||||||
|
|
||||||
|
* {
|
||||||
|
maincolor: #dfdfdf;
|
||||||
|
highlight: bold #e2a478;
|
||||||
|
urgentcolor: #666;
|
||||||
|
|
||||||
|
fg: #dfdfdf;
|
||||||
|
bg: #0a0200;
|
||||||
|
blackselect: #22262e;
|
||||||
|
cyan: #aaaaaa;
|
||||||
|
/* hack */
|
||||||
|
/* maincolor: #007700; */
|
||||||
|
/* highlight: bold #00bb00; */
|
||||||
|
/* urgentcolor: #007700; */
|
||||||
|
|
||||||
|
/* fg: #007700; */
|
||||||
|
/* bg: #000000; */
|
||||||
|
/* blackselect: #001100; */
|
||||||
|
/* cyan: #004400; */
|
||||||
|
background-color: @bg;
|
||||||
|
show-icons: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
window {
|
||||||
|
background-color: @bg;
|
||||||
|
border: 1;
|
||||||
|
border-color: @maincolor;
|
||||||
|
padding: 0;
|
||||||
|
anchor: center;
|
||||||
|
location: center;
|
||||||
|
y-offset: 20;
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
background-color: @bg;
|
||||||
|
spacing: 0px;
|
||||||
|
children: [inputbar, message, listview];
|
||||||
|
}
|
||||||
|
|
||||||
|
message {
|
||||||
|
padding: 6px 10px;
|
||||||
|
background-color:@bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox {
|
||||||
|
text-color:@cyan;
|
||||||
|
background-color:@bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
columns: 1;
|
||||||
|
fixed-height: true;
|
||||||
|
scrollbar: false;
|
||||||
|
spacing: 0px;
|
||||||
|
padding: 1px 0px 0px 0px;
|
||||||
|
margin: 0px 0px 1px 0px;
|
||||||
|
background: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
element {
|
||||||
|
padding: 2px 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal {
|
||||||
|
padding: 0px 15px;
|
||||||
|
background-color: @bg;
|
||||||
|
text-color: @fg;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.urgent {
|
||||||
|
background-color: @bg;
|
||||||
|
text-color: @urgentcolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.active {
|
||||||
|
background-color: @bg;
|
||||||
|
text-color: @maincolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.normal {
|
||||||
|
background-color: @blackselect;
|
||||||
|
text-color: @fg;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: @urgentcolor;
|
||||||
|
text-color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.active {
|
||||||
|
background-color: @maincolor;
|
||||||
|
text-color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: @bg;
|
||||||
|
text-color: @fg;
|
||||||
|
}
|
||||||
|
|
||||||
|
element alternate.urgent {
|
||||||
|
background-color: @bg;
|
||||||
|
text-color: @urgentcolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
element alternate.active {
|
||||||
|
background-color: @bg;
|
||||||
|
text-color: @maincolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
scrollbar {
|
||||||
|
background-color: @bg;
|
||||||
|
handle-color: @cyan;
|
||||||
|
handle-width: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
mode-switcher {
|
||||||
|
background-color: @bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
button {
|
||||||
|
background-color: @bg;
|
||||||
|
text-color: @cyan;
|
||||||
|
}
|
||||||
|
|
||||||
|
button selected {
|
||||||
|
text-color: @maincolor;
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
background-color: @bg;
|
||||||
|
spacing: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
padding: 6px 9px;
|
||||||
|
background-color: @maincolor;
|
||||||
|
text-color:@bg;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry {
|
||||||
|
padding:6px 10px;
|
||||||
|
background-color:@bg;
|
||||||
|
text-color:@fg;
|
||||||
|
}
|
||||||
|
|
||||||
|
case-indicator {
|
||||||
|
padding:6px 10px;
|
||||||
|
text-color:@maincolor;
|
||||||
|
background-color:@bg;
|
||||||
|
}
|
||||||
|
/* vim:ft=css
|
104
botfiles/.config/sxhkd/sxhkdrc
Normal file
104
botfiles/.config/sxhkd/sxhkdrc
Normal file
@ -0,0 +1,104 @@
|
|||||||
|
# _ _ _
|
||||||
|
# _____ _| |__ | | ____| |
|
||||||
|
# / __\ \/ / '_ \| |/ / _` |
|
||||||
|
# \__ \> <| | | | < (_| |
|
||||||
|
# |___/_/\_\_| |_|_|\_\__,_|
|
||||||
|
|
||||||
|
#~~~~~~
|
||||||
|
# APPS
|
||||||
|
#~~~~~~
|
||||||
|
# Qutebrowser
|
||||||
|
super + b
|
||||||
|
qutebrowser
|
||||||
|
# St
|
||||||
|
super + Return
|
||||||
|
st
|
||||||
|
# Ranger
|
||||||
|
super + r
|
||||||
|
st -e vifm
|
||||||
|
# Rofi
|
||||||
|
super + d
|
||||||
|
rofi -show drun
|
||||||
|
# Screenshot
|
||||||
|
End
|
||||||
|
$HOME/.scripts/screenshot.sh
|
||||||
|
|
||||||
|
#~~~~~~~~~~~~
|
||||||
|
# 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,f}
|
||||||
|
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
|
||||||
|
# Focus the node in the given direction
|
||||||
|
super + {_,shift + }{h,j,k,l}
|
||||||
|
bspc node -{f,s} {west,south,north,east}
|
||||||
|
# Focus the node for the given path jump
|
||||||
|
super + {p,b,comma,period}
|
||||||
|
bspc node -f @{parent,brother,first,second}
|
||||||
|
# Focus the next/previous node in the current desktop
|
||||||
|
super + {_,shift + }c
|
||||||
|
bspc node -f {next,prev}.local
|
||||||
|
# Focus the next/previous desktop in the current monitor
|
||||||
|
super + bracket{left,right}
|
||||||
|
bspc desktop -f {prev,next}.local
|
||||||
|
# Focus the last node/desktop
|
||||||
|
super + {grave,Tab}
|
||||||
|
bspc {node,desktop} -f last
|
||||||
|
# Focus the older or newer node in the focus history
|
||||||
|
super + {o,i}
|
||||||
|
bspc wm -h off; \
|
||||||
|
bspc node {older,newer} -f; \
|
||||||
|
bspc wm -h on
|
||||||
|
# Focus or send to the given desktop
|
||||||
|
super + {_,shift + }{1-9,0}
|
||||||
|
bspc {desktop -f,node -d} '^{1-9,10}'
|
||||||
|
# Preselect the ratio
|
||||||
|
super + ctrl + {1-9}
|
||||||
|
bspc node -o 0.{1-9}
|
||||||
|
# Cancel the preselection for the focused node
|
||||||
|
super + ctrl + space
|
||||||
|
bspc node -p cancel
|
||||||
|
# Cancel the preselection for the focused desktop
|
||||||
|
super + ctrl + shift + space
|
||||||
|
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
|
||||||
|
# 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
|
BIN
botfiles/.config/transmission/dht.dat
Normal file
BIN
botfiles/.config/transmission/dht.dat
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
68
botfiles/.config/transmission/settings.json
Normal file
68
botfiles/.config/transmission/settings.json
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
{
|
||||||
|
"alt-speed-down": 50,
|
||||||
|
"alt-speed-enabled": false,
|
||||||
|
"alt-speed-time-begin": 540,
|
||||||
|
"alt-speed-time-day": 127,
|
||||||
|
"alt-speed-time-enabled": false,
|
||||||
|
"alt-speed-time-end": 1020,
|
||||||
|
"alt-speed-up": 50,
|
||||||
|
"bind-address-ipv4": "0.0.0.0",
|
||||||
|
"bind-address-ipv6": "::",
|
||||||
|
"blocklist-enabled": false,
|
||||||
|
"blocklist-url": "http://www.example.com/blocklist",
|
||||||
|
"cache-size-mb": 4,
|
||||||
|
"dht-enabled": true,
|
||||||
|
"download-dir": "/home/samedamci/Downloads",
|
||||||
|
"download-queue-enabled": true,
|
||||||
|
"download-queue-size": 5,
|
||||||
|
"encryption": 1,
|
||||||
|
"idle-seeding-limit": 30,
|
||||||
|
"idle-seeding-limit-enabled": false,
|
||||||
|
"incomplete-dir": "/home/samedamci/Downloads",
|
||||||
|
"incomplete-dir-enabled": false,
|
||||||
|
"lpd-enabled": false,
|
||||||
|
"message-level": 2,
|
||||||
|
"peer-congestion-algorithm": "",
|
||||||
|
"peer-id-ttl-hours": 6,
|
||||||
|
"peer-limit-global": 200,
|
||||||
|
"peer-limit-per-torrent": 50,
|
||||||
|
"peer-port": 51413,
|
||||||
|
"peer-port-random-high": 65535,
|
||||||
|
"peer-port-random-low": 49152,
|
||||||
|
"peer-port-random-on-start": false,
|
||||||
|
"peer-socket-tos": "default",
|
||||||
|
"pex-enabled": true,
|
||||||
|
"port-forwarding-enabled": true,
|
||||||
|
"preallocation": 1,
|
||||||
|
"prefetch-enabled": true,
|
||||||
|
"queue-stalled-enabled": true,
|
||||||
|
"queue-stalled-minutes": 30,
|
||||||
|
"ratio-limit": 2,
|
||||||
|
"ratio-limit-enabled": false,
|
||||||
|
"rename-partial-files": true,
|
||||||
|
"rpc-authentication-required": false,
|
||||||
|
"rpc-bind-address": "0.0.0.0",
|
||||||
|
"rpc-enabled": false,
|
||||||
|
"rpc-host-whitelist": "",
|
||||||
|
"rpc-host-whitelist-enabled": true,
|
||||||
|
"rpc-password": "{ae37e370522e97b74961ac84cb1beba5af08421cCuysFVGw",
|
||||||
|
"rpc-port": 9091,
|
||||||
|
"rpc-url": "/transmission/",
|
||||||
|
"rpc-username": "",
|
||||||
|
"rpc-whitelist": "127.0.0.1",
|
||||||
|
"rpc-whitelist-enabled": true,
|
||||||
|
"scrape-paused-torrents-enabled": true,
|
||||||
|
"script-torrent-done-enabled": false,
|
||||||
|
"script-torrent-done-filename": "",
|
||||||
|
"seed-queue-enabled": false,
|
||||||
|
"seed-queue-size": 10,
|
||||||
|
"speed-limit-down": 100,
|
||||||
|
"speed-limit-down-enabled": false,
|
||||||
|
"speed-limit-up": 100,
|
||||||
|
"speed-limit-up-enabled": false,
|
||||||
|
"start-added-torrents": true,
|
||||||
|
"trash-original-torrent-files": false,
|
||||||
|
"umask": 18,
|
||||||
|
"upload-slots-per-torrent": 14,
|
||||||
|
"utp-enabled": true
|
||||||
|
}
|
7
botfiles/.config/transmission/stats.json
Normal file
7
botfiles/.config/transmission/stats.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"downloaded-bytes": 14360321034,
|
||||||
|
"files-added": 9,
|
||||||
|
"seconds-active": 6787,
|
||||||
|
"session-count": 8,
|
||||||
|
"uploaded-bytes": 75092430
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
85
botfiles/.config/vifm/colors/Default.vifm
Normal file
85
botfiles/.config/vifm/colors/Default.vifm
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
" 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
|
6
botfiles/.config/vifm/scripts/README
Normal file
6
botfiles/.config/vifm/scripts/README
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
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.
|
6103
botfiles/.config/vifm/vifm-help.txt
Normal file
6103
botfiles/.config/vifm/vifm-help.txt
Normal file
File diff suppressed because it is too large
Load Diff
68
botfiles/.config/vifm/vifminfo
Normal file
68
botfiles/.config/vifm/vifminfo
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
# You can edit this file by hand, but it's recommended not to do that.
|
||||||
|
|
||||||
|
# Marks:
|
||||||
|
'H
|
||||||
|
/home/samedamci/
|
||||||
|
..
|
||||||
|
1582821553
|
||||||
|
'b
|
||||||
|
/home/samedamci/bin/
|
||||||
|
..
|
||||||
|
1582821553
|
||||||
|
'h
|
||||||
|
/home/samedamci/
|
||||||
|
..
|
||||||
|
1582821553
|
||||||
|
'z
|
||||||
|
/home/samedamci/.config/vifm
|
||||||
|
..
|
||||||
|
1582821553
|
||||||
|
|
||||||
|
# Bookmarks:
|
||||||
|
|
||||||
|
# TUI:
|
||||||
|
al
|
||||||
|
q0
|
||||||
|
v2
|
||||||
|
ov
|
||||||
|
m-1
|
||||||
|
l2
|
||||||
|
r2
|
||||||
|
|
||||||
|
# Left window history (oldest to newest):
|
||||||
|
d/home/samedamci
|
||||||
|
Pictures
|
||||||
|
8
|
||||||
|
d
|
||||||
|
|
||||||
|
# Right window history (oldest to newest):
|
||||||
|
D/home/samedamci
|
||||||
|
..
|
||||||
|
0
|
||||||
|
D
|
||||||
|
|
||||||
|
# Command line history (oldest to newest):
|
||||||
|
:q
|
||||||
|
|
||||||
|
# Search history (oldest to newest):
|
||||||
|
|
||||||
|
# Prompt history (oldest to newest):
|
||||||
|
|
||||||
|
# Local filter history (oldest to newest):
|
||||||
|
|
||||||
|
# Registers:
|
||||||
|
|
||||||
|
# Directory stack (oldest to newest):
|
||||||
|
|
||||||
|
# Trash content:
|
||||||
|
|
||||||
|
# State:
|
||||||
|
f
|
||||||
|
i1
|
||||||
|
[.1
|
||||||
|
[F
|
||||||
|
F
|
||||||
|
I1
|
||||||
|
].1
|
||||||
|
]F
|
||||||
|
s0
|
483
botfiles/.config/vifm/vifmrc
Normal file
483
botfiles/.config/vifm/vifmrc
Normal file
@ -0,0 +1,483 @@
|
|||||||
|
" vim: filetype=vifm :
|
||||||
|
" Sample configuration file for vifm (last updated: 2 June, 2019)
|
||||||
|
" You can edit this file by hand.
|
||||||
|
" The " character at the beginning of a line comments out the line.
|
||||||
|
" Blank lines are ignored.
|
||||||
|
" The basic format for each item is shown with an example.
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" Command used to edit files in various contexts. The default is vim.
|
||||||
|
" If you would like to use another vi clone such as Elvis or Vile
|
||||||
|
" you will need to change this setting.
|
||||||
|
|
||||||
|
set vicmd=vim
|
||||||
|
" set vicmd=elvis\ -G\ termcap
|
||||||
|
" set vicmd=vile
|
||||||
|
|
||||||
|
" This makes vifm perform file operations on its own instead of relying on
|
||||||
|
" standard utilities like `cp`. While using `cp` and alike is a more universal
|
||||||
|
" solution, it's also much slower when processing large amounts of files and
|
||||||
|
" doesn't support progress measuring.
|
||||||
|
|
||||||
|
set syscalls
|
||||||
|
|
||||||
|
" Trash Directory
|
||||||
|
" The default is to move files that are deleted with dd or :d to
|
||||||
|
" the trash directory. If you change this you will not be able to move
|
||||||
|
" files by deleting them and then using p to put the file in the new location.
|
||||||
|
" I recommend not changing this until you are familiar with vifm.
|
||||||
|
" This probably shouldn't be an option.
|
||||||
|
|
||||||
|
set trash
|
||||||
|
|
||||||
|
" This is how many directories to store in the directory history.
|
||||||
|
|
||||||
|
set history=100
|
||||||
|
|
||||||
|
" Automatically resolve symbolic links on l or Enter.
|
||||||
|
|
||||||
|
set nofollowlinks
|
||||||
|
|
||||||
|
" With this option turned on you can run partially entered commands with
|
||||||
|
" unambiguous beginning using :! (e.g. :!Te instead of :!Terminal or :!Te<tab>).
|
||||||
|
|
||||||
|
" set fastrun
|
||||||
|
|
||||||
|
" Natural sort of (version) numbers within text.
|
||||||
|
|
||||||
|
set sortnumbers
|
||||||
|
|
||||||
|
" Maximum number of changes that can be undone.
|
||||||
|
|
||||||
|
set undolevels=100
|
||||||
|
|
||||||
|
" Use Vim's format of help file (has highlighting and "hyperlinks").
|
||||||
|
" If you would rather use a plain text help file set novimhelp.
|
||||||
|
|
||||||
|
set vimhelp
|
||||||
|
|
||||||
|
" If you would like to run an executable file when you
|
||||||
|
" press return on the file name set this.
|
||||||
|
|
||||||
|
set norunexec
|
||||||
|
|
||||||
|
" Selected color scheme
|
||||||
|
|
||||||
|
colorscheme Default
|
||||||
|
|
||||||
|
" Format for displaying time in file list. For example:
|
||||||
|
" TIME_STAMP_FORMAT=%m/%d-%H:%M
|
||||||
|
" See man date or man strftime for details.
|
||||||
|
|
||||||
|
set timefmt=%m/%d\ %H:%M
|
||||||
|
|
||||||
|
" Show list of matches on tab completion in command-line mode
|
||||||
|
|
||||||
|
set wildmenu
|
||||||
|
|
||||||
|
" Display completions in a form of popup with descriptions of the matches
|
||||||
|
|
||||||
|
set wildstyle=popup
|
||||||
|
|
||||||
|
" Display suggestions in normal, visual and view modes for keys, marks and
|
||||||
|
" registers (at most 5 files). In other view, when available.
|
||||||
|
|
||||||
|
set suggestoptions=normal,visual,view,otherpane,keys,marks,registers
|
||||||
|
|
||||||
|
" Ignore case in search patterns unless it contains at least one uppercase
|
||||||
|
" letter
|
||||||
|
|
||||||
|
set ignorecase
|
||||||
|
set smartcase
|
||||||
|
|
||||||
|
" Don't highlight search results automatically
|
||||||
|
|
||||||
|
set nohlsearch
|
||||||
|
|
||||||
|
" Use increment searching (search while typing)
|
||||||
|
set incsearch
|
||||||
|
|
||||||
|
" Try to leave some space from cursor to upper/lower border in lists
|
||||||
|
|
||||||
|
set scrolloff=4
|
||||||
|
|
||||||
|
" Don't do too many requests to slow file systems
|
||||||
|
|
||||||
|
if !has('win')
|
||||||
|
set slowfs=curlftpfs
|
||||||
|
endif
|
||||||
|
|
||||||
|
" Set custom status line look
|
||||||
|
|
||||||
|
set statusline=" Hint: %z%= %A %10u:%-7g %15s %20d "
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" :mark mark /full/directory/path [filename]
|
||||||
|
|
||||||
|
mark b ~/bin/
|
||||||
|
mark 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 zathura %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 ffplay}
|
||||||
|
\ ffplay -nodisp -autoexit %c,
|
||||||
|
\ {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}
|
||||||
|
\ dwb %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 sxiv}
|
||||||
|
\ sxiv %f,
|
||||||
|
\ {View in gpicview}
|
||||||
|
\ gpicview %c,
|
||||||
|
\ {View in shotwell}
|
||||||
|
\ shotwell,
|
||||||
|
fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.gif,*.xpm
|
||||||
|
\ identify %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 &,
|
||||||
|
|
||||||
|
" 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.
|
||||||
|
set vifminfo=dhistory,savedirs,chistory,state,tui,shistory,
|
||||||
|
\phistory,fhistory,dirstack,registers,bookmarks,bmarks
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" 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])$|.*~$/
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" Sample mappings
|
||||||
|
|
||||||
|
" Start shell in current directory
|
||||||
|
nnoremap s :shell<cr>
|
||||||
|
|
||||||
|
" Display sorting dialog
|
||||||
|
nnoremap S :sort<cr>
|
||||||
|
|
||||||
|
" Toggle visibility of preview window
|
||||||
|
nnoremap w :view<cr>
|
||||||
|
vnoremap w :view<cr>gv
|
||||||
|
|
||||||
|
" Open file in existing instance of gvim
|
||||||
|
nnoremap o :!gvim --remote-tab-silent %f<cr>
|
||||||
|
" Open file in new instance of gvim
|
||||||
|
nnoremap O :!gvim %f<cr>
|
||||||
|
|
||||||
|
" Open file in the background using its default program
|
||||||
|
nnoremap gb :file &<cr>l
|
||||||
|
|
||||||
|
" 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
|
||||||
|
|
||||||
|
" Mappings for faster renaming
|
||||||
|
nnoremap I cw<c-a>
|
||||||
|
nnoremap cc cw<c-u>
|
||||||
|
nnoremap A cw
|
||||||
|
|
||||||
|
" Open console in current directory
|
||||||
|
nnoremap ,t :!xterm &<cr>
|
||||||
|
|
||||||
|
" Open editor to edit vifmrc and apply settings after returning to vifm
|
||||||
|
nnoremap ,c :write | edit $MYVIFMRC | restart<cr>
|
||||||
|
" Open gvim to edit vifmrc
|
||||||
|
nnoremap ,C :!gvim --remote-tab-silent $MYVIFMRC &<cr>
|
||||||
|
|
||||||
|
" Toggle wrap setting on ,w key
|
||||||
|
nnoremap ,w :set wrap!<cr>
|
||||||
|
|
||||||
|
" Example of standard two-panel file managers mappings
|
||||||
|
nnoremap <f3> :!less %f<cr>
|
||||||
|
nnoremap <f4> :edit<cr>
|
||||||
|
nnoremap <f5> :copy<cr>
|
||||||
|
nnoremap <f6> :move<cr>
|
||||||
|
nnoremap <f7> :mkdir<space>
|
||||||
|
nnoremap <f8> :delete<cr>
|
||||||
|
|
||||||
|
" ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
" Various customization examples
|
||||||
|
|
||||||
|
" Use ag (the silver searcher) instead of grep
|
||||||
|
"
|
||||||
|
" set grepprg='ag --line-numbers %i %a %s'
|
||||||
|
|
||||||
|
" Add additional place to look for executables
|
||||||
|
"
|
||||||
|
" let $PATH = $HOME.'/bin/fuse:'.$PATH
|
||||||
|
|
||||||
|
" Block particular shortcut
|
||||||
|
"
|
||||||
|
" nnoremap <left> <nop>
|
||||||
|
|
||||||
|
" Export IPC name of current instance as environment variable and use it to
|
||||||
|
" communicate with the instance later.
|
||||||
|
"
|
||||||
|
" It can be used in some shell script that gets run from inside vifm, for
|
||||||
|
" example, like this:
|
||||||
|
" vifm --server-name "$VIFM_SERVER_NAME" --remote +"cd '$PWD'"
|
||||||
|
"
|
||||||
|
" let $VIFM_SERVER_NAME = v:servername
|
20
botfiles/.config/vlc/vlc-qt-interface.conf
Normal file
20
botfiles/.config/vlc/vlc-qt-interface.conf
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
[General]
|
||||||
|
filedialog-path=@Variant(\0\0\0\x11\0\0\0'file:///home/samedamci/SD/Music/Ki.flac)
|
||||||
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\xcc\0\0\0$\0\0\x5I\0\0\x2\xf3\0\0\x2\xce\0\0\0&\0\0\x5G\0\0\x2\xf1\0\0\0\0\0\0\0\0\x5V\0\0\x2\xce\0\0\0&\0\0\x5G\0\0\x2\xf1)
|
||||||
|
|
||||||
|
[FullScreen]
|
||||||
|
pos=@Point(0 0)
|
||||||
|
screen=@Rect(0 0 0 0)
|
||||||
|
wide=false
|
||||||
|
|
||||||
|
[MainWindow]
|
||||||
|
adv-controls=0
|
||||||
|
bgSize=@Size(600 0)
|
||||||
|
pl-dock-status=true
|
||||||
|
playlist-visible=false
|
||||||
|
playlistSize=@Size(-1 -1)
|
||||||
|
status-bar-visible=false
|
||||||
|
|
||||||
|
[RecentsMRL]
|
||||||
|
list=file:///home/samedamci/SD/Music/Ki.flac, file:///home/samedamci/SD/Music/001%20%20Cantate%20Tutti.flac, directory:///home/samedamci/SD/Music
|
||||||
|
times=0, 33408, 0
|
4711
botfiles/.config/vlc/vlcrc
Normal file
4711
botfiles/.config/vlc/vlcrc
Normal file
File diff suppressed because it is too large
Load Diff
BIN
botfiles/.config/wallpapers/1366x768/wall1.png
Normal file
BIN
botfiles/.config/wallpapers/1366x768/wall1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 MiB |
BIN
botfiles/.config/wallpapers/1366x768/wall2.png
Normal file
BIN
botfiles/.config/wallpapers/1366x768/wall2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
BIN
botfiles/.config/wallpapers/1366x768/wall3.png
Normal file
BIN
botfiles/.config/wallpapers/1366x768/wall3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 925 KiB |
BIN
botfiles/.config/wallpapers/1366x768/wall4.png
Normal file
BIN
botfiles/.config/wallpapers/1366x768/wall4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 859 KiB |
BIN
botfiles/.config/wallpapers/1366x768/wall5.png
Normal file
BIN
botfiles/.config/wallpapers/1366x768/wall5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 MiB |
BIN
botfiles/.config/wallpapers/1920x1080/wall1.png
Normal file
BIN
botfiles/.config/wallpapers/1920x1080/wall1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
2806
botfiles/.config/zsh/history
Normal file
2806
botfiles/.config/zsh/history
Normal file
File diff suppressed because it is too large
Load Diff
1
botfiles/.scripts/get-local-wificard-ip.sh
Executable file
1
botfiles/.scripts/get-local-wificard-ip.sh
Executable file
@ -0,0 +1 @@
|
|||||||
|
ip a show wlp8s0 | grep -Eo '(inet)?*([0-9]*\.){3}[0-9]*' | grep -v '**\.255'
|
3
botfiles/.scripts/lockscreen.sh
Normal file
3
botfiles/.scripts/lockscreen.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
i3lock -i ~/.config/wallpapers/1366x768/wall$(( ( RANDOM % $(ls ~/.config/wallpapers/1366x768 | wc -l) ) )).png --composite --insidecolor=55443311 --ringcolor=99443300 --ringvercolor=00000000 --insidevercolor=55443311 --keyhlcolor=99999999 --indicator --veriftext= --wrongtext=! --radius 180 -b --separatorcolor=00000000 -k --timesize=40 --datesize=20 --time-font=Monospace --date-font=Monospace --bar-indicator
|
11
botfiles/.scripts/powermenu.sh
Executable file
11
botfiles/.scripts/powermenu.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
WHAT="$(printf "Shutdown\nSuspend\nLock\nReboot" | dmenu -i -p 'What do you want?')"
|
||||||
|
if [ -z "$WHAT" ]; then exit; fi
|
||||||
|
|
||||||
|
case "$WHAT" in
|
||||||
|
Shutdown) systemctl poweroff;;
|
||||||
|
Suspend) systemctl suspend;;
|
||||||
|
Lock) sh ~/.scripts/lockscreen.sh;;
|
||||||
|
*) systemctl reboot
|
||||||
|
esac
|
6
botfiles/.scripts/scr
Normal file
6
botfiles/.scripts/scr
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
grep -Eo '#[0-9,A-Z,a-z]**' ~/.Xresources | sort | head -n 1
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo -en "\e[$((30 + i))m\u2588\u2588 ${colors[i]} \e[0m"; echo -e "\n"
|
25
botfiles/.scripts/screenshot.sh
Executable file
25
botfiles/.scripts/screenshot.sh
Executable file
@ -0,0 +1,25 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
# dmenu prompts
|
||||||
|
TYPE="$(printf "Screen\nArea\n" | dmenu -i -p 'What do you want to screenshot?')"
|
||||||
|
if [ -z "$TYPE" ]; then exit; fi
|
||||||
|
SAVE="$(printf "No\nYes" | dmenu -i -p 'Do you want to copy to clipboard?')"
|
||||||
|
if [ -z "$SAVE" ]; then exit; fi
|
||||||
|
TIME="$(printf "0.7\n5\n10\n15" | dmenu -i -p 'How many seconds you want to wait?')"
|
||||||
|
if [ -z "$TIME" ]; then exit; fi
|
||||||
|
|
||||||
|
# Set flag if selected "Window"
|
||||||
|
case "$TYPE" in
|
||||||
|
Area) TYPE="-s -u";;
|
||||||
|
*) TYPE=""
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Prepere for screenshot
|
||||||
|
mkdir ~/Pictures/Screenshots
|
||||||
|
sleep "$TIME"
|
||||||
|
|
||||||
|
# Copy to clipboard or save to file
|
||||||
|
case "$SAVE" in
|
||||||
|
Yes) maim $TYPE | xclip -selection clipboard -t image/png && maim $TYPE ~/Pictures/Screenshots/"$(date +%G-%m-%d_%s.png)";;
|
||||||
|
*) maim $TYPE ~/Pictures/Screenshots/"$(date +%G-%m-%d_%s.png)"
|
||||||
|
esac
|
9
botfiles/.scripts/showcolors
Normal file
9
botfiles/.scripts/showcolors
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
grep -Eoq '#[0-9,A-Z,a-z]**' ~/.Xresources | sort
|
||||||
|
|
||||||
|
echo
|
||||||
|
for i in {0..7}; do echo -en "\e[$((30 + i))m\u2588\u2588 ${colors[i]} \e[0m"; echo "${colors[i]}"; done
|
||||||
|
echo
|
||||||
|
for i in {8..15}; do echo -en "\e[1;$((22 + i))m\u2588\u2588 ${colors[i]} \e[0m"; done
|
||||||
|
echo -e "\n"
|
11
botfiles/.scripts/update-check.sh
Executable file
11
botfiles/.scripts/update-check.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
killall wificheck.sh &> /dev/null
|
||||||
|
|
||||||
|
if ping -w 1 archlinux.org &> /dev/null
|
||||||
|
then
|
||||||
|
printf $(checkupdates+aur | wc -l)
|
||||||
|
else
|
||||||
|
echo "!!"
|
||||||
|
~/.scripts/wificheck.sh &> /dev/null & disown:
|
||||||
|
fi
|
9
botfiles/.scripts/updater.sh
Executable file
9
botfiles/.scripts/updater.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
CHECK="$(printf "Yes\nNo\n" | dmenu -i -p 'Do you want to make packages update?')"
|
||||||
|
if [ -z "$CHECK" ]; then exit; fi
|
||||||
|
|
||||||
|
case "$CHECK" in
|
||||||
|
Yes) st -e bash -c "yay -Syu --noconfirm";;
|
||||||
|
*) exit
|
||||||
|
esac
|
11
botfiles/.scripts/wificheck.sh
Executable file
11
botfiles/.scripts/wificheck.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
sleep 10
|
||||||
|
if ping -w 1 archlinux.org &> /dev/null
|
||||||
|
then
|
||||||
|
~/.config/polybar/launch.sh
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
~/.scripts/wificheck.sh
|
||||||
|
exit 0
|
||||||
|
fi
|
2
botfiles/.xinitrc
Normal file
2
botfiles/.xinitrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
exec bspwm
|
0
botfiles/.zprofile
Normal file
0
botfiles/.zprofile
Normal file
101
botfiles/.zshrc
Normal file
101
botfiles/.zshrc
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
# _
|
||||||
|
# _______| |__
|
||||||
|
# |_ / __| '_ \
|
||||||
|
# / /\__ \ | | |
|
||||||
|
# /___|___/_| |_|
|
||||||
|
|
||||||
|
#~~~~~~~~~
|
||||||
|
# GENERAL
|
||||||
|
#~~~~~~~~~
|
||||||
|
# ZSH directory
|
||||||
|
ZDIR="${HOME}/.config/zsh"
|
||||||
|
|
||||||
|
# History
|
||||||
|
SAVEHIST=9999999
|
||||||
|
HISTFILE="${ZDIR}/history"
|
||||||
|
|
||||||
|
# Imports
|
||||||
|
source "${HOME}/.aliases"
|
||||||
|
source "${HOME}/.zprofile"
|
||||||
|
|
||||||
|
# Prompt
|
||||||
|
#export PROMPT="%B%F{blue}%~ %b%f$ "
|
||||||
|
export PROMPT=' %B%F{#34ef57}%~ %f%b
|
||||||
|
[%B%F{red}%?%f%b]%F{#34ef57}%B>%b%f '
|
||||||
|
|
||||||
|
# Completetion
|
||||||
|
autoload -U compinit
|
||||||
|
zstyle ':completion:*' menu select
|
||||||
|
setopt complete_aliases
|
||||||
|
|
||||||
|
# Setopt correct
|
||||||
|
zmodload zsh/complist
|
||||||
|
compinit
|
||||||
|
_comp_options+=(globdots)
|
||||||
|
|
||||||
|
#~~~~~~~~~~
|
||||||
|
# BINDINGS
|
||||||
|
#~~~~~~~~~~
|
||||||
|
# Vi mode
|
||||||
|
bindkey -v
|
||||||
|
export KEYTIMEOUT=1
|
||||||
|
|
||||||
|
# Cursor change
|
||||||
|
function zle-keymap-select {
|
||||||
|
if [[ ${KEYMAP} == vicmd ]] ||
|
||||||
|
[[ $1 = 'block' ]]; then
|
||||||
|
echo -ne '\e[2 q'
|
||||||
|
elif [[ ${KEYMAP} == main ]] ||
|
||||||
|
[[ ${KEYMAP} == viins ]] ||
|
||||||
|
[[ ${KEYMAP} = '' ]] ||
|
||||||
|
[[ $1 = 'beam' ]]; then
|
||||||
|
echo -ne '\e[6 q'
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
zle -N zle-keymap-select
|
||||||
|
|
||||||
|
zle-line-init() {
|
||||||
|
echo -ne "\e[6 q"
|
||||||
|
}
|
||||||
|
|
||||||
|
echo -ne '\e[6 q'
|
||||||
|
preexec() { echo -ne '\e[6 q' ;}
|
||||||
|
|
||||||
|
# Other
|
||||||
|
bindkey '^x' clear-screen
|
||||||
|
|
||||||
|
#~~~~~~~~~
|
||||||
|
# PLUGINS
|
||||||
|
#~~~~~~~~~
|
||||||
|
PDIR="${ZDIR}/plugins"
|
||||||
|
source "${PDIR}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||||
|
source "${PDIR}/zsh-autosuggestions/zsh-autosuggestions.zsh"
|
||||||
|
|
||||||
|
#~~~~~~~~
|
||||||
|
# Colors
|
||||||
|
#~~~~~~~~
|
||||||
|
#MAN
|
||||||
|
man() {
|
||||||
|
LESS_TERMCAP_md=$'\e[01;31m' \
|
||||||
|
LESS_TERMCAP_me=$'\e[0m' \
|
||||||
|
LESS_TERMCAP_se=$'\e[0m' \
|
||||||
|
# LESS_TERMCAP_so=$'\e[01;44;33m' \
|
||||||
|
LESS_TERMCAP_ue=$'\e[0m' \
|
||||||
|
LESS_TERMCAP_us=$'\e[01;32m' \
|
||||||
|
command man "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
#LESS
|
||||||
|
export LESS=-R
|
||||||
|
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
|
||||||
|
export LESS_TERMCAP_md=$'\E[1;36m' # begin bold
|
||||||
|
export LESS_TERMCAP_me=$'\E[0m' # reset bold/blink
|
||||||
|
#export LESS_TERMCAP_so=$'\E[01;44;33m' # begin reverse video
|
||||||
|
export LESS_TERMCAP_se=$'\E[0m' # reset reverse video
|
||||||
|
export LESS_TERMCAP_us=$'\E[1;32m' # begin underline
|
||||||
|
export LESS_TERMCAP_ue=$'\E[0m' # reset underline
|
||||||
|
|
||||||
|
#TETRIS
|
||||||
|
autoload -Uz tetriscurses
|
||||||
|
alias tetris='tetriscurses'
|
102
botfiles/shortcuts-custom.json
Normal file
102
botfiles/shortcuts-custom.json
Normal file
@ -0,0 +1,102 @@
|
|||||||
|
// This is a list of your own shortcuts for Telegram Desktop
|
||||||
|
// You can see full list of commands in the 'shortcuts-default.json' file
|
||||||
|
// Place a null value instead of a command string to switch the shortcut off
|
||||||
|
|
||||||
|
[
|
||||||
|
// {
|
||||||
|
// "command": "close_telegram",
|
||||||
|
// "keys": "ctrl+f4"
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// "command": "quit_telegram",
|
||||||
|
// "keys": "ctrl+q"
|
||||||
|
// }
|
||||||
|
|
||||||
|
{
|
||||||
|
"version": "1004003"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "media_play",
|
||||||
|
"keys": "media play"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "media_stop",
|
||||||
|
"keys": "media stop"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "media_previous",
|
||||||
|
"keys": "media previous"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "media_next",
|
||||||
|
"keys": "media next"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "media_pause",
|
||||||
|
"keys": "media pause"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "media_playpause",
|
||||||
|
"keys": "toggle media play/pause"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "search",
|
||||||
|
"keys": "ctrl+/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "search",
|
||||||
|
"keys": "find"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "search",
|
||||||
|
"keys": "ctrl+f"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "lock_telegram",
|
||||||
|
"keys": "ctrl+l"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "minimize_telegram",
|
||||||
|
"keys": "ctrl+m"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "quit_telegram",
|
||||||
|
"keys": "ctrl+q"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "close_telegram",
|
||||||
|
"keys": "ctrl+w"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "next_chat",
|
||||||
|
"keys": "ctrl+tab"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "previous_chat",
|
||||||
|
"keys": "ctrl+backtab"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "previous_chat",
|
||||||
|
"keys": "ctrl+pgup"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "next_chat",
|
||||||
|
"keys": "ctrl+pgdown"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "close_telegram",
|
||||||
|
"keys": "ctrl+f4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "previous_chat",
|
||||||
|
"keys": "ctrl+shift+tab"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "previous_chat",
|
||||||
|
"keys": "ctrl+shift+k"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"command": "next_chat",
|
||||||
|
"keys": "ctrl+shift+j"
|
||||||
|
}
|
||||||
|
]
|
63
installer/dotman
Normal file
63
installer/dotman
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
greeter() {
|
||||||
|
cat <<EOF
|
||||||
|
_ _
|
||||||
|
__| | ___ | |_ _ __ ___ __ _ _ __
|
||||||
|
/ _\` |/ _ \\| __| '_ \` _ \ / _\` | '_ \
|
||||||
|
| (_| | (_) | |_| | | | | | (_| | | | |
|
||||||
|
\__,_|\___/ \__|_| |_| |_|\__,_|_| |_|
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
greeter
|
||||||
|
|
||||||
|
# install git
|
||||||
|
sudo pacman -S git
|
||||||
|
|
||||||
|
# install yay
|
||||||
|
git clone https://aur.archlinux.org/yay.git
|
||||||
|
cd yay
|
||||||
|
makepkg -si
|
||||||
|
|
||||||
|
# install all dependencies and packages
|
||||||
|
yay -S neovim qutebrowser telegram-desktop minecraft-launcher dunst bspwm sxhkd htop mpd ncmpcpp picom ranger rofi transmission vlc zsh youtube-dl grc curl wget dmenu xclip figlet w3m xorg-server xorg-xinit ttf-font-awesome ttf-dejavu vifm feh xorg-xsetroot lxappearance python-pip alsa-utils tmux networkmanager maim fzf exfat-utils fuse2 udiskie udisks2 imagemagick i3lock-color man checkupdates+aur pacman-contrib polybar
|
||||||
|
|
||||||
|
pip3 install --user pynvim
|
||||||
|
|
||||||
|
# build and install st
|
||||||
|
cd ..
|
||||||
|
git clone https://gitlab.com/samedamci/st
|
||||||
|
cd st
|
||||||
|
sudo make clean install
|
||||||
|
|
||||||
|
# copy configs
|
||||||
|
cd ..
|
||||||
|
cd botfiles/.config
|
||||||
|
|
||||||
|
cp -r * ~/.config/
|
||||||
|
|
||||||
|
cd..
|
||||||
|
mkdir -p ~/.local/share/TelegramDesktop/tdata/
|
||||||
|
cp shortcuts-custom.json ~/.local/share/TelegramDesktop/tdata
|
||||||
|
|
||||||
|
cp .zshrc .aliases .zprofie .Xresourxes .xinitrc ~/
|
||||||
|
cp -r .scripts ~/
|
||||||
|
chmod +x ~/.scripts/*
|
||||||
|
|
||||||
|
chsh -s /usr/bin/zsh
|
||||||
|
|
||||||
|
mkdir -p ~/.config/zsh/plugins
|
||||||
|
touch ~/.config/zsh/history
|
||||||
|
cd ~/.config/zsh
|
||||||
|
|
||||||
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting
|
||||||
|
git clone https://github.com/zsh-users/zsh-autosuggestions
|
||||||
|
|
||||||
|
# udisk config
|
||||||
|
sudo mkdir /media
|
||||||
|
su root -c "echo 'ENV{ID_FS_USAGE}==\"filesystem|other|crypto\", ENV{UDISKS_FILESYSTEM_SHARED}=\"1\"' > /etc/udev/rules.d/99-udisks2.rules && echo 'D /media 0755 root root 0 -' > /etc/tmpfiles.d/media.conf"
|
||||||
|
|
||||||
|
# manual configuration
|
||||||
|
clear
|
||||||
|
echo "Please edit /etc/pacman.conf and uncomment 'Colors' and write 'ILoveCandy'."
|
Loading…
x
Reference in New Issue
Block a user