This commit is contained in:
Tim Schubert 2020-05-14 10:52:41 +02:00
parent e2359005d5
commit b7b348c163
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
5 changed files with 39 additions and 4 deletions

View file

@ -1,5 +1,7 @@
{ config, pkgs, ... }:
{
let
colors = import ./colors.nix;
in {
imports = [
./vim
./tmux.nix
@ -7,13 +9,18 @@
(import ./termite.nix {
config = config;
pkgs = pkgs;
colors = import ./colors.nix;
colors = colors;
})
./gpg.nix
./ssh.nix
./git.nix
./gtk.nix
./xdg.nix
(import ./mako.nix {
config = config;
pkgs = pkgs;
colors = colors;
})
];
systemd.user.services = {

24
mako.nix Normal file
View file

@ -0,0 +1,24 @@
{ config, pkgs, colors, ...}:
{
programs.mako = {
enable = true;
anchor = "bottom-right";
backgroundColor = colors.color8;
borderColor = colors.color0;
defaultTimeout = -1;
font = "Source Code Pro 8";
format = ''<b>%a</b> %s\n%b'';
height = 100;
#groupBy = "app-name";
icons = false;
ignoreTimeout = false;
layer = "overlay";
margin = "0,0,0";
maxVisible = 200;
padding = "0";
progressColor = colors.color4;
sort = "+time";
textColor = colors.foreground;
width = 400;
};
}

View file

@ -26,12 +26,14 @@ in
systemd.user.sessionVariables = userEnv;
home.packages = with pkgs; [
libnotify
aspellDicts.en
aspellDicts.de
aspellDicts.en-science
aspellDicts.en-computers
aspell
xorg.xev
evince
gnumake
graphviz
xwayland

View file

@ -223,7 +223,7 @@ bar {
status_command i3blocks
mode dock
modifier $mod
position top
position bottom
strip_workspace_numbers yes
workspace_buttons yes
#output LVDS-1
@ -297,6 +297,7 @@ assign [app_id="jetbrains-studio"] workspace 3
assign [app_id="org.keepassxc.KeePassXC"] workspace 10
exec xset s off
exec mako
#exec swayidle -w timeout 300 '$HOME/bin/lock-session' timeout 240 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' before-sleep '$HOME/bin/lock-session' lock '$HOME/bin/lock-session'
#exec redshift
#exec keepassxc

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ...}:
{ config, pkgs, lib, colors, ...}:
let
unstable = import <nixpkgs-unstable> {};
in {
@ -31,3 +31,4 @@ in {
'';
};
}