diff options
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | awesome/.config/awesome/rc.lua | 5 | ||||
-rw-r--r-- | awesome/.config/awesome/themes/srcery/theme.lua | 2 | ||||
-rw-r--r-- | debian-screenshot.png (renamed from screenshot.png) | bin | 626274 -> 626274 bytes | |||
l--------- | debian/.Xresources (renamed from meta/.Xresources) | 0 | ||||
-rw-r--r-- | debian/.Xresources-dark (renamed from meta/.Xresources-dark) | 6 | ||||
-rw-r--r-- | debian/.Xresources-light (renamed from meta/.Xresources-light) | 0 | ||||
-rw-r--r-- | debian/.bashrc (renamed from meta/.bashrc) | 7 | ||||
-rw-r--r-- | debian/.config/gtk-3.0/gtkcss (renamed from meta/.config/gtk-3.0/gtkcss) | 0 | ||||
-rw-r--r-- | debian/.config/gtk-3.0/settings.ini (renamed from meta/.config/gtk-3.0/settings.ini) | 0 | ||||
-rw-r--r-- | debian/.fonts/DancingScript-Bold.ttf (renamed from meta/.fonts/DancingScript-Bold.ttf) | bin | 122748 -> 122748 bytes | |||
-rw-r--r-- | debian/.fonts/DancingScript-Regular.ttf (renamed from meta/.fonts/DancingScript-Regular.ttf) | bin | 123760 -> 123760 bytes | |||
-rw-r--r-- | debian/.fonts/Inconsolata-Bold.ttf (renamed from meta/.fonts/Inconsolata-Bold.ttf) | bin | 109948 -> 109948 bytes | |||
-rw-r--r-- | debian/.fonts/Inconsolata-Regular.ttf (renamed from meta/.fonts/Inconsolata-Regular.ttf) | bin | 96964 -> 96964 bytes | |||
-rw-r--r-- | debian/.fonts/Pacifico-Regular.ttf (renamed from meta/.fonts/Pacifico-Regular.ttf) | bin | 196324 -> 196324 bytes | |||
-rw-r--r-- | debian/.fonts/SansForgetica-Regular.otf (renamed from meta/.fonts/SansForgetica-Regular.otf) | bin | 102192 -> 102192 bytes | |||
-rw-r--r-- | debian/.fonts/SpaceMono-Bold.ttf (renamed from meta/.fonts/SpaceMono-Bold.ttf) | bin | 89020 -> 89020 bytes | |||
-rw-r--r-- | debian/.fonts/SpaceMono-BoldItalic.ttf (renamed from meta/.fonts/SpaceMono-BoldItalic.ttf) | bin | 97732 -> 97732 bytes | |||
-rw-r--r-- | debian/.fonts/SpaceMono-Italic.ttf (renamed from meta/.fonts/SpaceMono-Italic.ttf) | bin | 105932 -> 105932 bytes | |||
-rw-r--r-- | debian/.fonts/SpaceMono-Regular.ttf (renamed from meta/.fonts/SpaceMono-Regular.ttf) | bin | 93252 -> 93252 bytes | |||
-rw-r--r-- | debian/.fonts/VT323-Regular.ttf (renamed from meta/.fonts/VT323-Regular.ttf) | bin | 153116 -> 153116 bytes | |||
-rw-r--r-- | debian/.gtkrc-2.0 (renamed from meta/.gtkrc-2.0) | 0 | ||||
-rw-r--r-- | debian/.mailcap (renamed from meta/.mailcap) | 0 | ||||
-rw-r--r-- | debian/.profile (renamed from meta/.profile) | 0 | ||||
-rwxr-xr-x | debian/.screenlayout/dual.sh (renamed from meta/.screenlayout/dual.sh) | 0 | ||||
-rwxr-xr-x | debian/.screenlayout/single.sh (renamed from meta/.screenlayout/single.sh) | 0 | ||||
-rw-r--r-- | debian/.xinitrc (renamed from meta/.xinitrc) | 0 | ||||
-rw-r--r-- | dev/.drirc (renamed from meta/.drirc) | 0 | ||||
-rw-r--r-- | emacs/.swank.lisp | 2 | ||||
-rw-r--r-- | fedora-screenshot.png | bin | 0 -> 770004 bytes | |||
-rw-r--r-- | fedora/.bash_profile | 10 | ||||
-rw-r--r-- | fedora/.bashrc | 17 | ||||
-rwxr-xr-x | vim/.vim/vimrc | 2 |
33 files changed, 52 insertions, 10 deletions
diff --git a/README.md b/README.md index f4d03f5..544a3b6 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,14 @@ # 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 [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. diff --git a/awesome/.config/awesome/rc.lua b/awesome/.config/awesome/rc.lua index 485e4d2..c43b97d 100644 --- a/awesome/.config/awesome/rc.lua +++ b/awesome/.config/awesome/rc.lua @@ -302,6 +302,7 @@ end screen.connect_signal("property::geometry", set_wallpaper) awful.screen.connect_for_each_screen(function (s) + set_wallpaper(s) -- Each screen has its own tag table. awful.tag({"1", "2", "3", "4", "5", "6", "7", "8", "9"}, s, awful.layout.layouts[1]) @@ -453,8 +454,8 @@ local globalkeys = awful.util.table.join( {description = "open GVim", group = "launcher"}), awful.key({modkey}, "e", spawner"emacsclient -c", {description = "open Emacs", group = "launcher"}), - awful.key({modkey}, "b", spawner"luakit", - {description = "open Luakit", group = "launcher"}), + awful.key({modkey}, "b", spawner"qutebrowser", + {description = "open qutebrowser", group = "launcher"}), awful.key({modkey, "Shift"}, "b", spawner"torify luakit --nounique", {description = "open torified Luakit", group = "launcher"}), awful.key({modkey}, "f", spawner"firefox", diff --git a/awesome/.config/awesome/themes/srcery/theme.lua b/awesome/.config/awesome/themes/srcery/theme.lua index d0c3e26..0c0578c 100644 --- a/awesome/.config/awesome/themes/srcery/theme.lua +++ b/awesome/.config/awesome/themes/srcery/theme.lua @@ -53,7 +53,7 @@ theme.hotkeys_fg = theme.fg_normal theme.useless_gap = 0 theme.border_width = 2 -theme.border_normal = theme.bg_focus +theme.border_normal = '#353535' theme.border_focus = theme.orange theme.border_marked = theme.red diff --git a/screenshot.png b/debian-screenshot.png index 4e5cd16..4e5cd16 100644 --- a/screenshot.png +++ b/debian-screenshot.png Binary files differdiff --git a/meta/.Xresources b/debian/.Xresources index c4d7dd6..c4d7dd6 120000 --- a/meta/.Xresources +++ b/debian/.Xresources diff --git a/meta/.Xresources-dark b/debian/.Xresources-dark index 4bb55d2..760770b 100644 --- a/meta/.Xresources-dark +++ b/debian/.Xresources-dark @@ -1,6 +1,6 @@ -*foreground: #fce8c3 -*background: #1c1b19 -*cursorColor: #fce8c3 +*.foreground: #fce8c3 +*.background: #1c1b19 +*.cursorColor: #fce8c3 *.color0: #1c1b19 *.color1: #ef2f27 *.color2: #519f50 diff --git a/meta/.Xresources-light b/debian/.Xresources-light index 3123694..3123694 100644 --- a/meta/.Xresources-light +++ b/debian/.Xresources-light diff --git a/meta/.bashrc b/debian/.bashrc index f4a52ce..4f9c6a5 100644 --- a/meta/.bashrc +++ b/debian/.bashrc @@ -103,8 +103,15 @@ alias fpc='fpc -O1 -XS -gl' alias mpa='mpv --no-video --loop=inf' alias raku=perl6 alias x='cd $HOME && startx && cd -' +alias backup='rsync -avh --delete /home/ /data/Home/' 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 # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources /etc/bash.bashrc). diff --git a/meta/.config/gtk-3.0/gtkcss b/debian/.config/gtk-3.0/gtkcss index e7ff883..e7ff883 100644 --- a/meta/.config/gtk-3.0/gtkcss +++ b/debian/.config/gtk-3.0/gtkcss diff --git a/meta/.config/gtk-3.0/settings.ini b/debian/.config/gtk-3.0/settings.ini index 4635233..4635233 100644 --- a/meta/.config/gtk-3.0/settings.ini +++ b/debian/.config/gtk-3.0/settings.ini diff --git a/meta/.fonts/DancingScript-Bold.ttf b/debian/.fonts/DancingScript-Bold.ttf index f1e0d65..f1e0d65 100644 --- a/meta/.fonts/DancingScript-Bold.ttf +++ b/debian/.fonts/DancingScript-Bold.ttf Binary files differdiff --git a/meta/.fonts/DancingScript-Regular.ttf b/debian/.fonts/DancingScript-Regular.ttf index 72db835..72db835 100644 --- a/meta/.fonts/DancingScript-Regular.ttf +++ b/debian/.fonts/DancingScript-Regular.ttf Binary files differdiff --git a/meta/.fonts/Inconsolata-Bold.ttf b/debian/.fonts/Inconsolata-Bold.ttf index 809c1f5..809c1f5 100644 --- a/meta/.fonts/Inconsolata-Bold.ttf +++ b/debian/.fonts/Inconsolata-Bold.ttf Binary files differdiff --git a/meta/.fonts/Inconsolata-Regular.ttf b/debian/.fonts/Inconsolata-Regular.ttf index fc981ce..fc981ce 100644 --- a/meta/.fonts/Inconsolata-Regular.ttf +++ b/debian/.fonts/Inconsolata-Regular.ttf Binary files differdiff --git a/meta/.fonts/Pacifico-Regular.ttf b/debian/.fonts/Pacifico-Regular.ttf index ccbe0f3..ccbe0f3 100644 --- a/meta/.fonts/Pacifico-Regular.ttf +++ b/debian/.fonts/Pacifico-Regular.ttf Binary files differdiff --git a/meta/.fonts/SansForgetica-Regular.otf b/debian/.fonts/SansForgetica-Regular.otf index 27deedb..27deedb 100644 --- a/meta/.fonts/SansForgetica-Regular.otf +++ b/debian/.fonts/SansForgetica-Regular.otf Binary files differdiff --git a/meta/.fonts/SpaceMono-Bold.ttf b/debian/.fonts/SpaceMono-Bold.ttf index 4acd36a..4acd36a 100644 --- a/meta/.fonts/SpaceMono-Bold.ttf +++ b/debian/.fonts/SpaceMono-Bold.ttf Binary files differdiff --git a/meta/.fonts/SpaceMono-BoldItalic.ttf b/debian/.fonts/SpaceMono-BoldItalic.ttf index 0702475..0702475 100644 --- a/meta/.fonts/SpaceMono-BoldItalic.ttf +++ b/debian/.fonts/SpaceMono-BoldItalic.ttf Binary files differdiff --git a/meta/.fonts/SpaceMono-Italic.ttf b/debian/.fonts/SpaceMono-Italic.ttf index 8799738..8799738 100644 --- a/meta/.fonts/SpaceMono-Italic.ttf +++ b/debian/.fonts/SpaceMono-Italic.ttf Binary files differdiff --git a/meta/.fonts/SpaceMono-Regular.ttf b/debian/.fonts/SpaceMono-Regular.ttf index 28d7ff7..28d7ff7 100644 --- a/meta/.fonts/SpaceMono-Regular.ttf +++ b/debian/.fonts/SpaceMono-Regular.ttf Binary files differdiff --git a/meta/.fonts/VT323-Regular.ttf b/debian/.fonts/VT323-Regular.ttf index afa6909..afa6909 100644 --- a/meta/.fonts/VT323-Regular.ttf +++ b/debian/.fonts/VT323-Regular.ttf Binary files differdiff --git a/meta/.gtkrc-2.0 b/debian/.gtkrc-2.0 index 01f826b..01f826b 100644 --- a/meta/.gtkrc-2.0 +++ b/debian/.gtkrc-2.0 diff --git a/meta/.mailcap b/debian/.mailcap index 6cca665..6cca665 100644 --- a/meta/.mailcap +++ b/debian/.mailcap diff --git a/meta/.profile b/debian/.profile index 6c8b86e..6c8b86e 100644 --- a/meta/.profile +++ b/debian/.profile diff --git a/meta/.screenlayout/dual.sh b/debian/.screenlayout/dual.sh index e141199..e141199 100755 --- a/meta/.screenlayout/dual.sh +++ b/debian/.screenlayout/dual.sh diff --git a/meta/.screenlayout/single.sh b/debian/.screenlayout/single.sh index aede90f..aede90f 100755 --- a/meta/.screenlayout/single.sh +++ b/debian/.screenlayout/single.sh diff --git a/meta/.xinitrc b/debian/.xinitrc index 598bd05..598bd05 100644 --- a/meta/.xinitrc +++ b/debian/.xinitrc diff --git a/meta/.drirc b/dev/.drirc index 7cf47a1..7cf47a1 100644 --- a/meta/.drirc +++ b/dev/.drirc diff --git a/emacs/.swank.lisp b/emacs/.swank.lisp new file mode 100644 index 0000000..8ce502f --- /dev/null +++ b/emacs/.swank.lisp @@ -0,0 +1,2 @@ +(setf swank:*globally-redirect-io* t) +(setf swank:*communication-style* :fd-handler) diff --git a/fedora-screenshot.png b/fedora-screenshot.png new file mode 100644 index 0000000..488e231 --- /dev/null +++ b/fedora-screenshot.png Binary files differdiff --git a/fedora/.bash_profile b/fedora/.bash_profile new file mode 100644 index 0000000..eadc104 --- /dev/null +++ b/fedora/.bash_profile @@ -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 diff --git a/fedora/.bashrc b/fedora/.bashrc new file mode 100644 index 0000000..6f6bbc4 --- /dev/null +++ b/fedora/.bashrc @@ -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/' diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc index fc2b0ef..e93cb2b 100755 --- a/vim/.vim/vimrc +++ b/vim/.vim/vimrc @@ -10,7 +10,7 @@ if has("patch-7.4.710") set list listchars+=space:ยท,tab:\ \ endif 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 omnifunc=syntaxcomplete#Complete set diffopt+=algorithm:patience |