summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/.Xresources0
-rw-r--r--.config/.bashrc4
-rw-r--r--.config/.emacs17
-rw-r--r--.config/.emacs~24
-rw-r--r--.config/.tmux.conf3
-rw-r--r--.config/.vimrc10
-rw-r--r--.config/mpd.conf5
-rw-r--r--README.md3
-rwxr-xr-xscripts/startdwm10
-rw-r--r--web1
10 files changed, 19 insertions, 58 deletions
diff --git a/.config/.Xresources b/.config/.Xresources
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/.config/.Xresources
diff --git a/.config/.bashrc b/.config/.bashrc
index 5c72cd3..5125b22 100644
--- a/.config/.bashrc
+++ b/.config/.bashrc
@@ -5,14 +5,12 @@ PS1="\w > "
PS2=">> "
PATH="${HOME}/clone/dotfiles/scripts:${PATH}"
+PATH="${HOME}/.local/bin:${PATH}"
EDITOR='vim'
LOGDIR='~/log'
alias log="${EDITOR} ${LOGDIR}/`date +%d_%m_%Y`"
-alias vimconfig="${EDITOR} ~/.vimrc"
-alias nvimconfig="${EDITOR} ~/.config/nvim/init.lua"
-alias weather='curl wttr.in'
if command -v startx >/dev/null 2>&1 ; then
if [[ -z $DISPLAY ]] && [[ $(tty) = "/dev/tty1" ]]; then
diff --git a/.config/.emacs b/.config/.emacs
index 8b1b58c..7cbf3ea 100644
--- a/.config/.emacs
+++ b/.config/.emacs
@@ -3,23 +3,14 @@
(tool-bar-mode 0)
(scroll-bar-mode 0)
+;; functional
+(set-default 'ring-bell-function 'ignore)
+
;; visual
(setq inhibit-startup-screen t)
(set-default 'truncate-lines t)
(add-to-list 'default-frame-alist '(font . "Iosevka-14"))
+(load-theme 'wombat t)
;; keymaps
(keymap-global-set "C-c c" 'compile)
-
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(custom-enabled-themes '(wheatgrass)))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )
diff --git a/.config/.emacs~ b/.config/.emacs~
deleted file mode 100644
index 9dc1b32..0000000
--- a/.config/.emacs~
+++ /dev/null
@@ -1,24 +0,0 @@
-;; modes
-(menu-bar-mode 0)
-(tool-bar-mode 0)
-(scroll-bar-mode 0)
-
-;; visual
-(setq inhibit-startup-screen t)
-(set-default 'truncate-lines t)
-(add-to-list 'default-frame-alist '(font . "Iosevka-14"))
-
-;; keymaps
-(keymap-global-set "C-c c" 'compile)
-(custom-set-variables
- ;; custom-set-variables was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(custom-enabled-themes '(wheatgrass)))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- )
diff --git a/.config/.tmux.conf b/.config/.tmux.conf
index 77f32f1..12fb1b5 100644
--- a/.config/.tmux.conf
+++ b/.config/.tmux.conf
@@ -1,6 +1,3 @@
set-option -g prefix M-a
unbind-key C-b
bind-key M-a send-prefix
-
-set -g @plugin 'tmux-plugins/tpm'
-run '~/.tmux/plugins/tpm/tpm'
diff --git a/.config/.vimrc b/.config/.vimrc
index 73356ae..a04badd 100644
--- a/.config/.vimrc
+++ b/.config/.vimrc
@@ -1,8 +1,6 @@
"visual
syntax on
let g:netrw_banner=0
-set number
-set relativenumber
set termguicolors
set background=dark
colorscheme quiet
@@ -17,7 +15,6 @@ hi incsearch guifg=#dcade6 guibg=#242829
hi MatchParen guifg=#dcade6 guibg=#242829
"formatting
-"set textwidth=80
set nowrap
autocmd BufRead,BufNewFile *.c {
set cindent
@@ -26,8 +23,8 @@ autocmd BufRead,BufNewFile *.c {
"functional
set clipboard+=unnamedplus
-set nohls
-set is
+set hlsearch
+set incsearch
"bindings
let mapleader=","
@@ -40,5 +37,6 @@ map <leader>q :q<cr>
set makeprg=./build.sh
map <leader>m :make!<cr>:cope<cr>
map <leader>n :cnext<cr>
-map <leader>n :cfirst<cr>
+map <leader>f :cfirst<cr>
+map <leader>o :copen<cr>
map <leader>g :grep!<space>-rn<space><space>.<left><left>''<left>
diff --git a/.config/mpd.conf b/.config/mpd.conf
index 77018bf..073ab9d 100644
--- a/.config/mpd.conf
+++ b/.config/mpd.conf
@@ -1,5 +1,6 @@
music_directory "~/music"
playlist_directory "~/.config/mpd/playlists"
+state_file "~/.config/mpd/state"
auto_update "yes"
bind_to_address "127.0.0.1"
@@ -7,6 +8,6 @@ restore_paused "yes"
max_output_buffer_size "16384"
audio_output {
- type "pipewire"
- name "PipeWire Sound Server"
+ type "pulse"
+ name "Pulse device"
}
diff --git a/README.md b/README.md
index 6111a37..e3835fe 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,9 @@
## My configuration files.
TODO(pryazha):
- make a script to create symbolic links (maybe?)
-Also there is repos for [dwm](https://git.suckles.org/dwm)/st/slstatus
+Also there is repos for [dwm](https://git.suckles.org/dwm)
Some of the progs I use:
- lagrange (for gemini protocol)
-- librewolf
- libreoffice
- zathura
diff --git a/scripts/startdwm b/scripts/startdwm
index 70938fa..56ea036 100755
--- a/scripts/startdwm
+++ b/scripts/startdwm
@@ -1,10 +1,10 @@
#!/bin/sh
-feh --bg-center $HOME/pictures/wallpapers/akia.jpg
+feh --bg-scale ~/pictures/wallpapers/vocaloid.png
dwmbar &
-dunst &
+xrdb -merge ~/.Xresources
-while true ; do
- dwm 2> ~/.dwm.log
-done
+mpd
+
+dwm 2> ~/.dwm.log
diff --git a/web b/web
index a01f80d..42fd2c8 100644
--- a/web
+++ b/web
@@ -5,3 +5,4 @@ projecteuler.net
lainchan.org
https://www.susanjfowler.com/blog/2016/8/13/so-you-want-to-learn-physics
badplace.eu
+https://gutenberg.org/