1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-22 23:12:32 +01:00

readme updated, and some tasks added

This commit is contained in:
eoli3n 2017-12-19 01:41:48 +01:00
parent 39e75c9f7f
commit 849b842499
6 changed files with 125 additions and 78 deletions

3
.gitmodules vendored

@ -13,3 +13,6 @@
[submodule "library"] [submodule "library"]
path = library path = library
url = https://github.com/eoli3n/ansible-packer url = https://github.com/eoli3n/ansible-packer
[submodule "roles/vim/files/.vim/bundle/vim-sleuth"]
path = roles/vim/files/.vim/bundle/vim-sleuth
url = https://github.com/tpope/vim-sleuth

@ -16,39 +16,22 @@
![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/connman-gtk.png) ![alt tag](https://github.com/eoli3n/dotfiles/blob/master/screenshots/connman-gtk.png)
# Setup ## Dependencies
**Packages** **Packer**
``` ```
sudo pacman -S zsh-syntax-highlighting git ttf-hack vim weechat xbindkeys powerline powerline-fonts powerline-vim xorg-xrdb xclip tmux xorg-xfd connman connman-gtk w3m lxappearance maim slop pygmentize screen curl -o PKGBUILD https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=packer-git; makepkg PKGBUILD --install --needed --noconfirm
pacaur -S i3-gaps polybar-git rofi compton-git powerline powerline-vim ttf-font-awesome ttf-unifont ttf-font-icons siji-git menutray cower i3lock-color-git capitaine-cursors gnome-ssh-askpass2
cd ~/.i3
git clone https://github.com/guimeira/i3lock-fancy-multimonitor
```
Change ``BLURTYPE="5x3"`` in ``i3lock-fancy-multimonitor/lock`` file.
**ZSH pure prompt**
1° Install [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh)
```
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
``` ```
2° Then install [pure prompt](https://github.com/sindresorhus/pure) ## Installation
**Gtk+ and Qt**
Run lxappearance and apply ``Vertex-Dark`` theme.
To use GTK-like theme with Qt edit ``~/.config/Trolltech.conf`` and set
``` ```
[Qt] git clone --recursive https://github.com/eoli3n/dotfiles
style=GTK+ dotfiles/install.sh <desktop|laptop|server>
``` ```
Installer will print target tasks, and dryrun before apply.
## Manual configurations
**Google chrome** **Google chrome**
@ -60,47 +43,7 @@ chrome://flags/#overlay-scrollbars
To use dark theme, go to graphical configuration and click ``Use GTK+ Theme`` To use dark theme, go to graphical configuration and click ``Use GTK+ Theme``
**Update font cache and Xresources** **Weechat**
```
fc-cache -f
ln -s ~/.Xresources ~/.Xdefaults
xrdb ~/.Xresources
```
**Enable services**
```
systemctl --user enable weechat.service
systemctl --user enable ssh-agent.service
```
**Vim pathogen plugins**
```
# colorizer
cd ~/.vim/bundle
git clone https://github.com/lilydjwg/colorizer
# auto-pairs
git clone git://github.com/jiangmiao/auto-pairs.git ~/.vim/bundle/auto-pairs
# detect indent
cd ~/.vim/bundle; git clone git://github.com/tpope/vim-sleuth.git
# syntax corrector
sudo pip3 install flake8
cd ~/.vim/bundle; git clone --depth=1 https://github.com/vim-syntastic/syntastic.git
# NERDtree
git clone https://github.com/scrooloose/nerdtree.git ~/.vim/bundle/nerdtree
```
# Weechat Clean Acid
In weechat
``` ```
/set weechat.bar.status.color_bg 0 /set weechat.bar.status.color_bg 0
@ -130,16 +73,7 @@ In weechat
/upgrade /upgrade
``` ```
# Subprojects # Previously
- https://github.com/Airblader/i3
- https://github.com/jaagr/polybar
- https://github.com/guimeira/i3lock-fancy-multimonitor
- https://github.com/chjj/compton
- https://github.com/lilydjwg/colorizer
- [hyperterm-snazzy-Xresources](https://gist.github.com/zhy0/ffdab4b01f8cf6a6814261d4c4eed0be)
## Previously
* [i3-gaps Dark Solarized](https://github.com/eoli3n/dotfiles/tree/zsh-agnoster-solarized) * [i3-gaps Dark Solarized](https://github.com/eoli3n/dotfiles/tree/zsh-agnoster-solarized)

@ -0,0 +1,76 @@
[Qt%20Plugin%20Cache%204.8.false]
usr\lib\qt4\plugins\inputmethods\libqimsw-multi.so=40807, 0, x86_64 linux g++-4 full-config, 2017-07-11T00:22:32
usr\lib\qt4\plugins\imageformats\libqgif.so=40807, 0, x86_64 linux g++-4 full-config, 2017-07-11T00:22:32
usr\lib\qt4\plugins\imageformats\libqico.so=40807, 0, x86_64 linux g++-4 full-config, 2017-07-11T00:22:32
usr\lib\qt4\plugins\imageformats\libqjpeg.so=40807, 0, x86_64 linux g++-4 full-config, 2017-07-11T00:22:32
usr\lib\qt4\plugins\imageformats\libqmng.so=40807, 0, x86_64 linux g++-4 full-config, 2017-07-11T00:22:32
usr\lib\qt4\plugins\imageformats\libqsvg.so=40807, 0, x86_64 linux g++-4 full-config, 2017-07-11T00:22:32
usr\lib\qt4\plugins\imageformats\libqtiff.so=40807, 0, x86_64 linux g++-4 full-config, 2017-07-11T00:22:32
usr\lib\qt4\plugins\iconengines\libqsvgicon.so=40807, 0, x86_64 linux g++-4 full-config, 2017-07-11T00:22:32
usr\lib\qt4\plugins\sqldrivers\libqsqlibase.so=40807, 0, x86_64 linux g++-4 full-config, 2017-01-02T10:45:34
usr\lib\qt4\plugins\sqldrivers\libqsqlite.so=40807, 0, x86_64 linux g++-4 full-config, 2017-01-02T10:45:34
usr\lib\qt4\plugins\sqldrivers\libqsqlmysql.so=40807, 0, x86_64 linux g++-4 full-config, 2017-01-02T10:45:34
usr\lib\qt4\plugins\sqldrivers\libqsqlodbc.so=40807, 0, x86_64 linux g++-4 full-config, 2017-01-02T10:45:34
usr\lib\qt4\plugins\sqldrivers\libqsqlpsql.so=40807, 0, x86_64 linux g++-4 full-config, 2017-01-02T10:45:34
usr\lib\qt4\plugins\bearer\libqconnmanbearer.so=40807, 0, x86_64 linux g++-4 full-config, 2017-01-02T10:45:34
usr\lib\qt4\plugins\bearer\libqgenericbearer.so=40807, 0, x86_64 linux g++-4 full-config, 2017-01-02T10:45:34
usr\lib\qt4\plugins\bearer\libqnmbearer.so=40807, 0, x86_64 linux g++-4 full-config, 2017-01-02T10:45:34
usr\lib\launchy\plugins\libcalcy.so=40807, 0, x86_64 linux g++-4 full-config, 2015-12-07T01:43:22
usr\lib\launchy\plugins\libgcalc.so=40807, 0, x86_64 linux g++-4 full-config, 2015-12-07T01:43:22
usr\lib\launchy\plugins\librunner.so=40807, 0, x86_64 linux g++-4 full-config, 2015-12-07T01:43:22
usr\lib\launchy\plugins\libverby.so=40807, 0, x86_64 linux g++-4 full-config, 2015-12-07T01:43:22
usr\lib\launchy\plugins\libweby.so=40807, 0, x86_64 linux g++-4 full-config, 2015-12-07T01:43:22
usr\lib32\qt\plugins\inputmethods\libqimsw-multi.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\iconengines\libqsvgicon.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\imageformats\libqgif.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\imageformats\libqico.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\imageformats\libqjpeg.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\imageformats\libqmng.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\imageformats\libqsvg.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\imageformats\libqtga.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\imageformats\libqtiff.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\bearer\libqconnmanbearer.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\bearer\libqgenericbearer.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
usr\lib32\qt\plugins\bearer\libqnmbearer.so=40807, 0, i386 linux g++-4 full-config, 2016-03-04T22:31:19
opt\pt\bin\imageformats\libqgif.so=40802, 0, i386 linux g++-4 full-config, 2016-03-15T18:23:28
opt\pt\bin\imageformats\libqjpeg.so=40802, 0, i386 linux g++-4 full-config, 2016-03-15T18:23:28
opt\teamviewer\tv_bin\RTlib\plugins\systemtrayicon\libsni-qt.so=40806, 1, i386 linux g++-4 full-config, 2017-01-03T05:27:40
[Qt%20Factory%20Cache%204.8]
com.trolltech.Qt.QInputContextFactoryInterface%3A\usr\lib\qt4\plugins\inputmethods\libqimsw-multi.so=2017-07-11T00:22:32, imsw-multi
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqgif.so=2017-07-11T00:22:32, gif
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqico.so=2017-07-11T00:22:32, ico
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqjpeg.so=2017-07-11T00:22:32, jpeg, jpg
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqmng.so=2017-07-11T00:22:32, mng
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqsvg.so=2017-07-11T00:22:32, svg, svgz
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib\qt4\plugins\imageformats\libqtiff.so=2017-07-11T00:22:32, tiff, tif
com.trolltech.Qt.QIconEngineFactoryInterfaceV2%3A\usr\lib\qt4\plugins\iconengines\libqsvgicon.so=2017-07-11T00:22:32, svg, svgz, svg.gz
com.trolltech.Qt.QIconEngineFactoryInterface%3A\usr\lib\qt4\plugins\iconengines\libqsvgicon.so=2017-07-11T00:22:32
com.trolltech.Qt.QSqlDriverFactoryInterface%3A\usr\lib\qt4\plugins\sqldrivers\libqsqlite.so=2017-01-02T10:45:34, QSQLITE
com.trolltech.Qt.QBearerEngineFactoryInterface%3A\usr\lib\qt4\plugins\bearer\libqconnmanbearer.so=2017-01-02T10:45:34, connman
com.trolltech.Qt.QBearerEngineFactoryInterface%3A\usr\lib\qt4\plugins\bearer\libqgenericbearer.so=2017-01-02T10:45:34, generic
com.trolltech.Qt.QBearerEngineFactoryInterface%3A\usr\lib\qt4\plugins\bearer\libqnmbearer.so=2017-01-02T10:45:34, networkmanager
com.trolltech.Qt.QInputContextFactoryInterface%3A\usr\lib32\qt\plugins\inputmethods\libqimsw-multi.so=2016-03-04T22:31:19, imsw-multi
com.trolltech.Qt.QIconEngineFactoryInterfaceV2%3A\usr\lib32\qt\plugins\iconengines\libqsvgicon.so=2016-03-04T22:31:19, svg, svgz, svg.gz
com.trolltech.Qt.QIconEngineFactoryInterface%3A\usr\lib32\qt\plugins\iconengines\libqsvgicon.so=2016-03-04T22:31:19
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib32\qt\plugins\imageformats\libqgif.so=2016-03-04T22:31:19, gif
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib32\qt\plugins\imageformats\libqico.so=2016-03-04T22:31:19, ico
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib32\qt\plugins\imageformats\libqjpeg.so=2016-03-04T22:31:19, jpeg, jpg
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib32\qt\plugins\imageformats\libqmng.so=2016-03-04T22:31:19, mng
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib32\qt\plugins\imageformats\libqsvg.so=2016-03-04T22:31:19, svg, svgz
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib32\qt\plugins\imageformats\libqtga.so=2016-03-04T22:31:19, tga
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\usr\lib32\qt\plugins\imageformats\libqtiff.so=2016-03-04T22:31:19, tiff, tif
com.trolltech.Qt.QBearerEngineFactoryInterface%3A\usr\lib32\qt\plugins\bearer\libqconnmanbearer.so=2016-03-04T22:31:19, connman
com.trolltech.Qt.QBearerEngineFactoryInterface%3A\usr\lib32\qt\plugins\bearer\libqgenericbearer.so=2016-03-04T22:31:19, generic
com.trolltech.Qt.QBearerEngineFactoryInterface%3A\usr\lib32\qt\plugins\bearer\libqnmbearer.so=2016-03-04T22:31:19, networkmanager
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\opt\pt\bin\imageformats\libqgif.so=2016-03-15T18:23:28, gif
com.trolltech.Qt.QImageIOHandlerFactoryInterface%3A\opt\pt\bin\imageformats\libqjpeg.so=2016-03-15T18:23:28, jpeg, jpg
com.nokia.qt.QSystemTrayIconSysFactoryInterface%3A\opt\teamviewer\tv_bin\RTlib\plugins\systemtrayicon\libsni-qt.so=2017-01-03T05:27:40, default
com.trolltech.Qt.QSqlDriverFactoryInterface%3A\usr\lib\qt4\plugins\sqldrivers\libqsqlibase.so=2017-01-02T10:45:34, QIBASE
com.trolltech.Qt.QSqlDriverFactoryInterface%3A\usr\lib\qt4\plugins\sqldrivers\libqsqlmysql.so=2017-01-02T10:45:34, QMYSQL3, QMYSQL
com.trolltech.Qt.QSqlDriverFactoryInterface%3A\usr\lib\qt4\plugins\sqldrivers\libqsqlodbc.so=2017-01-02T10:45:34, QODBC3, QODBC
com.trolltech.Qt.QSqlDriverFactoryInterface%3A\usr\lib\qt4\plugins\sqldrivers\libqsqlpsql.so=2017-01-02T10:45:34, QPSQL7, QPSQL
[Qt]
filedialog=@ByteArray(\0\0\0\xbe\0\0\0\x3\0\0\0\x1e\0\0\0\xff\0\0\0\0\0\0\0\x2\0\0\0\x63\0\0\xe\0\x1\0\0\0\x4\x1\0\0\0\x1\0\0\0\x2\0\0\0\x5\x66ile:\0\0\0\x11\x66ile:///home/user\0\0\0\x2\0\0\0\x14\0/\0h\0o\0m\0\x65\0/\0u\0s\0\x65\0r\0\0\0\x1e\0/\0h\0o\0m\0\x65\0/\0u\0s\0\x65\0r\0/\0\x64\0o\0\x63\0s\0\0\0\x14\0/\0h\0o\0m\0\x65\0/\0u\0s\0\x65\0r\0\0\0~\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xdf\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xea\0\0\0\x1\0\0\0\0\0\0\0\x41\0\0\0\x1\0\0\0\0\0\0\0\x42\0\0\0\x1\0\0\0\0\0\0\0r\0\0\0\x1\0\0\0\0\0\0\0\x1)
style=GTK+

@ -0,0 +1,15 @@
[Settings]
gtk-theme-name=Numix-DarkBlue
gtk-icon-theme-name=Vibrancy-Colors-Full-Dark
gtk-font-name=Sans 10
gtk-cursor-theme-name=Capitaine
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull

18
roles/gtk/tasks/main.yml Normal file

@ -0,0 +1,18 @@
---
- name: Install Numix Theme
packer: name={{item}} state=present
with_items:
- numix-themes-darkblue
- vibrancy-colors
- name: Configure GTK and Qt
synchronize: src=files/ dest=~/
- name: Update font cache
shell: creates=.Xdefaults fc-cache -f
- name: Init xressource
shell: creates=.Xdefaults xrdb ~/.Xresources
- name: Link Xdefaults
file: src=~/.Xresources dest=~/.Xdefaults state=link

@ -0,0 +1 @@
Subproject commit d56a4302358359ddf9845252addf637a5e6bd6d5