https://github.com/qbbr/dotfiles
my Linux dotfiles
https://github.com/qbbr/dotfiles
bashrc conky conkyrc dotfiles muttrc shell
Last synced: about 2 months ago
JSON representation
my Linux dotfiles
- Host: GitHub
- URL: https://github.com/qbbr/dotfiles
- Owner: qbbr
- Created: 2013-06-15T22:18:14.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T03:21:13.000Z (over 1 year ago)
- Last Synced: 2025-06-04T08:57:30.038Z (about 1 year ago)
- Topics: bashrc, conky, conkyrc, dotfiles, muttrc, shell
- Language: Shell
- Homepage:
- Size: 457 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# QBBR dotfiles
____ ____ ____ _____
/ __ \| _ \| _ \| __ \
| | | | |_) | |_) | |__) |
| | | | _ <| _ <| _ /
| |__| | |_) | |_) | | \ \
\___\_\____/|____/|_| _\_\
_ _ __ _ _
__| | ___ | |_ / _(_) | ___ ___
/ _` |/ _ \| __| |_| | |/ _ \/ __|
| (_| | (_) | |_| _| | | __/\__ \
\__,_|\___/ \__|_| |_|_|\___||___/
## Bash binds
* `Selected text + Shift + MouseBtn1` - open url/path in browser (ff) [PRIMARY]
* `Selected text + Shift + MouseBtn2` - open url/path in idea (intellij) [PRIMARY]
* `Ctrl + Shift + c` - copy selected text [CLIPBOARD]
* `Ctrl + Shift + v` - paste [CLIPBOARD]
* `Shift + Home` - scroll to top
* `Shift + End` - scroll to bottom
* `Ctrl + /` - print all session history
for X global keys see [.xbindkeysrc](.xbindkeysrc)
see [XTerm](.Xresources#L34) `on*Clicks` kung-fu for mouse selection [PRIMARY]
[X_Window_selection](https://en.wikipedia.org/wiki/X_Window_selection#Clipboard)
## Bash functions
see [.bash_variables](.bash_variables), [.bash_functions](.bash_functions)
* `hello_msg`
* `f` - fork
* `l/ll` - colorful ls
* `p/pm` - colorful process usage
* `m` - colorful mount
* `df` - colorful df
* `extract` - extract any archive
* `swap` - swap 2 files
* `bak` - backup file
* `md` - print markdown
* `pp` - pretty-print any file (pygmentize)
* `apt-history` - install/upgrade/remove/rollback
* `tailf-monolog` - colorful tail -f for [monolog](https://github.com/Seldaek/monolog)
* `get-cert-names`
* `less-tree`
* `data-url`
* `decode-url`
* `decode-base64`
* `decode-imap-folder-name`
* `set-tor-proxy`
* `unset-tor-proxy`
* `n/nls/nrm/nprint/np/ncat` - [simple notes](#simple-notes)
## Requirements
* [fonts-hack](https://packages.debian.org/source/bullseye/fonts-hack)
* [bash-completion](https://packages.debian.org/jessie/bash-completion) (optional for simple-notes)
* [gawk](https://www.gnu.org/software/gawk/)
* [tree](https://packages.debian.org/jessie/tree) (optional for simple-notes)
* [pandoc](https://packages.debian.org/jessie/pandoc) (optional for simple-notes)
* [xttitle](https://packages.debian.org/stretch/xttitle) (optional)
* [lua](https://www.lua.org/), [lua-json](https://www.eharning.us/wiki/luajson/), [lua-socket](https://w3.impa.br/~diego/software/luasocket/), [lua-sec](https://luarocks.org/modules/brunoos/luasec) for [conky](https://github.com/brndnmtthws/conky) scripts (optional)
* [pygmentize](https://pygments.org/) (optional)
all:
```bash
apt install fonts-hack bash-completion gawk tree pandoc xttitle
pip install pygments pygments-solarized-style
```
## Scripts
* [backlight-brightness-control](bin/backlight-brightness-control)
* [volume-control](bin/volume-control)
* [offlineimap-notify-send](bin/offlineimap-notify-send)
* [on-online-runner](bin/on-online-runner)
* [dmenu-mpc-playlist](bin/dmenu-mpc-playlist)
* [hl](bin/hl) - color highlight by regexp pattern from stdin
## Simple notes
### Installation
```bash
sudo ln -sf ${PWD}/etc/bash_completion.d/simplenotes /etc/bash_completion.d/
```
### Usage
* `n ` - edit `.md`
* `nls` - ls notes dir
* `nrm ` - rm `.md`
* `nprint ` - print `.md` via `$NOTES_PRINT_CMD`
* `ncat ` - cat `.md`
## Screenshots
*old with terminus font*
\w [dwm](https://github.com/qbbr/dwm) + [dzenbar](https://github.com/qbbr/dzenbar)
[conky](.config/conky):
[](https://i.imgur.com/p3H3sz0.png)
firefox-esr:
[](https://i.imgur.com/1vnahXx.png)
[vim](https://github.com/qbbr/dotvim) + [mc](.config/mc) + xterm:
[](https://i.imgur.com/3dddM1h.png)
[mutt](.muttrc):
[](https://i.imgur.com/1vEF78H.png)
[xmonad](https://github.com/qbbr/xmonad-cfg):
[](https://i.imgur.com/JvDkJ5e.png)
android termux:
[](https://i.imgur.com/oR2tBa3.jpg)