Commit graph

1625 commits

Author SHA1 Message Date
274cc8026a
sh: Add distrobox alias and enable displaying host
Add a simple alias to quickly use distrobox with `db` alias, and modify
pure prompt initialization slightly so that it displays a hostname when
in a distrobox container (akin to operating from ssh or normal container
usage).

HACKY implementation makes use of both an internal pure prompt api
(see here https://github.com/sindresorhus/pure/issues/585)
and a distrobox env var that I am not sure how exposed it is either.
Powerlevel10k uses a similar method though, so maybe it is fine
(see here 33916e91a7/internal/p10k.zsh (L8336)).
2023-01-10 16:55:25 +01:00
99a3c0d314
sh: Add conditionals to plugin loading 2023-01-10 15:37:45 +01:00
d3d13b3083
wezterm: Add url-opening to quickselect
Added new quickselect mode to quickly open a displayed url. Changed
original quickselect to use leader-f mapping (instead of shift+f) and
made new mode callable through the shift+f version.

from: https://github.com/wez/wezterm/issues/1362

Delegated scroll mode invocation to leader-b, as in original setup.
2023-01-10 13:57:23 +01:00
cb57e83540
river: Add ability to spawn floating terminal
Can spawn floating terminal with mapping: super+ctrl+return.
2023-01-10 13:49:31 +01:00
ab14c37aa7
vifm: Make compression mappings work in any mode 2023-01-10 00:15:04 +01:00
dac7e7deee
taskopen: Fix expansion using environment var 2023-01-10 00:14:40 +01:00
6cf34a5aee
beets: Add lyrics fetching 2023-01-10 00:14:00 +01:00
8912a09a39
scripts: Change nxsiv-rifle to uoeia
I rewrote and extended the nsxiv-rifle script recently, and this change
now: removes the old script, adds the new one as a submodule into the
repository and links a working binary into the path.

The new script is essentially still just an image grabber-and-opener,
but supports more image viewers, is a little more advanced and can for
example replace arbitrary parts of urls (and is documented a little more
nicely).

Make qutebrowser use new script and remove leftover references to
nsxiv-rifle. Qutebrowser also gets a third option of viewing images, now
there are:

,i -> open selected link in imageviewer
,I -> open current page in imageviewer
,<C-i> -> open selected image in imageviewer
2023-01-08 21:05:16 +01:00
a0b3ed6c1f
LICENSE: Fast forward four years 2023-01-08 01:55:40 +01:00
de792cf742
mopidy: Extend scan timeout to 5 seconds 2023-01-08 01:54:52 +01:00
01445aa3ed
lockscreen: Update script for new waylock version 2023-01-07 16:46:09 +01:00
3dbc9f47d9
jrnl: Add to writing module
Added base configuration of my digital journaling tool of choice jrnl to
the writing package.
2023-01-07 16:25:50 +01:00
3514e0afb5
bat: Add simple configuration 2023-01-07 16:20:31 +01:00
9781b26b22
terminal: Create module to consolidate term utils
Terminal application, a variety of shell configurations, terminal file
and session management all consolidated in one place.
2023-01-07 16:11:40 +01:00
2e0c992a54
wayland: Consolidate with mako into desktop module
Since the existing wayland module basically describes everything about
my 'desktop environment' setup already anyway, might as well rename it
accordingly. Additionally, mako is important for notifications in this
environment so it moves here as well.
2023-01-07 16:06:00 +01:00
4c33a6da56
mpv: Move into multimedia module 2023-01-07 16:01:41 +01:00
5a1c779a0d
repo: Remove deprecated modules
Removed rofi (long-since not used), kitty (switched to wezterm) and
dunst (switched to mako) from the repository.
2023-01-07 15:57:05 +01:00
04c02fde72
writing: Consolidate into module
For now, contains bibtex and zathura options, though it will undoubtedly
increase as I add more writing utilities (such as jrnl) into the repo.
2023-01-07 15:56:03 +01:00
e9659a2829
bootstrap: Update package list 2023-01-07 15:27:17 +01:00
f975e5885e
wezterm: Add timeout to scrolling mode 2023-01-07 15:12:44 +01:00
e224f7f20a
kanshi: Update profiles and notify on change 2023-01-07 15:11:51 +01:00
56c9f66d72
river: Add experimental map to hide views
mod-Shift-M to switch to an always-unused tag for all connected outputs
to simply hide all application that can currently be seen. Would
probably be more useful with an option to reverse but that probably
requires a more extensive script to implement (perhaps using `lswt`?) so
this will be good enough for now.

I am not even entirely sure how much I will be using it.
2023-01-07 15:03:17 +01:00
951365bd92
river: Fix startup procedure process spawning 2023-01-07 15:01:12 +01:00
c193a90b40
river: Switch notification maps to use mako 2023-01-07 15:00:35 +01:00
c3279799d8
river: Fix wezterm floating term start 2023-01-07 14:59:53 +01:00
c49d87722c
river: Try to remove client side deco from zathura 2023-01-07 14:59:11 +01:00
40245120f5
river: Hide cursor when typing
Makes use of new river functionality to automatically hide the cursor
whenever you begin to type.
2023-01-07 14:58:30 +01:00
824e76c654
vifm: Add zip creation shortcut xz 2023-01-07 14:57:24 +01:00
0bc4a41e03
vifm: Add imv as image viewer 2023-01-07 14:57:12 +01:00
4f75888dfe
sh: Remove docker xdg configuration
Podman rebels if it finds an explicitly set DOCKER_CONFIG file pointing
to a non-existent (due to using podman) configuration file. Since we are
not using docker anyway, this removes the env var.
2023-01-07 14:56:09 +01:00
5d2ed8174c
sh: Add hidden file inclusive ls tree view 2023-01-07 14:54:55 +01:00
3ece309f67
sh: Add imv to iv image alias 2023-01-07 14:54:32 +01:00
46a349cba1
social: Add simple tut configuration
I am mostly using the TUI Mastodon client tut for any social
interaction, so here I keep its configuration. Nothing big changed yet,
I mostly like the default options, with the exception of some layout
changes.
2023-01-07 14:53:08 +01:00
b6e6ddcf06
social: Add minimal newsboat rss config 2023-01-07 14:52:48 +01:00
969c836790
services: Remove deprecated X services 2023-01-07 14:52:14 +01:00
cb0605971d
scripts: Add wallcrop.sh
Added hacky script to quickly cut apart dual-screen wallpapers.
I run two 1920x1080 screens side-by-side, so I just cut double wide
wallpapers in two and display one on each screen.

Script is very inflexible on probably not too useful for the future but
it works for its purposes now.
2023-01-07 14:50:34 +01:00
bd1182a873
qutebrowser: Add pypi search,Remove google translate 2023-01-07 14:50:09 +01:00
ccd9c51cc0
mail: Allow moving threads to other mailboxes 2023-01-07 14:49:15 +01:00
9a1f9be8c6
mail: Switch to imv for images 2023-01-07 14:48:54 +01:00
001919d183
mako: Add 2023-01-07 14:48:41 +01:00
44f7c2e6ca
bootstrap: Update package list 2023-01-07 14:48:13 +01:00
912458d8f0
mpv: Remove deprecated and superfluous settings 2023-01-07 14:42:34 +01:00
1701b9d34e
ncmpcpp: Set song notification class and priority 2023-01-05 22:50:15 +01:00
e72da98946
multimedia: Update beets configuration 2022-12-30 14:48:11 +01:00
2bff4dfe76
wayland: Set wallpapers for all connected screens
Changes the wallpaper setting code on startup to set a wallpaper for
each screen that it finds currently connected. Still a bit hacky and
should be improved for reactive wallpaper setting as new screens are
connected/disconnected but should work for the moment.
2022-12-24 16:44:59 +01:00
660f6b0ca6
wayland: Fix suspend input locking after timeout
This commit fixes input locking when suspend was invoked autoatically
after a certain amount of time.

Previously, it would invoke the lockscreen first, then dim the screen
and finally suspend the machine. While suspending it would invoke the
lockscreen *again* however, which seems to lead to generally locking
input (perhaps 2 instances of waylock disable each others' input
ability?).

This change checks for a running lockscreen first before invoking
another one, which should hopefully fix the issue.
2022-12-24 16:41:45 +01:00
7865626f5b
multimedia: Add initial commit 2022-12-21 10:41:46 +01:00
fd20fb2576
wayland: Fix automatic system suspend
Previously, swayidle would wait for each command to be finished before
executing the next which, with lockscreen running in the foreground,
would not happen until it was unlocked again. The results were a working
lockscreen after the timeout, but nothing else happening and suspend
mode only being engaged *as soon as* the lockscreen was disabled (i.e.
when you want to use the PC again).

This removes swayidle's waiting for commands to finish and instead
simply go on to the next timeout when the time is right and should thus
fix the issue.
2022-12-21 10:34:30 +01:00
201c482f2b
zsh: Revert vi-mode plugin
This commit removes the vi-mode plugin for zsh again. I have found that
the normal included vi mode of zsh is more than enough for most of my
needs.

The only two issues I have with it are that it sometimes does not
correctly go back into insert mode and it does not support word surround
commands (ysaw" for example).

While vi-mode adds the ability for such surround commands it comes at
the cost of taking longer to go into vi mode. And with my constant
switching back and for between the modes this is a much more egregious
issue than the others unfortunately.
2022-12-20 23:13:41 +01:00
205c48633f
wezterm: Added toggling ability for leader key
Sometimes the leader key gets in the way. Since my leader key
combination is C-a by default, this interferes with the (rare) times
that I want to increment something in vim (also C-a).

So, this commit allows toggling the leader key in wezterm off, so it
passes through to the actual applications. You can toggle it with
`C-Alt-a`.

Commit made possible with the help of the comments in this issue:
https://github.com/wez/wezterm/issues/656
2022-12-20 23:12:48 +01:00