about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2020-06-29 21:05:34 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2020-06-29 21:05:34 +0700
commit95cbffa6b37213ea6b3dc2ee788fc37c6d312b8b (patch)
treee793dd75595fb85498a8677efa092e4e9aaa7d09
parent4b637dae5cb2db3dc66af59b3afb8370e5686d23 (diff)
downloaddotfiles-95cbffa6b37213ea6b3dc2ee788fc37c6d312b8b.tar.gz
Update 2020-06-29
-rw-r--r--awesome/.config/awesome/rc.lua7
-rw-r--r--debian/.bashrc1
-rw-r--r--debian/.xinitrc2
-rwxr-xr-xvim/.vim/vimrc1
4 files changed, 8 insertions, 3 deletions
diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua
index 4c1566f..e627faf 100644
--- a/awesome/.config/awesome/rc.lua
+++ b/awesome/.config/awesome/rc.lua
@@ -53,6 +53,7 @@ local pulsemixer = terminal .. " -e pulsemixer"
 local ranger = terminal .. " -e ranger"
 local irc = terminal .. " -e ircII cnx irc.freenode.net"
 local python3 = terminal .. " -e python3"
+local python2 = terminal .. " -e python2"
 local guile = terminal .. " -e guile"
 local clojure = terminal .. " -e clojure"
 local emacs = "emacs"
@@ -80,9 +81,9 @@ local modkey = "Mod4"
 awful.layout.layouts = {
   awful.layout.suit.fair,
   --awful.layout.suit.fair.horizontal,
-  --awful.layout.suit.tile,
+  awful.layout.suit.tile,
   --awful.layout.suit.tile.left,
-  awful.layout.suit.tile.bottom,
+  --awful.layout.suit.tile.bottom,
   --awful.layout.suit.tile.top,
   --awful.layout.suit.spiral,
   --awful.layout.suit.spiral.dwindle,
@@ -485,6 +486,8 @@ local globalkeys = awful.util.table.join(
             {description = "open ranger at /data", group = "launcher"}),
   awful.key({modkey}, "p", spawner(python3),
             {description = "open Python 3 interpreter", group = "launcher"}),
+  awful.key({modkey, "Shift"}, "p", spawner(python2),
+            {description = "open Python 2 interpreter", group = "launcher"}),
   awful.key({modkey}, "c", spawner(clojure),
             {description = "open Clojure interpreter", group = "launcher"}),
   awful.key({modkey}, "g", spawner(guile),
diff --git a/debian/.bashrc b/debian/.bashrc
index 6928af4..87af196 100644
--- a/debian/.bashrc
+++ b/debian/.bashrc
@@ -93,6 +93,7 @@ alias la='ls -A'
 alias l='$(fc -ln -1) | less -r'
 alias r=ranger
 alias rp='ranger $HOME/Sources/pip/src/pip/_internal'
+alias pwip='python3 $HOME/Sources/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/.xinitrc b/debian/.xinitrc
index c625c3d..b72b764 100644
--- a/debian/.xinitrc
+++ b/debian/.xinitrc
@@ -1,5 +1,4 @@
 #!/bin/sh
-xrdb -merge ~/.Xresources
 $HOME/.screenlayout/dual.sh
 redshift-gtk -l 21.028333:105.854167 &
 mate-power-manager &
@@ -8,4 +7,5 @@ blueman-applet &
 nm-applet &
 keynav &
 diodon &
+. /etc/X11/Xsession
 exec awesome
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index c56b01c..e75b5c5 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -43,6 +43,7 @@ call plug#begin('~/.vim/plugged')
 Plug 'https://github.com/vim/killersheep.git'
 Plug 'https://github.com/sheerun/vim-polyglot.git'
 Plug 'https://github.com/srcery-colors/srcery-vim.git'
+Plug 'https://github.com/knsh14/vim-github-link.git'
 Plug 'https://github.com/tpope/vim-abolish.git'
 Plug 'https://github.com/alx741/vinfo.git'
 Plug 'https://github.com/lervag/vimtex.git', {'for': 'tex'}