From fb05cbb94bbd6e8cfb22d3205d5463529313d868 Mon Sep 17 00:00:00 2001 From: tsxv478 Date: Wed, 19 Jun 2024 06:58:00 +0300 Subject: Fix structure --- .config/dunst/dunstrc | 37 +++ .config/fontconfig/fonts.conf | 39 +++ .config/gtk-2.0/gtkrc-2.0 | 3 + .config/gtk-3.0/settings.ini | 4 + .config/mimeapps.list | 17 ++ .config/mpd/mpd.conf | 21 ++ .config/mpv/input.conf | 18 ++ .config/mpv/mpv.conf | 3 + .config/ncmpcpp/bindings | 410 ++++++++++++++++++++++++++++++ .config/ncmpcpp/config | 20 ++ .config/newsboat/config | 42 +++ .config/nvim/init.vim | 88 +++++++ .config/picom/picom.conf | 14 + .config/user-dirs.dirs | 11 + .config/yt-dlp/config | 3 + .config/zathura/zathurarc | 2 + .local/share/applications/img.desktop | 4 + .local/share/applications/mail.desktop | 4 + .local/share/applications/pdf.desktop | 4 + .local/share/applications/text.desktop | 4 + .local/share/applications/torrent.desktop | 4 + .local/share/applications/vid.desktop | 4 + .zprofile | 20 ++ .zshrc | 39 +++ applications/img.desktop | 4 - applications/mail.desktop | 4 - applications/pdf.desktop | 4 - applications/text.desktop | 4 - applications/torrent.desktop | 4 - applications/vid.desktop | 4 - dunst/dunstrc | 37 --- fontconfig/fonts.conf | 39 --- gtk-2.0/gtkrc-2.0 | 3 - gtk-3.0/settings.ini | 4 - mimeapps.list | 17 -- mpd/mpd.conf | 21 -- mpv/input.conf | 18 -- mpv/mpv.conf | 3 - ncmpcpp/bindings | 410 ------------------------------ ncmpcpp/config | 20 -- newsboat/config | 42 --- nvim/init.vim | 88 ------- picom/picom.conf | 14 - user-dirs.dirs | 11 - yt-dlp/config | 3 - zathura/zathurarc | 2 - zprofile | 20 -- zshrc | 39 --- 48 files changed, 815 insertions(+), 815 deletions(-) create mode 100644 .config/dunst/dunstrc create mode 100644 .config/fontconfig/fonts.conf create mode 100644 .config/gtk-2.0/gtkrc-2.0 create mode 100644 .config/gtk-3.0/settings.ini create mode 100644 .config/mimeapps.list create mode 100644 .config/mpd/mpd.conf create mode 100644 .config/mpv/input.conf create mode 100644 .config/mpv/mpv.conf create mode 100644 .config/ncmpcpp/bindings create mode 100644 .config/ncmpcpp/config create mode 100644 .config/newsboat/config create mode 100644 .config/nvim/init.vim create mode 100644 .config/picom/picom.conf create mode 100644 .config/user-dirs.dirs create mode 100644 .config/yt-dlp/config create mode 100644 .config/zathura/zathurarc create mode 100644 .local/share/applications/img.desktop create mode 100644 .local/share/applications/mail.desktop create mode 100644 .local/share/applications/pdf.desktop create mode 100644 .local/share/applications/text.desktop create mode 100644 .local/share/applications/torrent.desktop create mode 100644 .local/share/applications/vid.desktop create mode 100644 .zprofile create mode 100644 .zshrc delete mode 100644 applications/img.desktop delete mode 100644 applications/mail.desktop delete mode 100644 applications/pdf.desktop delete mode 100644 applications/text.desktop delete mode 100644 applications/torrent.desktop delete mode 100644 applications/vid.desktop delete mode 100644 dunst/dunstrc delete mode 100644 fontconfig/fonts.conf delete mode 100644 gtk-2.0/gtkrc-2.0 delete mode 100644 gtk-3.0/settings.ini delete mode 100644 mimeapps.list delete mode 100644 mpd/mpd.conf delete mode 100644 mpv/input.conf delete mode 100644 mpv/mpv.conf delete mode 100644 ncmpcpp/bindings delete mode 100644 ncmpcpp/config delete mode 100644 newsboat/config delete mode 100644 nvim/init.vim delete mode 100644 picom/picom.conf delete mode 100644 user-dirs.dirs delete mode 100644 yt-dlp/config delete mode 100644 zathura/zathurarc delete mode 100644 zprofile delete mode 100644 zshrc diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc new file mode 100644 index 0000000..e1f3989 --- /dev/null +++ b/.config/dunst/dunstrc @@ -0,0 +1,37 @@ +# vim: filetype=cfg + +[global] + width = 300 + height = 300 + origin = top-right + offset = 0x0 + frame_width = 3 + frame_color = "#00aa55" + corner_radius = 15 + gap_size = 10 + idle_threshold = 120 + font = monospace 9 + format = "%s\n%b" + alignment = center + vertical_alignment = center + show_indicators = no + default_icon = ~/.local/share/icons/bell.png + icon_position = left + min_icon_size = 32 + max_icon_size = 48 + +[urgency_low] + background = "#222222" + foreground = "#ffffff" + timeout = 10 + +[urgency_normal] + background = "#222222" + foreground = "#ffffff" + timeout = 10 + +[urgency_critical] + background = "#222222" + foreground = "#ffffff" + frame_color = "#aa2222" + timeout = 0 diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf new file mode 100644 index 0000000..2549424 --- /dev/null +++ b/.config/fontconfig/fonts.conf @@ -0,0 +1,39 @@ + + + + + serif + + Noto Serif + Joy Pixels + Noto Color Emoji + FontAwesome + + + + sans-serif + + Noto Sans + Joy Pixels + Noto Color Emoji + FontAwesome + + + + sans + + Noto Sans + Joy Pixels + Noto Color Emoji + FontAwesome + + + + monospace + + Roboto Mono + Liberation Mono + FontAwesome + + + diff --git a/.config/gtk-2.0/gtkrc-2.0 b/.config/gtk-2.0/gtkrc-2.0 new file mode 100644 index 0000000..573359b --- /dev/null +++ b/.config/gtk-2.0/gtkrc-2.0 @@ -0,0 +1,3 @@ +gtk-theme-name = "Arc-Gruvbox" +gtk-icon-theme-name = "Arc" +gtk-font-name = "Sans 11" diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..0529883 --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -0,0 +1,4 @@ +[Settings] +gtk-theme-name = Arc-Gruvbox +gtk-icon-theme-name = Arc +gtk-font-name = Sans 11 diff --git a/.config/mimeapps.list b/.config/mimeapps.list new file mode 100644 index 0000000..7c86405 --- /dev/null +++ b/.config/mimeapps.list @@ -0,0 +1,17 @@ +[Default Applications] +text/plain=text.desktop +text/xml=text.desktop +text/csv=text.desktop +text/x-shellscript=text.desktop +image/jpeg=img.desktop +image/png=img.desktop +image/gif=img.desktop +image/webp=img.desktop +video/x-matroska=vid.desktop +video/webm=vid.desktop +video/mp4=vid.desktop +application/pdf=pdf.desktop +application/postscript=pdf.desktop; +x-scheme-handler/mailto=mail.desktop; +x-scheme-handler/magnet=torrent.desktop; +application/x-bittorrent=torrent.desktop; diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf new file mode 100644 index 0000000..9e9ff53 --- /dev/null +++ b/.config/mpd/mpd.conf @@ -0,0 +1,21 @@ +music_directory "~/mus" +playlist_directory "~/.local/share/playlists" + +auto_update "yes" +bind_to_address "127.0.0.1" +restore_paused "yes" +max_output_buffer_size "16384" + +audio_output { + type "pulse" + name "pulse" + # type "alsa" + # name "ALSA" +} + +audio_output { + type "fifo" + name "Visualizer feed" + path "/tmp/mpd.fifo" + format "44100:16:2" +} diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf new file mode 100644 index 0000000..921cb19 --- /dev/null +++ b/.config/mpv/input.conf @@ -0,0 +1,18 @@ +l seek 5 +h seek -5 +L seek 2 exact +H seek -2 exact +j add volume -2 +k add volume +2 +a cycle audio +A cycle audio down +c cycle sub +C cycle sub down +b ab-loop +Ctrl+l seek 60 +Ctrl+h seek -60 +Ctrl+a cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" +WHEEL_UP add volume 2 +WHEEL_DOWN add volume -2 +WHEEL_LEFT ignore +WHEEL_RIGHT ignore diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf new file mode 100644 index 0000000..5de0234 --- /dev/null +++ b/.config/mpv/mpv.conf @@ -0,0 +1,3 @@ +osd-on-seek=msg-bar +volume-max=150 +ytdl-format=bestvideo[height<=?1080]+bestaudio/best diff --git a/.config/ncmpcpp/bindings b/.config/ncmpcpp/bindings new file mode 100644 index 0000000..b2c33e5 --- /dev/null +++ b/.config/ncmpcpp/bindings @@ -0,0 +1,410 @@ +def_key "j" + scroll_down + +def_key "k" + scroll_up + +def_key "h" + previous_column + +def_key "h" + master_screen + +def_key "l" + next_column + +def_key "l" + slave_screen + +def_key "mouse" + mouse_event + +def_key "up" + scroll_up + +def_key "shift-up" + select_item + scroll_up + +def_key "down" + scroll_down + +def_key "shift-down" + select_item + scroll_down + +def_key "[" + scroll_up_album + +def_key "]" + scroll_down_album + +def_key "{" + scroll_up_artist + +def_key "}" + scroll_down_artist + +def_key "page_up" + page_up + +def_key "page_down" + page_down + +def_key "home" + move_home + +def_key "end" + move_end + +def_key "insert" + select_item + +def_key "enter" + enter_directory + +def_key "enter" + toggle_output + +def_key "enter" + run_action + +def_key "enter" + play_item + +def_key "p" + add_item_to_playlist + +def_key "p" + toggle_lyrics_update_on_song_change + +def_key "p" + toggle_visualization_type + +def_key "d" + delete_playlist_items + +def_key "d" + delete_browser_items + +def_key "d" + delete_stored_playlist + +def_key "right" + next_column + +def_key "right" + slave_screen + +def_key "right" + volume_up + +def_key "+" + volume_up + +def_key "left" + previous_column + +def_key "left" + master_screen + +def_key "left" + volume_down + +def_key "-" + volume_down + +def_key ":" + execute_command + +def_key "tab" + next_screen + +def_key "shift-tab" + previous_screen + +def_key "f1" + show_help + +def_key "1" + show_playlist + +def_key "2" + show_browser + +def_key "2" + change_browse_mode + +def_key "3" + show_search_engine + +def_key "3" + reset_search_engine + +def_key "4" + show_media_library + +def_key "4" + toggle_media_library_columns_mode + +def_key "5" + show_playlist_editor + +def_key "6" + show_tag_editor + +def_key "7" + show_outputs + +def_key "8" + show_visualizer + +def_key "=" + show_clock + +def_key "@" + show_server_info + +def_key "s" + stop + +def_key "space" + pause + +def_key "J" + next + +def_key "K" + previous + +def_key "ctrl-h" + jump_to_parent_directory + +def_key "ctrl-h" + replay_song + +def_key "backspace" + jump_to_parent_directory + +def_key "backspace" + replay_song + +def_key "f" + seek_forward + +def_key "b" + seek_backward + +def_key "r" + toggle_repeat + +def_key "z" + toggle_random + +def_key "y" + save_tag_changes + +def_key "y" + start_searching + +def_key "y" + toggle_single + +def_key "R" + toggle_consume + +def_key "Y" + toggle_replay_gain_mode + +def_key "T" + toggle_add_mode + +def_key "|" + toggle_mouse + +def_key "#" + toggle_bitrate_visibility + +def_key "Z" + shuffle + +def_key "x" + toggle_crossfade + +def_key "X" + set_crossfade + +def_key "u" + update_database + +def_key "ctrl-s" + sort_playlist + +def_key "ctrl-s" + toggle_browser_sort_mode + +def_key "ctrl-s" + toggle_media_library_sort_mode + +def_key "ctrl-r" + reverse_playlist + +def_key "ctrl-f" + apply_filter + +def_key "ctrl-_" + select_found_items + +def_key "/" + find + +def_key "/" + find_item_forward + +def_key "?" + find + +def_key "?" + find_item_backward + +def_key "." + next_found_item + +def_key "," + previous_found_item + +def_key "w" + toggle_find_mode + +def_key "e" + edit_song + +def_key "e" + edit_library_tag + +def_key "e" + edit_library_album + +def_key "e" + edit_directory_name + +def_key "e" + edit_playlist_name + +def_key "e" + edit_lyrics + +def_key "i" + show_song_info + +def_key "I" + show_artist_info + +def_key "g" + jump_to_position_in_song + +def_key "L" + show_lyrics + +def_key "ctrl-v" + select_range + +def_key "v" + reverse_selection + +def_key "V" + remove_selection + +def_key "B" + select_album + +def_key "a" + add_selected_items + +def_key "c" + clear_playlist + +def_key "c" + clear_main_playlist + +def_key "C" + crop_playlist + +def_key "C" + crop_main_playlist + +def_key "m" + move_sort_order_up + +def_key "m" + move_selected_items_up + +def_key "n" + move_sort_order_down + +def_key "n" + move_selected_items_down + +def_key "M" + move_selected_items_to + +def_key "A" + add + +def_key "S" + save_playlist + +def_key "o" + jump_to_playing_song + +def_key "G" + jump_to_browser + +def_key "G" + jump_to_playlist_editor + +def_key "~" + jump_to_media_library + +def_key "E" + jump_to_tag_editor + +def_key "U" + toggle_playing_song_centering + +def_key "P" + toggle_display_mode + +def_key "\\" + toggle_interface + +def_key "!" + toggle_separators_between_albums + +# def_key "L" +# toggle_lyrics_fetcher + +def_key "F" + fetch_lyrics_in_background + +def_key "alt-l" + toggle_fetching_lyrics_in_background + +def_key "ctrl-l" + toggle_screen_lock + +def_key "`" + toggle_library_tag_type + +def_key "`" + refetch_lyrics + +def_key "`" + add_random_items + +def_key "ctrl-p" + set_selected_items_priority + +def_key "q" + quit + diff --git a/.config/ncmpcpp/config b/.config/ncmpcpp/config new file mode 100644 index 0000000..30f9c06 --- /dev/null +++ b/.config/ncmpcpp/config @@ -0,0 +1,20 @@ +ncmpcpp_directory = ~/.local/share/ncmpcpp +lyrics_directory = ~/.local/share/lyrics +mpd_music_dir = ~/mus +mpd_host = localhost +mpd_port = 6600 +visualizer_type = spectrum +visualizer_look = ▮▮ +visualizer_color = 47, 83, 119, 155, 191, 227, 221, 215, 209, 203, 197, 161 +song_columns_list_format = (20)[]{a} (6f)[green]{NE} (30)[white]{t|f:Title} (30)[cyan]{b} (10)[blue]{y} (7f)[red]{l} +playlist_display_mode = columns +browser_display_mode = columns +seek_time = 5 +volume_change_step = 5 +progressbar_look = || +cyclic_scrolling = no +display_volume_level = yes +display_bitrate = yes +mouse_support = yes +lines_scrolled = 5 +external_editor = nvim diff --git a/.config/newsboat/config b/.config/newsboat/config new file mode 100644 index 0000000..a176f2b --- /dev/null +++ b/.config/newsboat/config @@ -0,0 +1,42 @@ +auto-reload no +notify-always yes +notify-program notify-send +notify-format "newsboat: finished reload\n(%d new articles, %n unread articles, %f unread feeds)" +reload-threads 8 +text-width 150 +scrolloff 5 +history-limit 0 +player "mpv --no-video" +download-path "~/other/podcasts/%n" + +browser "surf %u" +macro m set browser "mpv --really-quiet %u" ; open-in-browser ; set browser "surf %u" +macro d set browser "setsid -f st -e yt-dlp %u" ; open-in-browser ; set browser "surf %u" + +bind-key j down +bind-key k up +bind-key J next-feed articlelist +bind-key K prev-feed articlelist +bind-key G end +bind-key g home +bind-key d pagedown +bind-key u pageup +bind-key l open +bind-key h quit +bind-key a toggle-article-read +bind-key n next-unread +bind-key N prev-unread +bind-key U show-urls +bind-key w pb-download + +color listfocus cyan black standout bold +color listnormal_unread yellow default bold +color listfocus_unread cyan black standout bold +color info default red bold +highlight article "(^Feed:.*|^Title:.*|^Author:.*)" yellow default +highlight article "(^Link:.*|^Date:.*)" cyan default +highlight article "\\[[0-9][0-9]*\\]" green default bold +highlight article "\\[image\\ [0-9]+\\]" yellow default bold +highlight article ":.*\\(link\\)$" blue default +highlight article ":.*\\(image\\)$" yellow default +highlight article ":.*\\(video\\)$" cyan default diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..42e76be --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,88 @@ +let mapleader="," + +if ! filereadable(system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/plug.vim"')) + echo "Downloading junegunn/vim-plug to manage plugins..." + silent !mkdir -p ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/ + silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/plug.vim + autocmd VimEnter * PlugInstall +endif + +call plug#begin() +Plug 'morhetz/gruvbox' +Plug 'navarasu/onedark.nvim' +Plug 'preservim/nerdtree' +Plug 'jreybert/vimagit' +Plug 'tpope/vim-commentary' +Plug 'ap/vim-css-color' +" Plug 'ervandew/supertab' +" Plug 'neovim/nvim-lspconfig' +call plug#end() + +let g:gruvbox_termcolors = 16 +let g:gruvbox_italic = 1 +let g:onedark_config = { 'style': 'dark', 'term_colors': 'true', 'transparent': 'true' } +" let g:SuperTabDefaultCompletionType = "context" +" let g:SuperTabContextDefaultCompletionType = "" + +colorscheme gruvbox +syntax on +set number relativenumber +set splitbelow splitright +set clipboard+=unnamedplus +set encoding=utf-8 +set cursorline +set nohlsearch +set ignorecase +set smartcase +set mouse=a +set scroll=10 +set scrolloff=5 +set tabstop=4 +set shiftwidth=4 +set laststatus=2 +set completeopt=menuone,noinsert +" set omnifunc=v:lua.vim.lsp.omnifunc + +set statusline+=%< +set statusline+=\ %F%r%m +set statusline+=%= +set statusline+=\ %l/%L,\ %v +set statusline+=\ +set statusline+=%#StatusLineNC# +set statusline+=\ %Y +set statusline+=\ %{&fileencoding?&fileencoding:&encoding} +set statusline+=\[%{&fileformat}\] +set statusline+=\ + +set langmap=ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯХЪБЮ;ABCDEFGHIJKLMNOPQRSTUVWXYZ{}<>,фисвуапршолдьтщзйкыегмцчняхъэ;abcdefghijklmnopqrstuvwxyz[]' + +imap ;j +map h +map j +map k +map l +nnoremap f :NERDTreeToggle + +" lua require('lspconfig').pylsp.setup{} +" lua require('lspconfig').clangd.setup{filetypes = { "c", "cpp", "objc", "objcpp", "ch" }} +" lua require('lspconfig').gopls.setup{} +" lua require('lspconfig').rls.setup{} +" lua require('lspconfig').quick_lint_js.setup{} + +" nmap gd lua vim.lsp.buf.definition() +" nmap gD lua vim.lsp.buf.declaration() +" nmap gK lua vim.lsp.buf.hover() +" nmap gz lua vim.lsp.buf.references() +" nmap n lua vim.lsp.buf.rename() +" nmap b lua vim.lsp.buf.formatting() +" nmap a lua vim.lsp.buf.code_action() +" nmap w lua vim.lsp.buf.workspace_symbol() +" nmap l lua vim.diagnostic.setloclist() +" nmap ]g lua vim.diagnostic.goto_next() +" nmap [g lua vim.diagnostic.goto_prev() + +autocmd FileType c map e :w:exec '!gcc' shellescape(@%, 1) '-o out; ./out' +autocmd FileType python map e :w:exec '!python' shellescape(@%, 1) +autocmd FileType sh map e :w:exec '!sh' shellescape(@%, 1) +" autocmd VimEnter * hi Normal guibg=NONE ctermbg=NONE +autocmd VimLeave,VimSuspend * set guicursor=a:block-blinkon250 diff --git a/.config/picom/picom.conf b/.config/picom/picom.conf new file mode 100644 index 0000000..17b0b29 --- /dev/null +++ b/.config/picom/picom.conf @@ -0,0 +1,14 @@ +backend = "glx"; +vsync = true; +corner-radius = 20; + +rounded-corners-exclude = [ + "window_type = 'menu'", + "window_type = 'dropdown_menu'", + "window_type = 'popup_menu'", + "window_type = 'tooltip'", + "window_type = 'dnd'", + "class_g = 'dwm'", + "class_g = 'dmenu'", + "class_g = 'Dunst'" +]; diff --git a/.config/user-dirs.dirs b/.config/user-dirs.dirs new file mode 100644 index 0000000..98724c9 --- /dev/null +++ b/.config/user-dirs.dirs @@ -0,0 +1,11 @@ +XDG_CONFIG_HOME="$HOME/.config" +XDG_CACHE_HOME="$HOME/.cache" +XDG_DATA_HOME="$HOME/.local/share" +XDG_DOWNLOAD_DIR="$HOME/dl" +XDG_DOCUMENTS_DIR="$HOME/doc" +XDG_PICTURES_DIR="$HOME/pic" +XDG_MUSIC_DIR="$HOME/mus" +XDG_VIDEOS_DIR="$HOME/vid" +XDG_DESKTOP_DIR="$HOME/.local/share/desktop" +XDG_PUBLICSHARE_DIR="$HOME/.local/share/public" +XDG_TEMPLATES_DIR="$HOME/.local/share/templates" diff --git a/.config/yt-dlp/config b/.config/yt-dlp/config new file mode 100644 index 0000000..b26b3b5 --- /dev/null +++ b/.config/yt-dlp/config @@ -0,0 +1,3 @@ +--restrict-filenames +-f 'bestvideo[height<=?1080]+bestaudio/best' +-o $HOME/vid/"%(uploader)s--%(title)s.%(ext)s" diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc new file mode 100644 index 0000000..cf4874f --- /dev/null +++ b/.config/zathura/zathurarc @@ -0,0 +1,2 @@ +set selection-clipboard clipboard +set window-title-basename diff --git a/.local/share/applications/img.desktop b/.local/share/applications/img.desktop new file mode 100644 index 0000000..97c0d69 --- /dev/null +++ b/.local/share/applications/img.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Image viewer +Exec=/usr/local/bin/nsxiv -a %f diff --git a/.local/share/applications/mail.desktop b/.local/share/applications/mail.desktop new file mode 100644 index 0000000..2185112 --- /dev/null +++ b/.local/share/applications/mail.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Mail +Exec=/usr/local/bin/st -e mutt %u diff --git a/.local/share/applications/pdf.desktop b/.local/share/applications/pdf.desktop new file mode 100644 index 0000000..8c38677 --- /dev/null +++ b/.local/share/applications/pdf.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=PDF reader +Exec=/usr/bin/zathura %u diff --git a/.local/share/applications/text.desktop b/.local/share/applications/text.desktop new file mode 100644 index 0000000..41ee05f --- /dev/null +++ b/.local/share/applications/text.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Text editor +Exec=/usr/local/bin/st -e nvim %u diff --git a/.local/share/applications/torrent.desktop b/.local/share/applications/torrent.desktop new file mode 100644 index 0000000..f6d28d9 --- /dev/null +++ b/.local/share/applications/torrent.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Torrent +Exec=/usr/bin/env transadd %U diff --git a/.local/share/applications/vid.desktop b/.local/share/applications/vid.desktop new file mode 100644 index 0000000..c9fdc0e --- /dev/null +++ b/.local/share/applications/vid.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Video player +Exec=mpv %u diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..fe949dd --- /dev/null +++ b/.zprofile @@ -0,0 +1,20 @@ +export TERMINAL='st' +export EDITOR='nvim' +export BROWSER='brave' +export PATH="$PATH:$HOME/.local/bin" +export GOPATH="$HOME/.local/share/go" +export ANSIBLE_CONFIG="$HOME/.config/ansible/ansible.cfg" +export WINEDEBUG=-all +export AWT_TOOLKIT=MToolkit +export _JAVA_AWT_WM_NONREPARENTING=1 +export LESS=-R +export LESSHISTFILE=- +export LESS_TERMCAP_mb=$'\e[1;36m' +export LESS_TERMCAP_md=$'\e[1;36m' +export LESS_TERMCAP_me=$'\e[0m' +export LESS_TERMCAP_se=$'\e[0m' +export LESS_TERMCAP_so=$'\e[01;33m' +export LESS_TERMCAP_ue=$'\e[0m' +export LESS_TERMCAP_us=$'\e[0;4;34m' + +[ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && exec startx >/dev/null 2>&1 diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..9fd9283 --- /dev/null +++ b/.zshrc @@ -0,0 +1,39 @@ +autoload -U colors && colors +PS1="%B%{$fg[yellow]%}[%{$fg[green]%}%n%{$fg[yellow]%}@%{$fg[cyan]%}%M%{$fg[yellow]%}:%{$fg[yellow]%}%~%{$fg[yellow]%}]"$'\n'"%{$fg[yellow]%}>%b " +stty stop undef +HISTFILE=~/.histfile +HISTSIZE=10000 +SAVEHIST=10000 +setopt EXTENDED_HISTORY +unsetopt beep +bindkey -e +zstyle :compinstall filename '~/.zshrc' +autoload -Uz compinit +compinit +zstyle ':completion:*' menu select +zmodload zsh/complist +_comp_options+=(globdots) + +alias \ + ls='ls -v --color=auto --group-directories-first' \ + ll='ls -lhv --color=auto --group-directories-first' \ + la='ls -lhvA --color=auto --group-directories-first' \ + grep='grep --color=auto' \ + diff='diff --color=auto' \ + tree='tree -C' \ + cal='cal -ym' \ + cp='cp -v' \ + mv='mv -v' \ + rm='rm -vI' \ + mkdir='mkdir -pv' \ + bc='bc -lq' \ + ip='ip -c' \ + wttr='curl https://wttr.in' \ + mapscii='telnet mapscii.me' \ + mpva='mpv --no-video' \ + ytdl='yt-dlp' \ + re='zathura' \ + nsxiv='nsxiv -a' \ + units='units -H ""' + +source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh 2>/dev/null diff --git a/applications/img.desktop b/applications/img.desktop deleted file mode 100644 index 97c0d69..0000000 --- a/applications/img.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Image viewer -Exec=/usr/local/bin/nsxiv -a %f diff --git a/applications/mail.desktop b/applications/mail.desktop deleted file mode 100644 index 2185112..0000000 --- a/applications/mail.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Mail -Exec=/usr/local/bin/st -e mutt %u diff --git a/applications/pdf.desktop b/applications/pdf.desktop deleted file mode 100644 index 8c38677..0000000 --- a/applications/pdf.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=PDF reader -Exec=/usr/bin/zathura %u diff --git a/applications/text.desktop b/applications/text.desktop deleted file mode 100644 index 41ee05f..0000000 --- a/applications/text.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Text editor -Exec=/usr/local/bin/st -e nvim %u diff --git a/applications/torrent.desktop b/applications/torrent.desktop deleted file mode 100644 index f6d28d9..0000000 --- a/applications/torrent.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Torrent -Exec=/usr/bin/env transadd %U diff --git a/applications/vid.desktop b/applications/vid.desktop deleted file mode 100644 index c9fdc0e..0000000 --- a/applications/vid.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Video player -Exec=mpv %u diff --git a/dunst/dunstrc b/dunst/dunstrc deleted file mode 100644 index e1f3989..0000000 --- a/dunst/dunstrc +++ /dev/null @@ -1,37 +0,0 @@ -# vim: filetype=cfg - -[global] - width = 300 - height = 300 - origin = top-right - offset = 0x0 - frame_width = 3 - frame_color = "#00aa55" - corner_radius = 15 - gap_size = 10 - idle_threshold = 120 - font = monospace 9 - format = "%s\n%b" - alignment = center - vertical_alignment = center - show_indicators = no - default_icon = ~/.local/share/icons/bell.png - icon_position = left - min_icon_size = 32 - max_icon_size = 48 - -[urgency_low] - background = "#222222" - foreground = "#ffffff" - timeout = 10 - -[urgency_normal] - background = "#222222" - foreground = "#ffffff" - timeout = 10 - -[urgency_critical] - background = "#222222" - foreground = "#ffffff" - frame_color = "#aa2222" - timeout = 0 diff --git a/fontconfig/fonts.conf b/fontconfig/fonts.conf deleted file mode 100644 index 2549424..0000000 --- a/fontconfig/fonts.conf +++ /dev/null @@ -1,39 +0,0 @@ - - - - - serif - - Noto Serif - Joy Pixels - Noto Color Emoji - FontAwesome - - - - sans-serif - - Noto Sans - Joy Pixels - Noto Color Emoji - FontAwesome - - - - sans - - Noto Sans - Joy Pixels - Noto Color Emoji - FontAwesome - - - - monospace - - Roboto Mono - Liberation Mono - FontAwesome - - - diff --git a/gtk-2.0/gtkrc-2.0 b/gtk-2.0/gtkrc-2.0 deleted file mode 100644 index 573359b..0000000 --- a/gtk-2.0/gtkrc-2.0 +++ /dev/null @@ -1,3 +0,0 @@ -gtk-theme-name = "Arc-Gruvbox" -gtk-icon-theme-name = "Arc" -gtk-font-name = "Sans 11" diff --git a/gtk-3.0/settings.ini b/gtk-3.0/settings.ini deleted file mode 100644 index 0529883..0000000 --- a/gtk-3.0/settings.ini +++ /dev/null @@ -1,4 +0,0 @@ -[Settings] -gtk-theme-name = Arc-Gruvbox -gtk-icon-theme-name = Arc -gtk-font-name = Sans 11 diff --git a/mimeapps.list b/mimeapps.list deleted file mode 100644 index 7c86405..0000000 --- a/mimeapps.list +++ /dev/null @@ -1,17 +0,0 @@ -[Default Applications] -text/plain=text.desktop -text/xml=text.desktop -text/csv=text.desktop -text/x-shellscript=text.desktop -image/jpeg=img.desktop -image/png=img.desktop -image/gif=img.desktop -image/webp=img.desktop -video/x-matroska=vid.desktop -video/webm=vid.desktop -video/mp4=vid.desktop -application/pdf=pdf.desktop -application/postscript=pdf.desktop; -x-scheme-handler/mailto=mail.desktop; -x-scheme-handler/magnet=torrent.desktop; -application/x-bittorrent=torrent.desktop; diff --git a/mpd/mpd.conf b/mpd/mpd.conf deleted file mode 100644 index 9e9ff53..0000000 --- a/mpd/mpd.conf +++ /dev/null @@ -1,21 +0,0 @@ -music_directory "~/mus" -playlist_directory "~/.local/share/playlists" - -auto_update "yes" -bind_to_address "127.0.0.1" -restore_paused "yes" -max_output_buffer_size "16384" - -audio_output { - type "pulse" - name "pulse" - # type "alsa" - # name "ALSA" -} - -audio_output { - type "fifo" - name "Visualizer feed" - path "/tmp/mpd.fifo" - format "44100:16:2" -} diff --git a/mpv/input.conf b/mpv/input.conf deleted file mode 100644 index 921cb19..0000000 --- a/mpv/input.conf +++ /dev/null @@ -1,18 +0,0 @@ -l seek 5 -h seek -5 -L seek 2 exact -H seek -2 exact -j add volume -2 -k add volume +2 -a cycle audio -A cycle audio down -c cycle sub -C cycle sub down -b ab-loop -Ctrl+l seek 60 -Ctrl+h seek -60 -Ctrl+a cycle-values video-aspect-override "16:9" "4:3" "2.35:1" "-1" -WHEEL_UP add volume 2 -WHEEL_DOWN add volume -2 -WHEEL_LEFT ignore -WHEEL_RIGHT ignore diff --git a/mpv/mpv.conf b/mpv/mpv.conf deleted file mode 100644 index 5de0234..0000000 --- a/mpv/mpv.conf +++ /dev/null @@ -1,3 +0,0 @@ -osd-on-seek=msg-bar -volume-max=150 -ytdl-format=bestvideo[height<=?1080]+bestaudio/best diff --git a/ncmpcpp/bindings b/ncmpcpp/bindings deleted file mode 100644 index b2c33e5..0000000 --- a/ncmpcpp/bindings +++ /dev/null @@ -1,410 +0,0 @@ -def_key "j" - scroll_down - -def_key "k" - scroll_up - -def_key "h" - previous_column - -def_key "h" - master_screen - -def_key "l" - next_column - -def_key "l" - slave_screen - -def_key "mouse" - mouse_event - -def_key "up" - scroll_up - -def_key "shift-up" - select_item - scroll_up - -def_key "down" - scroll_down - -def_key "shift-down" - select_item - scroll_down - -def_key "[" - scroll_up_album - -def_key "]" - scroll_down_album - -def_key "{" - scroll_up_artist - -def_key "}" - scroll_down_artist - -def_key "page_up" - page_up - -def_key "page_down" - page_down - -def_key "home" - move_home - -def_key "end" - move_end - -def_key "insert" - select_item - -def_key "enter" - enter_directory - -def_key "enter" - toggle_output - -def_key "enter" - run_action - -def_key "enter" - play_item - -def_key "p" - add_item_to_playlist - -def_key "p" - toggle_lyrics_update_on_song_change - -def_key "p" - toggle_visualization_type - -def_key "d" - delete_playlist_items - -def_key "d" - delete_browser_items - -def_key "d" - delete_stored_playlist - -def_key "right" - next_column - -def_key "right" - slave_screen - -def_key "right" - volume_up - -def_key "+" - volume_up - -def_key "left" - previous_column - -def_key "left" - master_screen - -def_key "left" - volume_down - -def_key "-" - volume_down - -def_key ":" - execute_command - -def_key "tab" - next_screen - -def_key "shift-tab" - previous_screen - -def_key "f1" - show_help - -def_key "1" - show_playlist - -def_key "2" - show_browser - -def_key "2" - change_browse_mode - -def_key "3" - show_search_engine - -def_key "3" - reset_search_engine - -def_key "4" - show_media_library - -def_key "4" - toggle_media_library_columns_mode - -def_key "5" - show_playlist_editor - -def_key "6" - show_tag_editor - -def_key "7" - show_outputs - -def_key "8" - show_visualizer - -def_key "=" - show_clock - -def_key "@" - show_server_info - -def_key "s" - stop - -def_key "space" - pause - -def_key "J" - next - -def_key "K" - previous - -def_key "ctrl-h" - jump_to_parent_directory - -def_key "ctrl-h" - replay_song - -def_key "backspace" - jump_to_parent_directory - -def_key "backspace" - replay_song - -def_key "f" - seek_forward - -def_key "b" - seek_backward - -def_key "r" - toggle_repeat - -def_key "z" - toggle_random - -def_key "y" - save_tag_changes - -def_key "y" - start_searching - -def_key "y" - toggle_single - -def_key "R" - toggle_consume - -def_key "Y" - toggle_replay_gain_mode - -def_key "T" - toggle_add_mode - -def_key "|" - toggle_mouse - -def_key "#" - toggle_bitrate_visibility - -def_key "Z" - shuffle - -def_key "x" - toggle_crossfade - -def_key "X" - set_crossfade - -def_key "u" - update_database - -def_key "ctrl-s" - sort_playlist - -def_key "ctrl-s" - toggle_browser_sort_mode - -def_key "ctrl-s" - toggle_media_library_sort_mode - -def_key "ctrl-r" - reverse_playlist - -def_key "ctrl-f" - apply_filter - -def_key "ctrl-_" - select_found_items - -def_key "/" - find - -def_key "/" - find_item_forward - -def_key "?" - find - -def_key "?" - find_item_backward - -def_key "." - next_found_item - -def_key "," - previous_found_item - -def_key "w" - toggle_find_mode - -def_key "e" - edit_song - -def_key "e" - edit_library_tag - -def_key "e" - edit_library_album - -def_key "e" - edit_directory_name - -def_key "e" - edit_playlist_name - -def_key "e" - edit_lyrics - -def_key "i" - show_song_info - -def_key "I" - show_artist_info - -def_key "g" - jump_to_position_in_song - -def_key "L" - show_lyrics - -def_key "ctrl-v" - select_range - -def_key "v" - reverse_selection - -def_key "V" - remove_selection - -def_key "B" - select_album - -def_key "a" - add_selected_items - -def_key "c" - clear_playlist - -def_key "c" - clear_main_playlist - -def_key "C" - crop_playlist - -def_key "C" - crop_main_playlist - -def_key "m" - move_sort_order_up - -def_key "m" - move_selected_items_up - -def_key "n" - move_sort_order_down - -def_key "n" - move_selected_items_down - -def_key "M" - move_selected_items_to - -def_key "A" - add - -def_key "S" - save_playlist - -def_key "o" - jump_to_playing_song - -def_key "G" - jump_to_browser - -def_key "G" - jump_to_playlist_editor - -def_key "~" - jump_to_media_library - -def_key "E" - jump_to_tag_editor - -def_key "U" - toggle_playing_song_centering - -def_key "P" - toggle_display_mode - -def_key "\\" - toggle_interface - -def_key "!" - toggle_separators_between_albums - -# def_key "L" -# toggle_lyrics_fetcher - -def_key "F" - fetch_lyrics_in_background - -def_key "alt-l" - toggle_fetching_lyrics_in_background - -def_key "ctrl-l" - toggle_screen_lock - -def_key "`" - toggle_library_tag_type - -def_key "`" - refetch_lyrics - -def_key "`" - add_random_items - -def_key "ctrl-p" - set_selected_items_priority - -def_key "q" - quit - diff --git a/ncmpcpp/config b/ncmpcpp/config deleted file mode 100644 index 30f9c06..0000000 --- a/ncmpcpp/config +++ /dev/null @@ -1,20 +0,0 @@ -ncmpcpp_directory = ~/.local/share/ncmpcpp -lyrics_directory = ~/.local/share/lyrics -mpd_music_dir = ~/mus -mpd_host = localhost -mpd_port = 6600 -visualizer_type = spectrum -visualizer_look = ▮▮ -visualizer_color = 47, 83, 119, 155, 191, 227, 221, 215, 209, 203, 197, 161 -song_columns_list_format = (20)[]{a} (6f)[green]{NE} (30)[white]{t|f:Title} (30)[cyan]{b} (10)[blue]{y} (7f)[red]{l} -playlist_display_mode = columns -browser_display_mode = columns -seek_time = 5 -volume_change_step = 5 -progressbar_look = || -cyclic_scrolling = no -display_volume_level = yes -display_bitrate = yes -mouse_support = yes -lines_scrolled = 5 -external_editor = nvim diff --git a/newsboat/config b/newsboat/config deleted file mode 100644 index a176f2b..0000000 --- a/newsboat/config +++ /dev/null @@ -1,42 +0,0 @@ -auto-reload no -notify-always yes -notify-program notify-send -notify-format "newsboat: finished reload\n(%d new articles, %n unread articles, %f unread feeds)" -reload-threads 8 -text-width 150 -scrolloff 5 -history-limit 0 -player "mpv --no-video" -download-path "~/other/podcasts/%n" - -browser "surf %u" -macro m set browser "mpv --really-quiet %u" ; open-in-browser ; set browser "surf %u" -macro d set browser "setsid -f st -e yt-dlp %u" ; open-in-browser ; set browser "surf %u" - -bind-key j down -bind-key k up -bind-key J next-feed articlelist -bind-key K prev-feed articlelist -bind-key G end -bind-key g home -bind-key d pagedown -bind-key u pageup -bind-key l open -bind-key h quit -bind-key a toggle-article-read -bind-key n next-unread -bind-key N prev-unread -bind-key U show-urls -bind-key w pb-download - -color listfocus cyan black standout bold -color listnormal_unread yellow default bold -color listfocus_unread cyan black standout bold -color info default red bold -highlight article "(^Feed:.*|^Title:.*|^Author:.*)" yellow default -highlight article "(^Link:.*|^Date:.*)" cyan default -highlight article "\\[[0-9][0-9]*\\]" green default bold -highlight article "\\[image\\ [0-9]+\\]" yellow default bold -highlight article ":.*\\(link\\)$" blue default -highlight article ":.*\\(image\\)$" yellow default -highlight article ":.*\\(video\\)$" cyan default diff --git a/nvim/init.vim b/nvim/init.vim deleted file mode 100644 index 42e76be..0000000 --- a/nvim/init.vim +++ /dev/null @@ -1,88 +0,0 @@ -let mapleader="," - -if ! filereadable(system('echo -n "${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/plug.vim"')) - echo "Downloading junegunn/vim-plug to manage plugins..." - silent !mkdir -p ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/ - silent !curl "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim" > ${XDG_CONFIG_HOME:-$HOME/.config}/nvim/autoload/plug.vim - autocmd VimEnter * PlugInstall -endif - -call plug#begin() -Plug 'morhetz/gruvbox' -Plug 'navarasu/onedark.nvim' -Plug 'preservim/nerdtree' -Plug 'jreybert/vimagit' -Plug 'tpope/vim-commentary' -Plug 'ap/vim-css-color' -" Plug 'ervandew/supertab' -" Plug 'neovim/nvim-lspconfig' -call plug#end() - -let g:gruvbox_termcolors = 16 -let g:gruvbox_italic = 1 -let g:onedark_config = { 'style': 'dark', 'term_colors': 'true', 'transparent': 'true' } -" let g:SuperTabDefaultCompletionType = "context" -" let g:SuperTabContextDefaultCompletionType = "" - -colorscheme gruvbox -syntax on -set number relativenumber -set splitbelow splitright -set clipboard+=unnamedplus -set encoding=utf-8 -set cursorline -set nohlsearch -set ignorecase -set smartcase -set mouse=a -set scroll=10 -set scrolloff=5 -set tabstop=4 -set shiftwidth=4 -set laststatus=2 -set completeopt=menuone,noinsert -" set omnifunc=v:lua.vim.lsp.omnifunc - -set statusline+=%< -set statusline+=\ %F%r%m -set statusline+=%= -set statusline+=\ %l/%L,\ %v -set statusline+=\ -set statusline+=%#StatusLineNC# -set statusline+=\ %Y -set statusline+=\ %{&fileencoding?&fileencoding:&encoding} -set statusline+=\[%{&fileformat}\] -set statusline+=\ - -set langmap=ФИСВУАПРШОЛДЬТЩЗЙКЫЕГМЦЧНЯХЪБЮ;ABCDEFGHIJKLMNOPQRSTUVWXYZ{}<>,фисвуапршолдьтщзйкыегмцчняхъэ;abcdefghijklmnopqrstuvwxyz[]' - -imap ;j -map h -map j -map k -map l -nnoremap f :NERDTreeToggle - -" lua require('lspconfig').pylsp.setup{} -" lua require('lspconfig').clangd.setup{filetypes = { "c", "cpp", "objc", "objcpp", "ch" }} -" lua require('lspconfig').gopls.setup{} -" lua require('lspconfig').rls.setup{} -" lua require('lspconfig').quick_lint_js.setup{} - -" nmap gd lua vim.lsp.buf.definition() -" nmap gD lua vim.lsp.buf.declaration() -" nmap gK lua vim.lsp.buf.hover() -" nmap gz lua vim.lsp.buf.references() -" nmap n lua vim.lsp.buf.rename() -" nmap b lua vim.lsp.buf.formatting() -" nmap a lua vim.lsp.buf.code_action() -" nmap w lua vim.lsp.buf.workspace_symbol() -" nmap l lua vim.diagnostic.setloclist() -" nmap ]g lua vim.diagnostic.goto_next() -" nmap [g lua vim.diagnostic.goto_prev() - -autocmd FileType c map e :w:exec '!gcc' shellescape(@%, 1) '-o out; ./out' -autocmd FileType python map e :w:exec '!python' shellescape(@%, 1) -autocmd FileType sh map e :w:exec '!sh' shellescape(@%, 1) -" autocmd VimEnter * hi Normal guibg=NONE ctermbg=NONE -autocmd VimLeave,VimSuspend * set guicursor=a:block-blinkon250 diff --git a/picom/picom.conf b/picom/picom.conf deleted file mode 100644 index 17b0b29..0000000 --- a/picom/picom.conf +++ /dev/null @@ -1,14 +0,0 @@ -backend = "glx"; -vsync = true; -corner-radius = 20; - -rounded-corners-exclude = [ - "window_type = 'menu'", - "window_type = 'dropdown_menu'", - "window_type = 'popup_menu'", - "window_type = 'tooltip'", - "window_type = 'dnd'", - "class_g = 'dwm'", - "class_g = 'dmenu'", - "class_g = 'Dunst'" -]; diff --git a/user-dirs.dirs b/user-dirs.dirs deleted file mode 100644 index 98724c9..0000000 --- a/user-dirs.dirs +++ /dev/null @@ -1,11 +0,0 @@ -XDG_CONFIG_HOME="$HOME/.config" -XDG_CACHE_HOME="$HOME/.cache" -XDG_DATA_HOME="$HOME/.local/share" -XDG_DOWNLOAD_DIR="$HOME/dl" -XDG_DOCUMENTS_DIR="$HOME/doc" -XDG_PICTURES_DIR="$HOME/pic" -XDG_MUSIC_DIR="$HOME/mus" -XDG_VIDEOS_DIR="$HOME/vid" -XDG_DESKTOP_DIR="$HOME/.local/share/desktop" -XDG_PUBLICSHARE_DIR="$HOME/.local/share/public" -XDG_TEMPLATES_DIR="$HOME/.local/share/templates" diff --git a/yt-dlp/config b/yt-dlp/config deleted file mode 100644 index b26b3b5..0000000 --- a/yt-dlp/config +++ /dev/null @@ -1,3 +0,0 @@ ---restrict-filenames --f 'bestvideo[height<=?1080]+bestaudio/best' --o $HOME/vid/"%(uploader)s--%(title)s.%(ext)s" diff --git a/zathura/zathurarc b/zathura/zathurarc deleted file mode 100644 index cf4874f..0000000 --- a/zathura/zathurarc +++ /dev/null @@ -1,2 +0,0 @@ -set selection-clipboard clipboard -set window-title-basename diff --git a/zprofile b/zprofile deleted file mode 100644 index fe949dd..0000000 --- a/zprofile +++ /dev/null @@ -1,20 +0,0 @@ -export TERMINAL='st' -export EDITOR='nvim' -export BROWSER='brave' -export PATH="$PATH:$HOME/.local/bin" -export GOPATH="$HOME/.local/share/go" -export ANSIBLE_CONFIG="$HOME/.config/ansible/ansible.cfg" -export WINEDEBUG=-all -export AWT_TOOLKIT=MToolkit -export _JAVA_AWT_WM_NONREPARENTING=1 -export LESS=-R -export LESSHISTFILE=- -export LESS_TERMCAP_mb=$'\e[1;36m' -export LESS_TERMCAP_md=$'\e[1;36m' -export LESS_TERMCAP_me=$'\e[0m' -export LESS_TERMCAP_se=$'\e[0m' -export LESS_TERMCAP_so=$'\e[01;33m' -export LESS_TERMCAP_ue=$'\e[0m' -export LESS_TERMCAP_us=$'\e[0;4;34m' - -[ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && exec startx >/dev/null 2>&1 diff --git a/zshrc b/zshrc deleted file mode 100644 index 9fd9283..0000000 --- a/zshrc +++ /dev/null @@ -1,39 +0,0 @@ -autoload -U colors && colors -PS1="%B%{$fg[yellow]%}[%{$fg[green]%}%n%{$fg[yellow]%}@%{$fg[cyan]%}%M%{$fg[yellow]%}:%{$fg[yellow]%}%~%{$fg[yellow]%}]"$'\n'"%{$fg[yellow]%}>%b " -stty stop undef -HISTFILE=~/.histfile -HISTSIZE=10000 -SAVEHIST=10000 -setopt EXTENDED_HISTORY -unsetopt beep -bindkey -e -zstyle :compinstall filename '~/.zshrc' -autoload -Uz compinit -compinit -zstyle ':completion:*' menu select -zmodload zsh/complist -_comp_options+=(globdots) - -alias \ - ls='ls -v --color=auto --group-directories-first' \ - ll='ls -lhv --color=auto --group-directories-first' \ - la='ls -lhvA --color=auto --group-directories-first' \ - grep='grep --color=auto' \ - diff='diff --color=auto' \ - tree='tree -C' \ - cal='cal -ym' \ - cp='cp -v' \ - mv='mv -v' \ - rm='rm -vI' \ - mkdir='mkdir -pv' \ - bc='bc -lq' \ - ip='ip -c' \ - wttr='curl https://wttr.in' \ - mapscii='telnet mapscii.me' \ - mpva='mpv --no-video' \ - ytdl='yt-dlp' \ - re='zathura' \ - nsxiv='nsxiv -a' \ - units='units -H ""' - -source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh 2>/dev/null -- cgit v1.2.3