Commit graph

941 commits

Author SHA1 Message Date
3d1438f657 Add picom inactive window opacity automatic toggle
Whenever i3 is using gapless mode, all windows will be opaque. When gaps
are shown inactive windows will have some transparency and blur behind
them.

Script can be invoked manually with `picom_toggle_inactive_opacity` to
toggle, `picom_toggle_inactive_opacity on` or
`picom_toggle_inactive_opacity off` to set it respectively.
2019-11-18 22:52:25 +01:00
717b9d9096 Adapt compton config to new naming scheme picom 2019-11-18 18:19:48 +01:00
a1c8b56003 Exchange supercrabtree/k for exa
exa is more versatile and way faster than k. I rarely used the git
integration of k (which is, admittedly, better), as well as the colored
variables. So exa should work well enough for my purposes, especially
since I make more use of vifm when cd-ing through a lot of directories.
2019-11-18 17:26:24 +01:00
c56e96cc11 Fix some pandoc variables for bibliography 2019-11-18 17:20:43 +01:00
b33a58b593 Fix true color support for nvim in tmux
Uses the correct TERM env var and sets the correct rgb setting for
surrounding terminal.
2019-11-18 17:16:32 +01:00
cd762cde4a Fix rofi-gopass to use correct user field
gopass, by default creates a field called `username` to contain the
corresponding login name. rofi-gopass was looking for a field called
`user`, and ignored username which lead to it only inputting the
password for any site where gopass created the login credentials.

This is now fixed, all that remains is to revert the manually changed
fields back to `username`.
2019-11-18 12:18:56 +01:00
15e63044db Add colorscheme switching and airline/tmux autoset
Use <leader><F8> to set a new colorscheme in vim. The airline
automatically sets itself to the corresponding colorscheme, as does the
tmux statusbar at the bottom.

Use <F8> to toggle between dark and light mode for the colorscheme (not
all colorschemes support this unfortunately, I might restrict the
installed colorschemes to those that do). Again, Airline and tmuxline
will automatically adjust themselves.

Tmux prefix highlight plugin has been removed, since its functionality
can be replicated easily with the ?client_prefix function in tmux -
which also works regardless of any styles applied to the statusbar
through tmuxline. Currently, whenever the prefix is active the
clock-area will turn bright blue.
2019-11-18 11:00:10 +01:00
b3db50f03b Add redshift to startup if it exists 2019-11-17 23:29:09 +01:00
4cd3feda3a Switch to official notational velocity vim plugin
It works with fzf, and will use smartcase for its search. Since the
setup is not using skim anymore, the official plugin will do.
2019-11-17 23:03:17 +01:00
634de692dd Add rust cargo to path 2019-11-17 23:02:17 +01:00
40b0a2a775 Remove grammarious from vim
I've never actually used it for prose writing, and it depends on Java
installation as a dependency which is not installed on my machines.
2019-11-13 17:48:04 +01:00
dc29299157 Add font highlighting and dpi scaling
Check this works for both desktop and laptop display.
2019-11-13 17:46:15 +01:00
3c6ef91ae0 Fix shortcuts and settings for bibtex-fzf 2019-11-12 08:38:21 +01:00
75195765ca Set fzf commands to actually use FZF 2019-11-04 21:59:43 +01:00
570c575776 Add FZF bibliography insertion 2019-11-04 21:45:59 +01:00
e8e8290426 Edit pandoc academia settings 2019-11-04 19:26:36 +01:00
8ffa12744c Add several experimental academia profiles 2019-11-04 19:13:43 +01:00
02c323bea5 Fix profiles folder 2019-11-03 12:27:36 +01:00
84a2a945df Add vim profiles folder 2019-11-03 11:37:33 +01:00
44bed9b6a4 Add calculator to meta+r quicklaunch menu 2019-10-24 17:07:15 +02:00
9914f5ae91 Fix pandoc conceal levels and add to Prose group 2019-10-24 17:06:30 +02:00
675e4fd9d5 Refactor markdown plugins, enable conceal, add day colorscheme to term 2019-10-18 11:02:11 +02:00
320d62e880 Merge branch '56-set-up-vim-for-rmarkdown-and-academic-writing' of gitlab.com:marty-oehme/dotfiles into 56-set-up-vim-for-rmarkdown-and-academic-writing 2019-10-18 11:01:14 +02:00
552a56cc33 [nvim] Improve compilation filetype target
Allows compilation using pandoc to happen for markdown, as well as
rmarkdown files.
2019-10-18 10:59:57 +02:00
14f6bee7a1 [nvim] Add useful writing colorscheme
Pencil is from reedes, cribbed from iWriter. It is a good, subdued
colorscheme for writing prose. All colorschemes in this vimrc now come
with italicized letters (for comments, and words that should be italic).
All themes also respect the background= dark/light distinction and
enable the respective mode.
2019-10-18 10:59:57 +02:00
de0b83fb3f [nvim] Add rmarkdown, pandoc plugins and bindings
PDFs can be compiled using rmarkdown by invoking <leader>c, or C to open
the file (which pauses vim however). The best workflow is to open the
pdf manually in something like zathura, which will auto-update when the
document is newly compiled.
2019-10-18 10:59:57 +02:00
350158c520 [nvim] Add function to show all keymappings
Use :ShowMaps to display all currently mapped things for vim. Will not
include things like `i`, but actual mappings.
2019-10-18 10:59:02 +02:00
48be54b79c Refactor notes/wiki search functions 2019-10-17 18:55:32 +02:00
73b5004c3f Fix tab titles separator at the end 2019-09-29 21:40:38 +02:00
ed25b3d966 Add gopass configuration file 2019-09-20 14:53:47 +02:00
f8ed65f1de rofi-gopass fix spelling error 2019-09-20 10:41:08 +02:00
06489ac101 Add yank filename/-path to vim as yf 2019-09-19 15:43:40 +02:00
a0a14c4afd Set default papis notes to RMarkdown file ending 2019-09-19 15:39:45 +02:00
640ee9dbf9 Add surfraw rofi extension to search the web with bangs 2019-09-18 17:55:44 +02:00
76efabe67b Add gopass settings for vim 2019-09-18 16:01:43 +02:00
710e47758d Add rofi-gopass to quickly enter gopass entries 2019-09-18 16:01:06 +02:00
81ecb4dfb6 [HACK] Add fix for sxhkd rofi menu
HACK TODO: Added a hard-coded line to the rofi powermenu mode in
.config. Should either point to an XDG compliant rofi-modes folder
(.config/rofi-modi or smthg), or, ideally a specific directory in rofi
configuration or scripts and rofi specific dirs. That depends on the
rofi modi being seen primarily as scripts or as configuration of the
operating procedure of rofi.
2019-09-10 23:47:50 +02:00
9fb9bb39ee Fix rofi layout sizings for fullscreen 2019-09-05 22:07:10 +02:00
da5cd9ef1f Add rofi menus to global shortcuts
Accessible through Super+Space for the quickrun menu (essentially
emulates dmenu, just with a nice colorscheme); Super+r for a more
extensive options menu: window switching, clipboard history, ssh
(accessible with Shift-right). First step toward streamlined rofi
config.
2019-09-05 21:41:07 +02:00
8b7de007e9 Add dmenu-like application selector 2019-09-05 21:15:50 +02:00
b28a98c4e4 Add rofi-nerdfont icon picker mode 2019-09-05 19:50:17 +02:00
c6c4161d77 Add rofi-fontawesome icon picker mode 2019-09-05 19:21:55 +02:00
ff6ca7e684 Make rofi-powermenu configurable through env vars
Added Environment variables to show/hide the text and icons, as well as
change the individual commands rofi-powermenu uses to affect the system.
2019-09-05 17:47:15 +02:00
49cacfe787 Refactor powermenu to rofi modus 2019-09-05 16:21:53 +02:00
3d9ea5cffe Configure rofi-powermenu and lockscreen script
Use rofi-powermenu to show options for suspend,reboot, shutdown,
lockscreen, log out. Can be invoked with <M-backspace>. Other power
option shortcuts have been removed from quick access through sxhkd or
i3. Lockscreen can still be quickly set with <M-x>.

Lockscreen now resides in its own script to provide one source of truth,
and in case it is further customized in the future.
2019-09-05 13:31:42 +02:00
16cb8f092e Add dmenu theme 2019-09-05 13:03:51 +02:00
199fbdae4d Add rofi theme scaffolding
Themes are structured in two parts: layout and colorschemes. Both can be
set independently from each other. Layouts can make use of anchored
color values (@background, @background-focus,.. look at colorscheme
files for all available values). Colorscheme files then translate the
values into actual colorcodes.

That way, the colorscheme for all layouts can be changed with one
setting, or independently of each other. Layouts try to specify some
often used structures for rofi menus - right now there is a horizontal
list and a fullscreen options selection (which can make use of icon
fonts).

Any global theme changes should be done in settings.rasi. Any global
function changes can still be done in config.rasi. A rofi-powermenu has
been added as an example of using the theming structure. The powermenu
script loads rofi with the powermenu.rasi theme enabled. The powermenu
theme loads the fullscreen options layout, which in turn loads the
vertical list layout, which loads settings, which sets the correct
colors. Idea and original structure from:
https://gitlab.com/vahnrr/rofi-menus
2019-09-05 10:45:32 +02:00
264e095224 Add initial rofi-bangs script
Can be executed with rofi-bang. It will take a comma-separated list of
commands (for now statically sourced from rofi config dir), show labels
and 'bangs' for them (in the manner of !c or !yt) which, if typed will
instantly execute their command. In this manner, it becomes possible to
create a quickly accessible menu using rofi.

E.g. we could have !b to search bookmarks. As soon as !b is typed the
'bang' instance of rofi exits and executes the associated command. If
the command starts up another, visually identical, rofi instance with a
preselection of different user bookmarks, it appears as if we just
jumped into a bookmark list in the same rofi instance.

Of course, the commands can be anything. They don't have to invoke more
rofi instances.
2019-09-04 23:04:07 +02:00
f1bcae1767 Add simple rofi config file 2019-09-04 19:47:13 +02:00
a6c133feb9 Merge branch '57-unify-fuzzy-finding-in-vim-and-the-commandline' into 'master'
Resolve "Unify fuzzy finding in vim and the commandline"

Closes #57

See merge request marty-oehme/dotfiles!21
2019-09-04 17:32:11 +00:00