patrick96
191fb2972c
actions: Integrate input_handler into module
...
Only modules can now be action handlers.
This also slightly simplifies the controller because we don't need to
keep track of input handlers, we can just use the module list.
2020-11-26 20:53:53 +01:00
patrick96
9fb75779f3
Incorporate reviews
2020-11-26 20:53:53 +01:00
patrick96
bc1b86c584
actions: Separate data from action string
...
Modules now no longer need to manually parse the action string and
extract data from it.
2020-11-26 20:53:53 +01:00
patrick96
8acedeef87
modules: Fix resolving of type of disabled modules
2020-11-26 20:53:53 +01:00
patrick96
d592eea966
refactor: Move module type string into modules
...
This allows us to identify module by their type and it is also better to
store the module type as part of the module instead of having it
hardcoded in factory.hpp
2020-11-26 20:53:53 +01:00
patrick96
4b5007294b
refactor(modules): Make all modules input handlers
...
By default they will return false for calls to `input`
2020-11-26 20:53:53 +01:00
patrick96
457e37faaf
fix: add name_raw to unsupported modules
2020-11-26 20:53:53 +01:00
NBonaparte
e16227ca43
refactor(alsa): rename and move volume -> alsa
2018-01-23 14:33:11 +01:00
NBonaparte
6e8b9dea29
fix(pulseaudio): Move pulseaudio to separate module
2018-01-20 12:37:41 -08:00
NBonaparte
4f15f42f2c
fix(build): Only use one volume backend
2018-01-20 12:37:41 -08:00
Michael Carlberg
385572ec64
feat(xrandr): Support for monitors
...
Refs #280
2017-01-13 03:52:57 +01:00
Michael Carlberg
f4e8051e9e
refactor(script): Merge back script handling
2017-01-10 05:12:53 +01:00
Michael Carlberg
788a7ca3a3
refactor(modules): Get rid of .inl files
2016-12-21 09:21:35 +01:00
Michael Carlberg
c01f111e34
refactor(modules): Move setup to constructor
2016-12-21 08:00:09 +01:00
Michael Carlberg
b417c9f812
feat(github): New module
...
Module used to query the GitHub API for information.
Currently only supports notification count.
Ref #84
2016-12-19 22:12:31 +01:00
Michael Carlberg
80a00bd596
refactor(config): Cleanup and minor tweaks
2016-12-14 11:01:44 +01:00
Michael Carlberg
f6ae5bd191
fix(build): Optional XKB
2016-11-30 14:26:11 +01:00
Michael Carlberg
ff9be848c7
refactor(clang-tidy): Apply fixes
2016-11-25 21:58:49 +01:00
Michael Carlberg
cf22468503
fix(build): Optional module fallback
...
Ref #176
2016-11-21 01:14:05 +01:00
Michael Carlberg
c6d85b2b92
refactor: Optimize build
2016-11-20 23:04:31 +01:00
Michael Carlberg
fd57ab0f3d
fix: project rename
2016-11-19 06:26:07 +01:00
Michael Carlberg
68f72d69cc
refactor: Drop tokenized labels
...
Handle placeholder tokens inside each label
instead of cloning into a new instance each time
2016-10-19 01:31:17 +02:00
Michael Carlberg
c79d8dfea4
fix: Handle unsupported modules
2016-10-11 10:05:23 +02:00