My personal configuration files.
Go to file
Marty Oehme 6ac552d3d5
Switch to wayland
Added a simple wayland configuration.
Currently set up simple wayland configuration based on river window
manager and waybar.
Rivercarro is the layout manager, being the same in principle as rivertile,
the default layout manager for river, only it comes with smart gaps
(gaps turn off if there is only one window open)
and monocle mode (give one window all space).

Runs `keyd` in the background to replace the old `xcape` capslock switching
(capslock is escape and if held control).
Uses `swaybg` to set a wallpaper.

Added powermenu and lockscreen scripts.
Improved lockscreen script to detect and work for wayland.
Moved old rofi mode 'powermenu' to more general powermenu script,
which works with any rofi-like selector (dmenu, bemenu, wofi, etc.)
Loses some of its design quality but since it was wonky anyway,
and I rarely see the menu,
we could repurpose its functionality for a more general powermenu
concept.
Currently hardcoded for `bemenu` but can be easily swapped and possibly
even extended back to rofi.
Fixed file upload link sharing to clipboard.

Updated rofi-pass to pass-pick.
Made rofi-pass universal and less integrated to rofi - that's also the
reason for the name change.
`pass-pick` works with rofi (default), bemenu or dmenu. In theory it
should also work with any other picker that contains a stdin listing
function similar to dmenu.
It has been definitely tested both on rofi and bemenu.
The best user experience still reigns on rofi, where available keys are
displayed on the picker and the keys themselves make the most sense.
But all functions can be reached from bemenu as well, though the key
mappings are more arbitrary and can not be changed as in rofi.
The autofilling tool works with both xdotool and ydotool, so should work
both on X11 and on Wayland. Ydotool ideally requires its daemon to be
running, otherwise some of the typing may get gut off. Otherwise no
change should be necessary.

Updated qutebrowser open_download for bemenu.
Updated download opening script to work with both rofi and bemenu.
Prefers original rofi implementation but works with both, and can be set
to use a custom dmenu-like file picker as well.

Add brightnessctl and removed custom audio / brightness scripts since they
became unnecessary.

Updated bootstrap script to include system files:
With `keyd` taking its configuration from the `/etc` directory and not
home, a second stow stage was necessary. These stow files are in a
module called `system-packages` inside the top-level `bootstrap` stow
package.
They will not be installed by the default dotfile stow invocation but
have been integrated as an extra step into the install script.
Installing this module requires sudo privileges!

Switched vifm überzug to sixel graphics rendering.
überzug relies on X11 functionality to work, while sixel does not.
Unfortunately, alacritty does not work with sixel graphics yet, only
foot does (somewhat).

Waybar currently runs the gruvbox dark soft color scheme.
Added the old polybar archupdates script to waybar and extended it to
output json format with additional metadata that waybar can read.
Can still output the old plaintext format that polybar expects.
Added a wireguard connection to waybar,shows if currently
connected to either a wireguard or tun VPN service.
If so, shows an icon in the waybar - that can be hovered over to show
the full assigned IP address.
Added an upcoming event display to waybar,
a simple event indicator to show upcoming events on the calendar, on
hovering over it the tooltip lists all upcoming events.

Added `screenshot` script to take simple screenshots and
rectangle region shots of the current output.
Can be invoked through the river shortcut PrintScr:
`PrintScr` - Fullscreen screenshot
`Mod+PrintScr` - Region screenshot
`Shift+PrintScr` - Fullscreen screenshot and file upload
`Mod+Shift+PrintScr` - Region screenshot and file upload

Extended `sharefile` to take paths through stdin and make
use of `fd` if it is found on the system.
2021-11-30 22:30:07 +01:00
.assets Switch to wayland 2021-11-30 22:30:07 +01:00
.githooks sh: Switch yay to paru 2020-12-22 19:54:38 +01:00
alacritty/.config/alacritty Switch to wayland 2021-11-30 22:30:07 +01:00
an2linux an2linux: Try to fix ignored messages 2020-11-13 08:52:19 +01:00
bash bash: Fix git stash alias setting 2021-07-07 10:24:04 +02:00
bibtex bibtex: Fix default pandoc compilation target 2021-06-02 23:23:16 +02:00
bootstrap Switch to wayland 2021-11-30 22:30:07 +01:00
disks disks: Fix udiskie service config file sourcing 2020-11-05 22:26:19 +01:00
dunst/.config/dunst nvim: Switch from vimL to lua setup 2021-05-24 18:01:54 +02:00
git git: Use switch instead of checkout if available 2021-11-23 10:42:45 +01:00
mail mail: Update to new neomutt structure 2021-11-23 16:09:32 +01:00
mpv Switch to wayland 2021-11-30 22:30:07 +01:00
nvim/.config/nvim vifm: Change vifm filename yanking mapping to yt 2021-11-23 09:52:21 +01:00
pass Switch to wayland 2021-11-30 22:30:07 +01:00
picom/.config/picom Switch to GNU stow 2019-12-29 23:12:13 +01:00
qutebrowser Switch to wayland 2021-11-30 22:30:07 +01:00
rofi Switch to wayland 2021-11-30 22:30:07 +01:00
rofi-surfraw/.config/rofi-surfraw Switch to GNU stow 2019-12-29 23:12:13 +01:00
scripts Switch to wayland 2021-11-30 22:30:07 +01:00
services services: Add geoclue agent as systemd autostart 2021-04-12 18:40:47 +02:00
sh Switch to wayland 2021-11-30 22:30:07 +01:00
ssh ssh: Add simple ssh configuration module 2021-04-05 15:04:27 +02:00
styler [styler] Remove optional rg dependency 2020-06-19 15:41:39 +02:00
sxhkd sxhkd: Switch dunst pause for history search 2021-10-20 22:35:49 +02:00
taskwarrior taskwarrior: Add overdue emoji script 2021-11-23 16:13:54 +01:00
tmux tmux: Update social session with signal, email 2021-10-20 23:04:47 +02:00
vifm/.config/vifm Switch to wayland 2021-11-30 22:30:07 +01:00
wayland Switch to wayland 2021-11-30 22:30:07 +01:00
zathura/.config/zathura zathura: Add simple zathura configuration 2020-09-23 17:14:08 +02:00
zsh zsh: Fix shell history settings 2021-11-16 12:18:39 +01:00
.gitignore taskwarrior: Move sync settings out of repo 2021-10-10 10:04:59 +02:00
.gitlab-ci.yml repo: Update linting for 4-spaced shell scripts 2021-04-04 20:52:52 +02:00
.gitmodules [polybar] Fix pomodoro timer script display 2020-05-26 13:42:14 +02:00
.stowrc stow: Remove readme symlinking 2020-10-21 16:48:51 +02:00
LICENSE Add LICENSE 2019-06-07 08:33:58 +00:00
README.md add readme 2021-09-24 11:39:00 +02:00
install.sh Switch to wayland 2021-11-30 22:30:07 +01:00

README.md

~/🌹

What's in these dotfiles

  • vim configuration for simple programming tasks (especially go/typescript/python/bash) and prose
  • academic workflow tools, to allow quick citation, pdf compilation, and preview
  • simple, efficient polybar with package update notification, and spotify (mpris) integration
  • tmux session management through tm and tl tools
  • tmux fuzzy-searching of terminal sessions to switch to with hot-key (<C-A><C-s>) in addition to normal session switching
  • system-wide color management (terminals, vim, qutebrowser, polybar, xresources) through styler command using base16 themes
  • quick theme switching by activating styler and fuzzy-searching themes with hot-key (<Super>+F8)
  • many vim color-schemes with quick light/dark switching (F8) and individual theme switch (<Space>+F8)
  • quick directory jumping using z, with fzf integration
  • fzf integrations for bibtex citation, vim buffer management, most recently used switching, shell command history, and more

Styler recoloring demo

Quick-Start

The dotfiles use GNU stow to link themselves in the home directory. You can clone this repository anywhere (though I have mine in ~/.dotfiles as it seemed most logical for me).

I would recommend doing a git clone --recursive for this repository, since it contains git submodules, which will then automatically get pulled in as well. Of course, you can do it non-recursively and then just pull those modules selectively which you actually want.

Once in the repository directory, when you then run ./install.sh it will install many of the packages I use (though they are probably slightly out-of-date) and link the dotfiles into the home directory. If you do not want to install any packages, but only link the dotfiles run stow -S */ from the main repository directory. Since dotfiles management is based on stow, it will not overwrite anything already in the home directory (though you can force it to if you really want, using stow --override='.*' -- I do not recommend this).

After all files are linked and you open a new shell session, the dotlink alias will allow you to re-link all dotfiles from anywhere on the system.1

Both automatic installation paths are presumably somewhat brittle. In any case, I would suggest to manually look through the files for things you want instead of copying and activating everything. Dotfiles are too personal to be standardized like that. They're pets, not cattle. Enjoy!

Main Modules

Overview - an older image of the dotfile desktop with gaps, showing git logs, styler logs, duckduckgo in a browser, and a vifm view of the dotfiles themselves

  • alacritty - Terminal emulator (GPU accelerated and customizable)
  • i3 - Tiling window manager
  • polybar - Easy to customize statusbar
  • picom - X11 compositor (maintained fork from compton)
  • git - distributed version control system.
  • pass - Password management suite
  • nvim - Neovim configuration
  • bibtex - LateX/BibteX/pandoc plaintext writing & reference suite
  • qutebrowser - vim-key enabled web browser
  • rofi - Application launcher, dmenu replacement
  • sxhkd - X11 hotkey manager
  • tmux - terminal multiplexer
  • vifm - vim-like file-manager

Notes

  • Generally, most configuration for applications attempts to follow the XDG specifications, keeping configuration in .config directory and supplementary files in .local/share directory. Over time, I am moving more applications to this standard: it keeps the home directory clean, and the separation of configuration, binaries, and data relatively clear.
  • The zsh directory contains all setup for the z-shell, my daily work environment. It should not be required for working with any other module but will add additional functionality to many (such as command auto-completion and so on). sh sets some base functionality for any shell you may wish to work in. It is, for now, the only module that is required for some other modules to work.2
  • rofi contains additional scripts and a simple theming framework for rofi and should probably be reorganized to put the correct files into the correct directories (per xdg) at some point.
  • Whereas sh module scripts are requirements for other scripts, .local/bin in the scripts module contains most executable user scripts. Most of these have been migrated to other corresponding modules (e.g. if a script exclusively targets git functionality, it will live there), some useful --- or left-over --- stand-alone scripts remain however.
  • .local/share/pandoc contains configuration for academic latex writing (pandoc, really) and is of interest if you want to use this functionality.
  • .xinitrc is used for x initialization and program startup. At some point, some of the consistently running applications may be moved to systemd/runit as supervised services.
  • Generally, top-level directories starting with a . are only meaningful for the repository not for the functionality of the machine that these dotfiles are deployed on. That means .gitlab-ci.yml, .assets/, .stowrc and similar files and directories will not show up in the final deployment in any home directory. Perhaps they should be called dotdot-files since they're the dotfiles for my dotfiles. 🙂 (Also, 'dotfiles'.)

Gapless - the same image as above, only displayed without gaps


  1. This alias only works when the dotfiles are cloned into ~/.dotfiles, mirroring my setup. This is due to a hard-coded cd into this directory. If your dotfiles lie in another directory and you want to use the dotlink alias, simply change the corresponding line in bootstrap/.config/sh/alias.d/dotlink.sh] ↩︎

  2. I may remove this requirement in the future to make modules more self-contained. However, relying on some base utility scripts makes it easier to avoid duplicating such functionality for each individual script in other modules. ↩︎