sync ;-)
This commit is contained in:
parent
e2359005d5
commit
b7b348c163
5 changed files with 39 additions and 4 deletions
11
common.nix
11
common.nix
|
@ -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
24
mako.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, lib, ...}:
|
||||
{ config, pkgs, lib, colors, ...}:
|
||||
let
|
||||
unstable = import <nixpkgs-unstable> {};
|
||||
in {
|
||||
|
@ -31,3 +31,4 @@ in {
|
|||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue