diff options
| -rw-r--r-- | .config/.Xresources | 4 | ||||
| -rw-r--r-- | .config/.emacs | 13 | ||||
| -rw-r--r-- | .config/.profile | 3 | ||||
| -rw-r--r-- | .config/.vimrc | 9 | ||||
| -rw-r--r-- | .config/alacritty/alacritty.toml | 56 | ||||
| -rw-r--r-- | .config/mpd.conf | 5 | ||||
| -rw-r--r-- | humor | 8 | ||||
| -rw-r--r-- | projects | 4 | ||||
| -rwxr-xr-x | scripts/back | 2 | ||||
| -rwxr-xr-x | scripts/backup | 2 | ||||
| -rw-r--r-- | web | 2 |
11 files changed, 39 insertions, 69 deletions
diff --git a/.config/.Xresources b/.config/.Xresources index 899b99a..3cbd50e 100644 --- a/.config/.Xresources +++ b/.config/.Xresources @@ -1,4 +1,6 @@ xterm*background: black xterm*foreground: white +; xterm*faceName: FantasqueSansM Nerd Font +; xterm*faceSize: 16 xterm*font: -*-fixed-medium-*-*-*-18-*-*-*-*-*-iso10646-* -xterm*geometry: 100x40 +; xterm*geometry: 100x40 diff --git a/.config/.emacs b/.config/.emacs index 4ac5da8..4e8c00d 100644 --- a/.config/.emacs +++ b/.config/.emacs @@ -5,19 +5,22 @@ ;; functional (set-default 'ring-bell-function 'ignore) -;; (setq c-basic-offset 8) -;; (setq indent-line-function 'insert-tab) +(setq c-basic-offset 8) +(setq indent-line-function 'insert-tab) (defun hook-c () (setq c-set-style "k&r") (setq indent-tabs-mode nil)) (add-hook 'c-mode-common-hook 'hook-c) +(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/") + ;; keybinds (keymap-global-set "C-c c" 'compile) ;; visual (setq inhibit-startup-screen t) -(set-default 'truncate-lines t) -(add-to-list 'default-frame-alist '(font . "Iosevka-16")) -(load-theme 'wombat t) +;; (set-default 'truncate-lines t) +(add-to-list 'default-frame-alist '(font . "FantasqueSansM Nerd Font-16")) + +(load-theme 'zenburn t) diff --git a/.config/.profile b/.config/.profile index 800927f..d32d438 100644 --- a/.config/.profile +++ b/.config/.profile @@ -6,3 +6,6 @@ PATH="$HOME/.local/bin:$PATH" EDITOR='vi' LOGDIR='~/log' + +PLAN9=/home/pryazha/clone/plan9 export PLAN9 +PATH=$PATH:$PLAN9/bin export PATH diff --git a/.config/.vimrc b/.config/.vimrc index 8ad26f8..066398e 100644 --- a/.config/.vimrc +++ b/.config/.vimrc @@ -1,8 +1,3 @@ -call plug#begin() -Plug 'junegunn/goyo.vim' -Plug 'junegunn/fzf.vim' -call plug#end() - "visual syntax on let g:netrw_banner=0 @@ -45,7 +40,7 @@ set clipboard+=unnamedplus set nohlsearch set incsearch -"bindings +"keybinds let mapleader="," map <leader>e :Ex<cr> @@ -53,7 +48,7 @@ map <leader>v :Vex<cr> map <leader>s :Sex<cr> map <leader>q :q<cr> -set makeprg=./build.sh +set makeprg=./b map <leader>m :make!<cr>:cope<cr> map <leader>n :cnext<cr> map <leader>g :grep!<space>-rn<space><space>.<left><left>''<left> diff --git a/.config/alacritty/alacritty.toml b/.config/alacritty/alacritty.toml index 57db335..396364f 100644 --- a/.config/alacritty/alacritty.toml +++ b/.config/alacritty/alacritty.toml @@ -1,56 +1,10 @@ [window] -padding = { x = 4, y = 4 } +padding = { x = 2, y = 2 } [font] -normal = { family = "FantasqueSansM Nerd Font", style = "Regular" } -size = 15 - -# [colors.primary] -# background = '#242829' -# foreground = '#dcd7d7' - -# [colors.normal] -# black = '#242829' -# red = '#e6507a' -# green = '#439085' -# yellow = '#2e89a5' -# blue = '#84b8a9' -# magenta = '#e18d8e' -# cyan = '#5cadc6' -# white = '#dcd7d7' - -# [colors.bright] -# black = '#242829' -# red = '#e6507a' -# green = '#439085' -# yellow = '#2e89a5' -# blue = '#84b8a9' -# magenta = '#e18d8e' -# cyan = '#5cadc6' -# white = '#dcd7d7' -# Colors (Kanagawa Wave) -# Source https//github.com/rebelot/kanagawa.nvim +normal = { family = "FantasqueSansM Nerd Font" } +size = 11 [colors.primary] -background = '#242829' -foreground = '#dcd7d7' - -[colors.normal] -black = '#242829' -red = '#df2683' -green = '#13868c' -yellow = '#fcfcdf' -blue = '#1a86b9' -magenta = '#bc7fd2' -cyan = '#7cc7d6' -white = '#4a4b4b' - -[colors.bright] -black = '#7b8b99' -red = '#df2683' -green = '#13868c' -yellow = '#fcfcdf' -blue = '#1a86b9' -magenta = '#bc7fd2' -cyan = '#7cc7d6' -white = '#dcd7d7' +foreground = "#ffffff" +background = "#000000" diff --git a/.config/mpd.conf b/.config/mpd.conf index fc93a33..5f917ec 100644 --- a/.config/mpd.conf +++ b/.config/mpd.conf @@ -5,3 +5,8 @@ state_file "~/.mpd/state" auto_update "yes" bind_to_address "127.0.0.1" restore_paused "yes" + +audio_output { + type "pipewire" + name "pipewire output" +} @@ -0,0 +1,8 @@ +Forgetting the Most Important Point (Score:4, Funny) +by duck_prime (585628) on Thursday February 05, @08:45PM (#8197142) + +> For learning, we don't have to learn assembly first anymore, you can start with any language. I think it is good to take a two pronged approach. Learn C first, and at the same time, start learning digital logic. [...] When one is comfortable with both, I think learning assembly is much easier. + +You are missing the One True Purpose of assembly language, and the One True Reason everyone should learn assembly first: + +Nothing else in the Universe can make students grateful -- grateful! -- to be allowed to use C @@ -1,4 +1,4 @@ -projects/projecteuler +dev/projecteuler clone/quakespasm/Quake clone/prge -projects +dev diff --git a/scripts/back b/scripts/back index 3ad9428..6525eb2 100755 --- a/scripts/back +++ b/scripts/back @@ -26,7 +26,7 @@ books log music pictures -projects +dev studies ' start=$PWD diff --git a/scripts/backup b/scripts/backup index e41782d..a95de20 100755 --- a/scripts/backup +++ b/scripts/backup @@ -1,7 +1,7 @@ #!/bin/sh directories=" -$HOME/projects +$HOME/dev $HOME/books $HOME/log $HOME/music @@ -10,8 +10,8 @@ gameprogrammingpatterns.com https://www.avito.ru/voronezh/knigi_i_zhurnaly/knigi_matematika_algebra_zadachi_uchebniki_sssr_7705248789?slocation=644200&context=H4sIAAAAAAAA_wE_AMD_YToyOntzOjEzOiJsb2NhbFByaW9yaXR5IjtiOjA7czoxOiJ4IjtzOjE2OiJ5WmZUZUhsQ2JLRTZWT0J5Ijt9yTLXXj8AAAA https://www.avito.ru/chelyabinsk/knigi_i_zhurnaly/knigi_po_matematike_i_programmirovaniyu.ch.10_7673167883?slocation=644200&context=H4sIAAAAAAAA_wE_AMD_YToyOntzOjEzOiJsb2NhbFByaW9yaXR5IjtiOjA7czoxOiJ4IjtzOjE2OiJzVXlkUkJxeUF3ZE9ZclNJIjt9Pbvx1T8AAAA https://www.avito.ru/perm/knigi_i_zhurnaly/matematika_fizika_biologiya_informatika_7644972058?context=H4sIAAAAAAAA_wE_AMD_YToyOntzOjEzOiJsb2NhbFByaW9yaXR5IjtiOjA7czoxOiJ4IjtzOjE2OiJ5WmZUZUhsQ2JLRTZWT0J5Ijt9yTLXXj8AAAA -https://www.avito.ru/ramenskoe/knigi_i_zhurnaly/knigi_po_matematike_7653928389?slocation=644200&context=H4sIAAAAAAAA_wE_AMD_YToyOntzOjEzOiJsb2NhbFByaW9yaXR5IjtiOjA7czoxOiJ4IjtzOjE2OiJ5WmZUZUhsQ2JLRTZWT0J5Ijt9yTLXXj8AAAA https://www.avito.ru/tver/knigi_i_zhurnaly/knigi_po_matematike_i_fizike_sssr_7551775033?slocation=644200&context=H4sIAAAAAAAA_wE_AMD_YToyOntzOjEzOiJsb2NhbFByaW9yaXR5IjtiOjA7czoxOiJ4IjtzOjE2OiJ5WmZUZUhsQ2JLRTZWT0J5Ijt9yTLXXj8AAAA https://www.avito.ru/moskva/knigi_i_zhurnaly/knigi_po_matematike_i_fizike_7716943833?slocation=644200&context=H4sIAAAAAAAA_wE_AMD_YToyOntzOjEzOiJsb2NhbFByaW9yaXR5IjtiOjA7czoxOiJ4IjtzOjE2OiJ5WmZUZUhsQ2JLRTZWT0J5Ijt9yTLXXj8AAAA#extended https://www.avito.ru/perm/knigi_i_zhurnaly/uchebnik_m._e._nisenbaum_latinskiy_yazyk_7583429730?context=H4sIAAAAAAAA_wFXAKj_YToyOntzOjEzOiJsb2NhbFByaW9yaXR5IjtiOjA7czoxOiJ4IjtzOjQwOiJlY2YxZjQxYmZlNGRmNjIzZDU5Zjg4MTI5MDBhZDViZmQ1NDc4NzIyIjt95fXlq1cAAAA https://www.avito.ru/elista/knigi_i_zhurnaly/ray_bradbury_fahrenheit_451_roman_reya_bredberi_7731717903?slocation=644200&context=H4sIAAAAAAAA_wE_AMD_YToyOntzOjEzOiJsb2NhbFByaW9yaXR5IjtiOjA7czoxOiJ4IjtzOjE2OiJMWEIxaTRlcEM4M1BLaDQ3Ijt91DYZ8T8AAAA +softpanorama.org |
