about summary refs log tree commit diff
path: root/modules/i3
Commit message (Collapse)AuthorAgeFilesLines
* Integrate console lock screen into i3.aszlig2014-11-052-0/+9
| | | | | | | Now it's enough to just press super + shift + escape in order to trigger the socket and thus the lock screen. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Fix evaluation of workspaces submodule.aszlig2014-09-101-1/+1
| | | | | | | Didn't look into it in detail, but the submodule type no longer seems to accept module paths directly. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Really reverse the output of the bars.aszlig2014-08-051-4/+5
| | | | | | | | If using config.vuizvui.i3.reverseHeads we so far only reversed the position in the config file, but actually forgot about reversing the real outputs. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Apply reverseHeads option to bar config.aszlig2014-08-041-8/+10
| | | | Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Check whether configuration file is valid.aszlig2014-08-021-0/+4
| | | | | | | | | | | Finally, after going through quite some journey, we can now check the config file without needing an X connection. The journey took a bit longer, because I was stubborn enough to get the test suite running on Nix (because I wanted to have an upstream test case for this). All that to create a small patch which just checks that damn config file and emits an exit code that actually reflects the output :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Stringify bar config for inner heads.aszlig2014-08-011-1/+1
| | | | | | Fixes evaluation for mmrnmhrm and dnyarri. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Fix generating config for a single head.aszlig2014-08-011-2/+3
| | | | | | | If there is only one head, we don't need any "workspace" command in the i3 configuration file, so let's omit it entirely. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Use Nix expressions to generate status bars.aszlig2014-08-012-47/+33
| | | | | | | | We might break the dnyarri/mmrnmhrm setup here, but it is mainly for getting rid of the hack to match networking.hostName for a particular node in order to swap heads. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3/conky: Add a new "single" layout.aszlig2014-08-011-0/+13
| | | | | | | This is for machines that don't have multiple heads attached, such as arilou or kzerza. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3/conky: Don't even try to use X for output.aszlig2014-08-011-0/+1
| | | | | | I've already disabled most output types, but just to be sure. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* common: Include modules using module-list.aszlig2014-08-011-1/+3
| | | | | | | This also means that we now have to explicitly enable a certain feature, such as vuizvui.i3 (which is the only module right now). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Change namespaces into new project name "vuizvui".aszlig2014-07-291-4/+4
| | | | | | | | | | | | | | | | | | I found "nixconf" a little big too generic and thus not unlikely enough to someday collide with something in <nixpkgs>. That's why I chose the name "vuizvui" as a Bavarion word (actually _two_ words: "vui zvui") for "far too much", in terms of the opposite of "nix" - which means "nothing". A possible downside for choosing this name is that it might be jawbreaker to some English native speakers out there, but I don't really care if the pronunciation is correct nor do I expect to get a lot of public attention on this repository. And yes, for English native speakers, a pronunciation like "fui-tsui" is probably okay as well :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Allow to work only with a single head.aszlig2014-07-251-4/+7
| | | | | | | | This is very ugly and just to be taken as a workaround because the i3 status line will be completely messed up. The main reason for doing this is that the config will evaluate with a single head. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Reverse head assignment for dnyarri.aszlig2014-07-161-1/+12
| | | | | | | | This is because of a limitation of Synergy not being able to cope with multihead assignments. At least not at the time I have implemented it at first, so might be worth to check if it has improved in the meantime. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Make workspace 10 reachable by the 0 key.aszlig2014-07-161-1/+1
| | | | | | There is no "10" key on most keyboards. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Add NixOS options to configure workspaces.aszlig2014-07-143-58/+160
| | | | | | | | | | | This allows for a more dynamic workspace assignments, especially when varying between the number of heads. We now not only can use the NixOS module system to set workspaces but also assign applications to them. And the default workspace layout is to evenly spread out the heads among the available heads. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Move Chromium to workspace 6 on dnyarri.aszlig2014-07-141-2/+2
| | | | | | | This is because I've swapped screens and that wsConfig isn't nice, so we need to refactor it very soon. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3/conky: Auto-detect primary ethernet interface.aszlig2014-07-141-3/+9
| | | | | | | This is done by determining the route to Google's DNS server (8.8.8.8) and if it's not found, we're going to wait until it becomes available. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3/conky: Autodetect CPU load and temperature.aszlig2014-05-021-24/+27
| | | | | | | | Device ordering is something that can vastly differ from system to system, so we're detecting the available CPUs on conky startup and pass the corresponding hwmon/cpu expressions to -t. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* i3: Factor out conky configuration for i3bar.aszlig2014-05-023-21/+97
| | | | | | | | Now we're generating full conky config files and we now have a new conky.nix, which generates shell scripts for the left and right screens, that run conky with the right configuration files. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Move i3 configuration into its own module.aszlig2014-05-022-0/+245
We want to keep common.nix nice and clean and in the long term the whole config should be more modular. Signed-off-by: aszlig <aszlig@redmoonstudios.org>