Commit graph

16 commits

Author SHA1 Message Date
496522605f
X: Improve lockscreen handling
Added lockscreen trapping and media pausing for lockscreen.
When it is invoked `lockscreen`, all media will be attempted to be pause
and the system will be muted.
Then the lockscreen is engaged.
This should happen automatically when the screen shuts off or the system
suspends or hibernates and can be invoked manually, as before, with
super+x shortcut.
2021-07-28 14:41:02 +02:00
c9c0490cbf
xdg: Move xdg media directories
Moved all directories with media contents (pictures, videos, music) to a
single coherent media directory.
2021-04-18 13:04:59 +02:00
be793c90ef
i3: Add vim-like mark system
Use $mod+m to 'mark' the currently highlighted window with any single
letter. (i.e. $mod+m > k will mark the window as k)
You can then refocus the window from any position and any point by
invoking $mod+' (apostrophe), mirroring vim's standard keybinds.
2021-03-08 21:41:20 +01:00
ed2235c4ca
polybar: Rename bar and shrink in size
Slightly restyled polybar, mainly shrunk in size and re-located the
papers due information.

Renamed it from `simple-top` to just `top` since no alternative top bar
exists in this configuration.
2020-12-03 12:22:08 +01:00
51e0d82ce9
i3: Remove i3 autostart package
The application autostart takes too long and is more intrusive than
anticipated. If I want to use qutebrowser, I can just start qutebrowser
on my and don't need to wait for i3 to do it for me --- especially since
the starting procedure takes a while and the application starts on the
wrong workspace anyways when it autostarts while I change desktops.

Spotify is not installed currently and throws an error each time, so
that is also not very useful.

An option for this to make a return might be as automatically starting
systemd services, which quickly switch to the correct workspace when the
application actually starts up -- but it is probably not worth the
hassle.

Lastly, this let's me get rid of a script in the i3 configuration
directory, which did not really belong there anyways with the XDG
distinction of 'configuration' and 'data'.
2020-09-23 16:51:02 +02:00
11f1bf76c9
i3: Remove todo dropdown from autostart
Removed the autostart for the to-do dropdown from i3, since this is now
being handled by systemd as a system service with autostart and
automatic restart functionality.
2020-09-07 21:57:10 +02:00
53fc8bc134
i3: Fix program autostart script
Fixes timer calculation in autostart script.

Makes autostart script slightly more resilient, checking for timeout
time limit *or greater*.
2020-08-08 13:36:27 +02:00
1c45202f18
services: Add autostarting dropdown-terminal 2020-07-29 09:22:31 +02:00
42379b25eb
[sxhkd] Move media control mode to sxhkd from i3wm
Most modes should reside in sxhkd, to unify the 'hotkey' settings of the
configuration, and since controlling playback has little to do with the
window manager.
2020-05-26 10:33:32 +02:00
e6e384270a
[i3] Improve todo.sh dropdown
Removed extraneous vim decorations for todo list dropdown, showing only
the editable text itself.
2020-05-09 14:44:11 +02:00
a40399913b
[i3] Remove keybase autostart
Keybase should be started as a service (through systemd, or similar
service manager). Removed the i3 attempt at autostarting since it took
too long to start the bloated gui client anyways.

Instead, the autostart should happen on login, starting the keybase
service and the keybase filesystem (so that programs relying on it can
automatically sync, like gopass)
2020-05-09 14:42:18 +02:00
502d3ef821
[i3] Add border toggle, fix startup apps
Added a border toggle on mod4+b, toggles through no border (default),
plain border, border and window title. Removed individual changing the
outer gaps keybind -- gaps are changed along with resizing inner gaps,
and who really needs to seperately change only the outer ones.

Substituted exec for exec_always to not repeatedly start copies of
'dropdown' windows whenever restarting i3.

Changed a couple keybindings around that should largely not be
noticeable during normal operation, for reloading and restarting i3.
2020-03-02 19:16:25 +01:00
4e8be2abf2
[i3] Add todo and terminal dropdowns
Added quick access to todo.md file in home directory with mod4+t, and to
a dropdown terminal window with mod4+shift+return (mirroring the usual
terminal creation without shift).
2020-02-19 00:24:17 +01:00
92d5155aca
[i3] Simplify gap management, improve mode naming
i3 now uses mod4[+shift]+g to increase/decrease inner gaps and +b to do
the same for outer gaps.

The mode name for media has been put into a variable to make potential
dynamic namings possible and avoid duplication.
2020-02-19 00:24:02 +01:00
97f7fcbbd6
Move scripts into respective directories
Having a general script folder makes little sense if the scripts are
targeted to specific applications. This commit moved every script that
solely, or mainly (like ueberzug), targets a single application into
that respective stow module.
2020-02-08 20:17:44 +01:00
d34cecb27e Switch to GNU stow 2019-12-29 23:12:13 +01:00