Update 2019-07-07
This commit is contained in:
parent
92fa2f573e
commit
cd64877d15
11
README.md
11
README.md
|
@ -1,9 +1,14 @@
|
||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
Dotfiles of my Debian testing, managed by GNU Stow.
|
Dotfiles of my Debian testing and Fedora workstation, managed by GNU Stow.
|
||||||
|
|
||||||
![](screenshot.png)
|
![Debian testing](debian-screenshot.png)
|
||||||
|
|
||||||
The Debian desktop uses awesome, bash, Git, Luakit, ranger, Vim, XTerm
|
The Debian desktop uses awesome, bash, Git, Firefox, ranger, Vim, URxvt
|
||||||
and Zathura. Most of these applications are themed with the
|
and Zathura. Most of these applications are themed with the
|
||||||
[srcery](https://github.com/srcery-colors/srcery-vim) colorscheme.
|
[srcery](https://github.com/srcery-colors/srcery-vim) colorscheme.
|
||||||
|
|
||||||
|
![Fedora workstation](fedora-screenshot.png)
|
||||||
|
|
||||||
|
The Fedora desktop is vanilla GNOME with Emacs. Yes you can run for systems
|
||||||
|
in parallel: GNU/Linux, systemd, GNOME JS VM and Emacs.
|
||||||
|
|
|
@ -302,6 +302,7 @@ end
|
||||||
screen.connect_signal("property::geometry", set_wallpaper)
|
screen.connect_signal("property::geometry", set_wallpaper)
|
||||||
|
|
||||||
awful.screen.connect_for_each_screen(function (s)
|
awful.screen.connect_for_each_screen(function (s)
|
||||||
|
set_wallpaper(s)
|
||||||
-- Each screen has its own tag table.
|
-- Each screen has its own tag table.
|
||||||
awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, s,
|
awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, s,
|
||||||
awful.layout.layouts[1])
|
awful.layout.layouts[1])
|
||||||
|
@ -453,8 +454,8 @@ local globalkeys = awful.util.table.join(
|
||||||
{description = "open GVim", group = "launcher"}),
|
{description = "open GVim", group = "launcher"}),
|
||||||
awful.key({modkey}, "e", spawner"emacsclient -c",
|
awful.key({modkey}, "e", spawner"emacsclient -c",
|
||||||
{description = "open Emacs", group = "launcher"}),
|
{description = "open Emacs", group = "launcher"}),
|
||||||
awful.key({modkey}, "b", spawner"luakit",
|
awful.key({modkey}, "b", spawner"qutebrowser",
|
||||||
{description = "open Luakit", group = "launcher"}),
|
{description = "open qutebrowser", group = "launcher"}),
|
||||||
awful.key({modkey, "Shift"}, "b", spawner"torify luakit --nounique",
|
awful.key({modkey, "Shift"}, "b", spawner"torify luakit --nounique",
|
||||||
{description = "open torified Luakit", group = "launcher"}),
|
{description = "open torified Luakit", group = "launcher"}),
|
||||||
awful.key({modkey}, "f", spawner"firefox",
|
awful.key({modkey}, "f", spawner"firefox",
|
||||||
|
|
|
@ -53,7 +53,7 @@ theme.hotkeys_fg = theme.fg_normal
|
||||||
|
|
||||||
theme.useless_gap = 0
|
theme.useless_gap = 0
|
||||||
theme.border_width = 2
|
theme.border_width = 2
|
||||||
theme.border_normal = theme.bg_focus
|
theme.border_normal = '#353535'
|
||||||
theme.border_focus = theme.orange
|
theme.border_focus = theme.orange
|
||||||
theme.border_marked = theme.red
|
theme.border_marked = theme.red
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 612 KiB After Width: | Height: | Size: 612 KiB |
|
@ -1,6 +1,6 @@
|
||||||
*foreground: #fce8c3
|
*.foreground: #fce8c3
|
||||||
*background: #1c1b19
|
*.background: #1c1b19
|
||||||
*cursorColor: #fce8c3
|
*.cursorColor: #fce8c3
|
||||||
*.color0: #1c1b19
|
*.color0: #1c1b19
|
||||||
*.color1: #ef2f27
|
*.color1: #ef2f27
|
||||||
*.color2: #519f50
|
*.color2: #519f50
|
|
@ -103,8 +103,15 @@ alias fpc='fpc -O1 -XS -gl'
|
||||||
alias mpa='mpv --no-video --loop=inf'
|
alias mpa='mpv --no-video --loop=inf'
|
||||||
alias raku=perl6
|
alias raku=perl6
|
||||||
alias x='cd $HOME && startx && cd -'
|
alias x='cd $HOME && startx && cd -'
|
||||||
|
alias backup='rsync -avh --delete /home/ /data/Home/'
|
||||||
eval $(thefuck --alias)
|
eval $(thefuck --alias)
|
||||||
|
|
||||||
|
function ipfs-cors {
|
||||||
|
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["http://0.0.0.0:5001", "http://127.0.0.1:5001", "https://webui.ipfs.io"]'
|
||||||
|
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Methods '["PUT", "GET", "POST"]'
|
||||||
|
systemctl restart --user ipfs
|
||||||
|
}
|
||||||
|
|
||||||
# enable programmable completion features (you don't need to enable
|
# enable programmable completion features (you don't need to enable
|
||||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||||
# sources /etc/bash.bashrc).
|
# sources /etc/bash.bashrc).
|
|
@ -0,0 +1,2 @@
|
||||||
|
(setf swank:*globally-redirect-io* t)
|
||||||
|
(setf swank:*communication-style* :fd-handler)
|
Binary file not shown.
After Width: | Height: | Size: 752 KiB |
|
@ -0,0 +1,10 @@
|
||||||
|
# .bash_profile
|
||||||
|
|
||||||
|
# Get the aliases and functions
|
||||||
|
if [ -f ~/.bashrc ]; then
|
||||||
|
. ~/.bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
# User specific environment and startup programs
|
||||||
|
export GOPATH=$HOME/.local/share/go
|
||||||
|
export PATH=$PATH:$HOME/.local/bin:$GOPATH/bin:$HOME/.cargo/bin
|
|
@ -0,0 +1,17 @@
|
||||||
|
# .bashrc
|
||||||
|
|
||||||
|
# Source global definitions
|
||||||
|
if [ -f /etc/bashrc ]; then
|
||||||
|
. /etc/bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Uncomment the following line if you don't like systemctl's auto-paging feature:
|
||||||
|
# export SYSTEMD_PAGER=
|
||||||
|
|
||||||
|
# User specific aliases and functions
|
||||||
|
alias stow='stow -t /home/436e58'
|
||||||
|
alias gcc='gcc -O2 -lm'
|
||||||
|
alias g++='g++ -O2 -lm'
|
||||||
|
alias fpc='fpc -O1 -XS -gl'
|
||||||
|
alias raku='rlwrap perl6'
|
||||||
|
alias backup='rsync -avh --delete /home/ /data/Home/'
|
|
@ -10,7 +10,7 @@ if has("patch-7.4.710")
|
||||||
set list listchars+=space:·,tab:\ \
|
set list listchars+=space:·,tab:\ \
|
||||||
endif
|
endif
|
||||||
set tabstop=8 expandtab shiftwidth=2 softtabstop=-1 smarttab
|
set tabstop=8 expandtab shiftwidth=2 softtabstop=-1 smarttab
|
||||||
set dictionary=/usr/share/dict/words
|
set ignorecase infercase dictionary=/usr/share/dict/words
|
||||||
set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1
|
set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1
|
||||||
set omnifunc=syntaxcomplete#Complete
|
set omnifunc=syntaxcomplete#Complete
|
||||||
set diffopt+=algorithm:patience
|
set diffopt+=algorithm:patience
|
||||||
|
|
Loading…
Reference in New Issue