about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2020-10-16 21:49:48 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2020-10-16 21:49:48 +0700
commit0cb59f5027779efaaa24d5fad6b0e2921d12c60b (patch)
tree043a4982a9f7c29e96b02945d173bcbf604d25a7
parentea3d643a067669a73557f0af203cf4e86bc4fc9d (diff)
downloaddotfiles-0cb59f5027779efaaa24d5fad6b0e2921d12c60b.tar.gz
Update 2020-10-16
-rw-r--r--debian/.Xresources-dark1
-rw-r--r--debian/.bashrc4
l---------debian/.config/systemd/user/default.target.wants/ssh-agent.service1
-rw-r--r--debian/.config/systemd/user/ssh-agent.service10
-rwxr-xr-xdebian/.screenlayout/dual.sh2
-rw-r--r--dev/.config/htop/htoprc30
-rw-r--r--dev/.hgrc1
-rw-r--r--dev/.ssh/config1
-rw-r--r--dev/.ssh/id_rsa.pub1
-rw-r--r--nix/.config/gtk-3.0/bookmarks2
-rw-r--r--ranger/.config/ranger/rifle.conf2
-rwxr-xr-xvim/.vim/vimrc2
12 files changed, 52 insertions, 5 deletions
diff --git a/debian/.Xresources-dark b/debian/.Xresources-dark
index 4219cb7..9c8d19f 100644
--- a/debian/.Xresources-dark
+++ b/debian/.Xresources-dark
@@ -29,3 +29,4 @@ URxvt.jumpScroll:   true
 URxvt.font: xft:Latin Modern Mono:size=12:autohint=true
 URxvt.termName: rxvt-unicode-256color
 URxvt.perl-ext-common: default,font-size
+URxvt.font-size.step: 3
diff --git a/debian/.bashrc b/debian/.bashrc
index 7dc78a4..3b86648 100644
--- a/debian/.bashrc
+++ b/debian/.bashrc
@@ -93,8 +93,8 @@ alias l='$(fc -ln -1) | less -r'
 alias r=ranger
 alias v='vim $(fzf)'
 alias fd=fdfind
-alias cdid='cd $HOME/Sources/pip/src/pip/_internal'
-alias pwip='python3 $HOME/Sources/pip/src/pip'
+alias cdid='cd $HOME/Salsa/pypkg/pip/src/pip/_internal'
+alias pwip='python3 $HOME/Salsa/pypkg/pip/src/pip'
 alias gcc='gcc -Wall -Wextra -pedantic -O2 -lm'
 alias g++='g++ -Wall -Wextra -pedantic -O2 -lm'
 alias fpc='fpc -O1 -XS -gl'
diff --git a/debian/.config/systemd/user/default.target.wants/ssh-agent.service b/debian/.config/systemd/user/default.target.wants/ssh-agent.service
new file mode 120000
index 0000000..a0424e0
--- /dev/null
+++ b/debian/.config/systemd/user/default.target.wants/ssh-agent.service
@@ -0,0 +1 @@
+/home/cnx/.config/systemd/user/ssh-agent.service
\ No newline at end of file
diff --git a/debian/.config/systemd/user/ssh-agent.service b/debian/.config/systemd/user/ssh-agent.service
new file mode 100644
index 0000000..9428410
--- /dev/null
+++ b/debian/.config/systemd/user/ssh-agent.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=SSH key agent
+
+[Service]
+Type=simple
+Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
+ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
+
+[Install]
+WantedBy=default.target
diff --git a/debian/.screenlayout/dual.sh b/debian/.screenlayout/dual.sh
index f166e7e..86a5c3f 100755
--- a/debian/.screenlayout/dual.sh
+++ b/debian/.screenlayout/dual.sh
@@ -1,2 +1,2 @@
 #!/bin/sh
-xrandr --output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --mode 1600x900 --pos 1920x0 --rotate normal --output HDMI1 --off --output HDMI2 --off --output VIRTUAL1 --off
+xrandr --output eDP-1 --mode 1920x1080 --pos 0x0 --rotate normal --output HDMI-1 --off --output DP-1 --mode 1600x900 --pos 1920x0 --rotate normal --output HDMI-2 --off
diff --git a/dev/.config/htop/htoprc b/dev/.config/htop/htoprc
new file mode 100644
index 0000000..591146a
--- /dev/null
+++ b/dev/.config/htop/htoprc
@@ -0,0 +1,30 @@
+# Beware! This file is rewritten by htop when settings are changed in the interface.
+# The parser is also very primitive, and not human-friendly.
+fields=0 48 17 18 38 39 40 2 46 47 49 1
+sort_key=47
+sort_direction=1
+hide_threads=0
+hide_kernel_threads=1
+hide_userland_threads=0
+shadow_other_users=0
+show_thread_names=0
+show_program_path=0
+highlight_base_name=0
+highlight_megabytes=1
+highlight_threads=1
+tree_view=0
+header_margin=1
+detailed_cpu_time=0
+cpu_count_from_zero=1
+show_cpu_usage=1
+show_cpu_frequency=0
+update_process_names=0
+account_guest_in_cpu_meter=0
+color_scheme=0
+enable_mouse=1
+delay=15
+left_meters=AllCPUs4 CPU
+left_meter_modes=1 1
+right_meters=Memory Swap Battery
+right_meter_modes=1 1 1
+vim_mode=1
diff --git a/dev/.hgrc b/dev/.hgrc
index 5d9678b..1254bb5 100644
--- a/dev/.hgrc
+++ b/dev/.hgrc
@@ -3,6 +3,7 @@ username = Nguyễn Gia Phong <vn.mcsinyx@gmail.com>
 
 [extensions]
 color =
+convert =
 histedit =
 pager =
 rebase =
diff --git a/dev/.ssh/config b/dev/.ssh/config
new file mode 100644
index 0000000..b1425ef
--- /dev/null
+++ b/dev/.ssh/config
@@ -0,0 +1 @@
+AddKeysToAgent  yes
diff --git a/dev/.ssh/id_rsa.pub b/dev/.ssh/id_rsa.pub
new file mode 100644
index 0000000..9f4c083
--- /dev/null
+++ b/dev/.ssh/id_rsa.pub
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDZ6NnoEi9d6UfdSqrfzhG5tkNlULQXukIofg+WptnMhaXdrBzALZzNR14U62dtHzwCgAQgC8PwRhNUPXRzgUEoVgf7+i2UKgEjcSp0D43obB5YubUhG8SvyNQ40rfENLOCI6WpsrOMTz097/XVZxHbU5iVmyxJpqzTg3vnLWe7psGYBaSHoX4pmDNmcZ3VIrzNiKGqADFVeBKi5eryJFclse7/K/HzRKnkjdxDhUg73Isw6UvBQFHMhypD7Rgvd3nWp6dSKhI1LlZxWvmfahhC6tof4yE9zu0hEn7Yl8ViIFL1M1Wr7t/Ssc2+1GRsDnbmY059e2rPqJJAN23x6oU7Qm8oShhzplzYf8aF3MStYNhwRMIyakeL2OCGu4EuI62ZLS27pXWhriwKhLcVIqIGKoajK1V3T9tZVbHK7W1olUAz39s8IXV9CBdIkIuSxOqwHXg75NkXT534H2k1bZL2yu9hEJFG4gchJ1rPtiPtyUxgFQzf4RuSxQz4wnAxLswtP1t1WRNbhWLibOHHc00Q54T4ZC0NiQNKEt0seIrvsBCreWtjmk9Kjxd0Zkh5LHAwzzHrv066yIBup5M8IxtUvY/xGiyxGHC7F4h28CaR1wt4o9GdHF6t8T6v6QTbTvy31jTij8fF0NanRn21WAfEWyvT1S4gU71uWEaBYIyS1w== mcsinyx@disroot.org
diff --git a/nix/.config/gtk-3.0/bookmarks b/nix/.config/gtk-3.0/bookmarks
index 6b91289..26d6f43 100644
--- a/nix/.config/gtk-3.0/bookmarks
+++ b/nix/.config/gtk-3.0/bookmarks
@@ -1 +1 @@
-file:///home/cee/Sources
+file:///home/cee/Salsa
diff --git a/ranger/.config/ranger/rifle.conf b/ranger/.config/ranger/rifle.conf
index dd170ea..8d0926d 100644
--- a/ranger/.config/ranger/rifle.conf
+++ b/ranger/.config/ranger/rifle.conf
@@ -162,6 +162,8 @@ ext djvu, has zathura,X, flag f = zathura -- "$@"
 ext djvu, has evince, X, flag f = evince -- "$@"
 ext djvu, has atril,  X, flag f = atril -- "$@"
 
+ext cbr, has mcomix, X, flag f = mcomix -- "$@"
+
 #-------------------------------------------
 # Image Viewing:
 #-------------------------------------------
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index 7ba9fbd..c341169 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -20,7 +20,7 @@ augroup vimrc
   autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal
   autocmd BufNewFile,BufRead *.sql setlocal filetype=mysql
   autocmd BufNewFile,BufRead *.m setlocal filetype=octave
-  autocmd FileType asm,c,h,go,glsl
+  autocmd FileType asm,c,h,go,glsl,php
         \ setlocal cindent cinoptions=(0 noexpandtab shiftwidth=8
   autocmd FileType vim,sh,lua,tex,cmake,cpp,plantuml,mysql,html,octave,pascal
         \ setlocal shiftwidth=2