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, ... }:
|
{ 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
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;
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue