Commit graph

14 commits

Author SHA1 Message Date
ffededb995
river: Fix wallpaper screen order
Since reorganizing my screens we have to switch the output
order of wallpapers. Would be really useful to be able to
talk to `swww` like kanshi with the full screen ID instead
of just the output number for wallpaper setting.
2024-02-24 09:08:44 +01:00
bad45b937d
river: Do not always restart kanshi with river
Kanshi used to be restarted every time river would be reloaded.
This is not desired however, as restarting river would also
kill the kanshi daemon, and subsequently reload it, reseting
any custom kanshi output layouts or options set.

With this commit kanshi only gets started if it is not already
running through river (i.e. on first boot most of the time).
2023-10-02 19:07:58 +02:00
e98d527f5d
river: Add gap toggling key bind
Use F10 to enable gaps (default) or Shift+F10 to disable gaps.
TODO Would love to make it a toggle on pressing F10 alone, but
I am not sure we can get the current gap width from the
layout in any way.
2023-10-02 19:05:58 +02:00
6bca05f212
river: Make volume and brightness keys repeatable
Will rapidly increase/decrease brightness and volume
when holding down the corresponding keys.
2023-10-02 19:01:31 +02:00
b58bd2767d
qutebrowser: Make recently downloaded executable
Moved the qutebrowser userscript to open recently downloaded files
to be accessible as a normal shell script as well
(`recently-downloaded`).

Mapped this to Super+Shift+D in riverwm to be easily able to open
the most recent downloads from anywhere.

Double the default lines shown to 20.
2023-08-08 11:38:25 +02:00
c8eb9fdb4c
sh: Fix quoting 2023-07-23 19:24:42 +02:00
a43e2cc4bd
river: Switch call to terminal to be more general
Switched the calls for the term variable mappings (opening
term, floating term, calculator, and so on) to make use of
the pretty much standard 'terminal -e' invocation to start
the terminal and execute something within it.

This newly works for wezterm since any release after
2022-12-26, which are now also on the Arch repositories
and will make the river init a tiny bit more portable
whenever wanting to switch to a different terminal.
2023-06-07 10:32:26 +02:00
46cdb519ea
flavours: Call bemenu selection from wrapper function
If we call the listing and applying function directly we either select a
random colorscheme on *no* selection or we have to make use of either
xargs GNU functionality or something like moreutils ifne to only select
color schemes on selection.

Can additionally set a random theme (if selection is 'random') or a
random light theme (if selection is 'light').
2023-03-07 12:20:41 +01:00
b800d8f1eb
desktop: Add flavours program to set colors
Switching from my custom, brittle, styling implementation `styler` to
the wonder `flavours` program which does exactly the same only with more
clarity, faster and - I would presume - more stable.
2023-03-07 11:09:47 +01:00
c13db186cc
river: Generalize dual-screen wallpaper setup
Instead of checking for the specific DP-3 and DP-5 setup that my two
screens default to, we just check that two DP- monitors are connected
and set up the wallpapers on them.
This also circumvents the issue that screens receive different numbering
when disconnected and reconnected at any point.
2023-03-03 18:29:54 +01:00
1ad0c382a9
river: Remove duplicate suspend call 2023-02-25 17:06:55 +01:00
5f4037b5ef
river: Fix idle management
Another go at improving the screen dimming and suspending setup:
Lockscreen invocation after 5 minutes, dimming at 10, sleep after 15 -
but only when not on AC.

It tries to also fix the screen being stuck off by reordering the
timeout and resume options of swayidle.
2023-02-11 17:29:52 +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
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