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, ... }: { config, pkgs, ... }:
{ let
colors = import ./colors.nix;
in {
imports = [ imports = [
./vim ./vim
./tmux.nix ./tmux.nix
@ -7,13 +9,18 @@
(import ./termite.nix { (import ./termite.nix {
config = config; config = config;
pkgs = pkgs; pkgs = pkgs;
colors = import ./colors.nix; colors = colors;
}) })
./gpg.nix ./gpg.nix
./ssh.nix ./ssh.nix
./git.nix ./git.nix
./gtk.nix ./gtk.nix
./xdg.nix ./xdg.nix
(import ./mako.nix {
config = config;
pkgs = pkgs;
colors = colors;
})
]; ];
systemd.user.services = { 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; systemd.user.sessionVariables = userEnv;
home.packages = with pkgs; [ home.packages = with pkgs; [
libnotify
aspellDicts.en aspellDicts.en
aspellDicts.de aspellDicts.de
aspellDicts.en-science aspellDicts.en-science
aspellDicts.en-computers aspellDicts.en-computers
aspell aspell
xorg.xev xorg.xev
evince
gnumake gnumake
graphviz graphviz
xwayland xwayland

View file

@ -223,7 +223,7 @@ bar {
status_command i3blocks status_command i3blocks
mode dock mode dock
modifier $mod modifier $mod
position top position bottom
strip_workspace_numbers yes strip_workspace_numbers yes
workspace_buttons yes workspace_buttons yes
#output LVDS-1 #output LVDS-1
@ -297,6 +297,7 @@ assign [app_id="jetbrains-studio"] workspace 3
assign [app_id="org.keepassxc.KeePassXC"] workspace 10 assign [app_id="org.keepassxc.KeePassXC"] workspace 10
exec xset s off 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 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 redshift
#exec keepassxc #exec keepassxc

View file

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