This repository contains files for configuring my Terminal environment and other various linux settings. See Github does dotfiles for more info
While my dotfiles are optimised for my workflow, you can maybe find something interesting in it.
Snippy
is enhanced version of the snippy snippet utility.
I use it everyday with more than 600 snippets.
Here some enhancements that I made:
{clipboard}
placeholder to use current clipboard in snippetCREATE DATABASE \`{clipboard}\` CHARACTER SET utf8 COLLATE utf8_general_ci;
{cursor}
placeholder to place the cursor
<pre>{cursor}</pre>
<pre>
{cursor}
</pre>
##noparse
header in snippet to not parse$(date +%Y-%m-%d-%Hh%Mm%S)
terminal/
├── other
│ └── date
└── script
└── test
Mprisctl
is wrapper around playerctl
. By default, it shows the status, artist and track title of the last detected player.
$ mprisctl
Playing
ARTE Concert
Kompromat @ La Cigale (Full Show HiRes) – ARTE Concert
Chrome history
is a basic shell script that output your chrome browser history. It's made to work with rofi
.
You can use it in rofi to open a link Exemple:
rofi -combi-modi "chrome:chrome_history,window,drun" -show combi -modi combi -lines 25 -display-combi '> '
I need a light theme to work during the day with the sun light, and a dark theme to geek at night. So I made a quick script to handle the switch: change_theme
.
A perfect fit for the ThinkVantage button.
Detect_screen
, a script to automate screen configuration when you plug a new screen.
When you need a list of your server to ssh to: Give me hostname. Combine it with fzf
to autocomplete the ssh/scp/rsync commands.
Light bar is a minimal script to change screen brightness and display a simple bar. Good to include in awesomewm or any other wm.
Volume bar is a minimal script to change volume and display a simple bar. Good to include in awesomewm or any other wm.
Ssh connect is a script that:
Open sftp is a script that:
Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, and remove things you don’t want or need. Don’t blindly use my settings unless you know what that entails. Use at your own risk!
Clone the repository in ~/.dotfiles
:
git clone https://github.com/barbuk/dotfiles ~/.dotfiles && ~/.dotfiles
init the submodules:
git submodule update --init
You can use source bashrc or use install.sh to symlink the files.