Compare commits
15 Commits
711d8019ca
...
9e36d141ed
Author | SHA1 | Date |
---|---|---|
an | 9e36d141ed | |
an | 0467b85a07 | |
an | 70717c72e9 | |
an | aae3799fa4 | |
an | 4599dd3319 | |
an | 445bce3c68 | |
an | 16c945e22d | |
an | 631402fc33 | |
an | 8f3fe6aa48 | |
an | 13feb03879 | |
an | 790fcf9ae0 | |
an | 00822c5302 | |
an | 3e27aca08d | |
an | 69d1565bbb | |
an | 9b6c19e359 |
|
@ -5,3 +5,5 @@
|
||||||
editor = vi
|
editor = vi
|
||||||
[gui]
|
[gui]
|
||||||
spellingdictionary = none
|
spellingdictionary = none
|
||||||
|
[pull]
|
||||||
|
ff = only
|
||||||
|
|
|
@ -1,4 +1 @@
|
||||||
.include /etc/pulse/default.pa
|
.include /etc/pulse/default.pa
|
||||||
|
|
||||||
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
|
|
||||||
#load-module module-rtp-send source=rtp.monitor destination_ip=224.0.0.56 port=4777 loop=1
|
|
||||||
|
|
|
@ -51,11 +51,6 @@
|
||||||
(agw-set-key "b d" #'kill-this-buffer)
|
(agw-set-key "b d" #'kill-this-buffer)
|
||||||
(agw-set-key "b e" #'ibuffer)
|
(agw-set-key "b e" #'ibuffer)
|
||||||
|
|
||||||
(agw-set-key "h" #'windmove-left)
|
|
||||||
(agw-set-key "j" #'windmove-down)
|
|
||||||
(agw-set-key "k" #'windmove-up)
|
|
||||||
(agw-set-key "l" #'windmove-right)
|
|
||||||
|
|
||||||
(agw-set-key "m j" #'agw-create-back-link)
|
(agw-set-key "m j" #'agw-create-back-link)
|
||||||
(agw-set-key "m k" #'agw-create-memb-link)
|
(agw-set-key "m k" #'agw-create-memb-link)
|
||||||
(agw-set-key "m l" #'agw-create-mthd-link)
|
(agw-set-key "m l" #'agw-create-mthd-link)
|
||||||
|
@ -63,6 +58,8 @@
|
||||||
(agw-set-key "a" #'org-archive-to-archive-sibling)
|
(agw-set-key "a" #'org-archive-to-archive-sibling)
|
||||||
(agw-set-key "A" #'org-force-cycle-archived)
|
(agw-set-key "A" #'org-force-cycle-archived)
|
||||||
|
|
||||||
|
(agw-set-key "k" #'deadgrep)
|
||||||
|
|
||||||
(agw-key-map-mode)
|
(agw-key-map-mode)
|
||||||
|
|
||||||
(global-set-key (kbd "C-x C-<tab>") #'agw-key-map-mode)
|
(global-set-key (kbd "C-x C-<tab>") #'agw-key-map-mode)
|
||||||
|
@ -104,6 +101,15 @@
|
||||||
:init
|
:init
|
||||||
(defvaralias 'js-indent-level 'tab-width))
|
(defvaralias 'js-indent-level 'tab-width))
|
||||||
|
|
||||||
|
(use-package css-mode
|
||||||
|
:init
|
||||||
|
(defvaralias 'css-indent-offset 'tab-width))
|
||||||
|
|
||||||
|
(use-package lua-mode
|
||||||
|
:ensure t
|
||||||
|
:init
|
||||||
|
(setq lua-indent-nested-block-content-align nil))
|
||||||
|
|
||||||
(use-package json-mode
|
(use-package json-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:after js
|
:after js
|
||||||
|
@ -111,24 +117,17 @@
|
||||||
(defvaralias 'json-reformat:indent-width 'tab-width))
|
(defvaralias 'json-reformat:indent-width 'tab-width))
|
||||||
|
|
||||||
(use-package mmm-mode
|
(use-package mmm-mode
|
||||||
:ensure t
|
:ensure t)
|
||||||
|
|
||||||
|
(use-package mmm-auto
|
||||||
:init
|
:init
|
||||||
(setq mmm-submode-decoration-level 0)
|
(setq mmm-submode-decoration-level 0)
|
||||||
:config
|
:config
|
||||||
(require 'mmm-auto)
|
(mmm-add-mode-ext-class 'ruby-mode nil 'here-doc))
|
||||||
(mmm-add-group 'rust-doc
|
|
||||||
'((rust-doc-line
|
(use-package python
|
||||||
:submode markdown-mode
|
:init
|
||||||
:face mmm-comment-submode-face
|
(defvaralias 'python-indent-offset 'tab-width))
|
||||||
:front "///\s+"
|
|
||||||
:back "\n")
|
|
||||||
(rust-doc-block
|
|
||||||
:submode markdown-mode
|
|
||||||
:face mmm-comment-submode-face
|
|
||||||
:front "/\\*\\*"
|
|
||||||
:back "\\*\\*/")))
|
|
||||||
(mmm-add-mode-ext-class 'ruby-mode nil 'here-doc)
|
|
||||||
(mmm-add-mode-ext-class 'rust-mode nil 'rust-doc))
|
|
||||||
|
|
||||||
(use-package cc-mode
|
(use-package cc-mode
|
||||||
:mode (("\\.zsc\\'" . c-mode)
|
:mode (("\\.zsc\\'" . c-mode)
|
||||||
|
@ -167,7 +166,6 @@
|
||||||
|
|
||||||
(use-package rust-mode
|
(use-package rust-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:hook ((rust-mode . mmm-mode))
|
|
||||||
:init
|
:init
|
||||||
(defvaralias 'rust-indent-offset 'tab-width))
|
(defvaralias 'rust-indent-offset 'tab-width))
|
||||||
|
|
||||||
|
@ -231,7 +229,7 @@
|
||||||
;; adjustments
|
;; adjustments
|
||||||
(use-package smart-tabs-mode
|
(use-package smart-tabs-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:after (fish-mode glsl-mode rust-mode)
|
:after (fish-mode glsl-mode rust-mode lua-mode)
|
||||||
:config
|
:config
|
||||||
(smart-tabs-add-language-support powershell powershell-mode-hook
|
(smart-tabs-add-language-support powershell powershell-mode-hook
|
||||||
((powershell-indent-line . powershell-indent)))
|
((powershell-indent-line . powershell-indent)))
|
||||||
|
@ -242,12 +240,15 @@
|
||||||
(smart-tabs-add-language-support glsl glsl-mode-hook
|
(smart-tabs-add-language-support glsl glsl-mode-hook
|
||||||
((c-indent-line . c-basic-offset)
|
((c-indent-line . c-basic-offset)
|
||||||
(c-indent-region . c-basic-offset)))
|
(c-indent-region . c-basic-offset)))
|
||||||
|
(smart-tabs-add-language-support lua lua-mode-hook
|
||||||
|
((lua-indent-line . lua-indent-level)))
|
||||||
(smart-tabs-insinuate
|
(smart-tabs-insinuate
|
||||||
'c
|
'c
|
||||||
'fish
|
'fish
|
||||||
|
'glsl
|
||||||
'javascript
|
'javascript
|
||||||
'rust
|
'lua
|
||||||
'glsl))
|
'rust))
|
||||||
|
|
||||||
(use-package ialign
|
(use-package ialign
|
||||||
:ensure t
|
:ensure t
|
||||||
|
@ -364,8 +365,6 @@
|
||||||
:config
|
:config
|
||||||
(evil-mode t)
|
(evil-mode t)
|
||||||
|
|
||||||
(evil-global-set-key 'normal (kbd "K w") #'deadgrep)
|
|
||||||
|
|
||||||
(evil-global-set-key 'visual (kbd "g s") #'sort-lines)
|
(evil-global-set-key 'visual (kbd "g s") #'sort-lines)
|
||||||
(evil-global-set-key 'visual (kbd "g a") #'ialign))
|
(evil-global-set-key 'visual (kbd "g a") #'ialign))
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
|
if type -q llvmenv
|
||||||
|
set -gxa PATH (llvmenv prefix)/bin
|
||||||
|
end
|
||||||
|
|
||||||
|
## EOF
|
|
@ -15,6 +15,7 @@ left_side_panel_visible = False
|
||||||
right_side_panel_visible = False
|
right_side_panel_visible = False
|
||||||
hide-wine-non-esync-version-warning = True
|
hide-wine-non-esync-version-warning = True
|
||||||
hide-wine-systemwide-install-warning = True
|
hide-wine-systemwide-install-warning = True
|
||||||
|
show_hidden_games = false
|
||||||
|
|
||||||
[list view]
|
[list view]
|
||||||
name_column_width = 200
|
name_column_width = 200
|
||||||
|
|
|
@ -5,6 +5,8 @@ events {
|
||||||
}
|
}
|
||||||
|
|
||||||
http {
|
http {
|
||||||
|
disable_symlinks off;
|
||||||
|
|
||||||
include mime.types;
|
include mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
sendfile on;
|
sendfile on;
|
||||||
|
@ -12,53 +14,38 @@ http {
|
||||||
gzip on;
|
gzip on;
|
||||||
charset utf-8;
|
charset utf-8;
|
||||||
|
|
||||||
|
upstream php-handler {
|
||||||
|
server unix:/run/php-fpm.sock;
|
||||||
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
server_name heavenisin.space;
|
server_name heavenisin.space;
|
||||||
|
index index.html index.htm;
|
||||||
|
|
||||||
include common.conf;
|
include common.conf;
|
||||||
|
root /var/www/pub_http/;
|
||||||
|
|
||||||
location /gopher/ {
|
location /temp {
|
||||||
root /srv;
|
alias /tmp/hosting/;
|
||||||
index index.html index.htm;
|
|
||||||
autoindex on;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
|
||||||
root /srv/http/pub;
|
|
||||||
index index.html index.htm;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
server {
|
|
||||||
listen 80;
|
|
||||||
server_name mu.heavenisin.space;
|
|
||||||
|
|
||||||
include common.conf;
|
|
||||||
|
|
||||||
location / {
|
|
||||||
proxy_pass http://127.0.0.1:8000/;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
upstream php-handler {
|
|
||||||
server unix:/run/php-fpm/php-fpm.sock;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 81;
|
listen 81;
|
||||||
listen [::]:81;
|
listen [::]:81;
|
||||||
server_name rain;
|
root /media/store/nextcloud/;
|
||||||
root /usr/share/webapps/nextcloud/;
|
|
||||||
|
|
||||||
client_max_body_size 512M;
|
client_max_body_size 512M;
|
||||||
fastcgi_buffers 64 4K;
|
fastcgi_buffers 64 8K;
|
||||||
|
fastcgi_read_timeout 5m;
|
||||||
|
|
||||||
add_header X-Content-Type-Options nosniff;
|
add_header X-Content-Type-Options nosniff;
|
||||||
add_header X-XSS-Protection "1; mode=block";
|
add_header X-XSS-Protection "1; mode=block";
|
||||||
add_header X-Robots-Tag none;
|
add_header X-Robots-Tag none;
|
||||||
add_header X-Download-Options noopen;
|
add_header X-Download-Options noopen;
|
||||||
add_header X-Permitted-Cross-Domain-Policies none;
|
add_header X-Permitted-Cross-Domain-Policies none;
|
||||||
|
add_header X-Frame-Options sameorigin;
|
||||||
|
|
||||||
location = /robots.txt {
|
location = /robots.txt {
|
||||||
allow all;
|
allow all;
|
||||||
|
|
|
@ -5,18 +5,18 @@ function notify
|
||||||
end
|
end
|
||||||
|
|
||||||
function run_spectacle
|
function run_spectacle
|
||||||
set f "$HOME/Pictures/"(date "+%y%m%d-%H%M%S")".png"
|
set f "/tmp/"(date "+%y%m%d-%H%M%S")".png"
|
||||||
|
|
||||||
spectacle -b $argv -n -o "$f"
|
spectacle -b $argv -n
|
||||||
|
|
||||||
if test -f "$f"
|
if test -f "/tmp/temp.png"
|
||||||
|
mv "/tmp/temp.png" "$f"
|
||||||
notify -u low -c transfer "Uploading..."
|
notify -u low -c transfer "Uploading..."
|
||||||
if sharenix -s Greyserv "$f"
|
if sharenix -s Greyserv "$f"
|
||||||
notify -u low -c transfer.complete "Upload completed"
|
notify -u low -c transfer.complete "Upload completed"
|
||||||
else
|
else
|
||||||
notify -u normal -c transfer.error "Upload failed"
|
notify -u normal -c transfer.error "Upload failed"
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
rm "$f"
|
rm "$f"
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -12,7 +12,7 @@ export KRITA_NO_STYLE_OVERRIDE=1
|
||||||
# misc
|
# misc
|
||||||
export PATH=$HOME/.local/bin:$HOME/.gem/ruby/2.6.0/bin:$HOME/.cabal/bin:$PATH
|
export PATH=$HOME/.local/bin:$HOME/.gem/ruby/2.6.0/bin:$HOME/.cabal/bin:$PATH
|
||||||
export DOOMWADDIR=/media/store/games/doom/iwads
|
export DOOMWADDIR=/media/store/games/doom/iwads
|
||||||
export EDITOR=vim
|
export EDITOR=vi
|
||||||
export WINEPREFIX=$HOME/progs/winepfx
|
export WINEPREFIX=$HOME/progs/winepfx
|
||||||
|
|
||||||
## EOF
|
## EOF
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<string>monospace</string>
|
<string>monospace</string>
|
||||||
</test>
|
</test>
|
||||||
<edit name="family" mode="prepend" binding="same">
|
<edit name="family" mode="prepend" binding="same">
|
||||||
<string>Go Mono</string>
|
<string>Courier Prime Code</string>
|
||||||
</edit>
|
</edit>
|
||||||
</match>
|
</match>
|
||||||
|
|
||||||
|
@ -69,7 +69,8 @@
|
||||||
<alias>
|
<alias>
|
||||||
<family>monospace</family>
|
<family>monospace</family>
|
||||||
<prefer>
|
<prefer>
|
||||||
<family>Go Mono</family>
|
<family>Courier Prime Code</family>
|
||||||
|
<family>Iosevka</family>
|
||||||
<family>Noto Sans Mono</family>
|
<family>Noto Sans Mono</family>
|
||||||
</prefer>
|
</prefer>
|
||||||
</alias>
|
</alias>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
Section "InputClass"
|
Section "InputClass"
|
||||||
Identifier "Keyboard0"
|
Identifier "Keyboard0"
|
||||||
Option "XkbOptions" "caps:ctrl_modifier,compose:ralt"
|
Option "XkbOptions" "compose:ralt"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
|
@ -8,11 +8,17 @@ Section "Monitor"
|
||||||
Option "Primary" "true"
|
Option "Primary" "true"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
|
Section "Monitor"
|
||||||
|
Identifier "HDMI0"
|
||||||
|
Option "Above" "DisplayPort0"
|
||||||
|
EndSection
|
||||||
|
|
||||||
Section "Device"
|
Section "Device"
|
||||||
Identifier "Device0"
|
Identifier "Device0"
|
||||||
Driver "amdgpu"
|
Driver "amdgpu"
|
||||||
Option "Monitor-DisplayPort-1" "DisplayPort0"
|
Option "Monitor-DisplayPort-1" "DisplayPort0"
|
||||||
Option "Monitor-DVI-D-0" "DVI0"
|
Option "Monitor-DVI-D-0" "DVI0"
|
||||||
|
Option "Monitor-HDMI-A-1" "HDMI0"
|
||||||
Option "TearFree" "true"
|
Option "TearFree" "true"
|
||||||
EndSection
|
EndSection
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue