Migrate to home manager i3blocks module
This doesn't seem to work.
This commit is contained in:
parent
43e18c42b3
commit
203f6dbae0
|
@ -1,36 +0,0 @@
|
||||||
# i3blocks config file
|
|
||||||
#
|
|
||||||
# TODO: Use nix to reload the blocks on config change
|
|
||||||
#
|
|
||||||
# Please see man i3blocks for a complete reference!
|
|
||||||
# The man page is also hosted at http://vivien.github.io/i3blocks
|
|
||||||
#
|
|
||||||
# List of valid properties:
|
|
||||||
#
|
|
||||||
# align
|
|
||||||
# color
|
|
||||||
# command
|
|
||||||
# full_text
|
|
||||||
# instance
|
|
||||||
# interval
|
|
||||||
# label
|
|
||||||
# min_width
|
|
||||||
# name
|
|
||||||
# separator
|
|
||||||
# separator_block_width
|
|
||||||
# short_text
|
|
||||||
# signal
|
|
||||||
# urgent
|
|
||||||
|
|
||||||
# Global properties
|
|
||||||
#
|
|
||||||
# The top properties below are applied to every block, but can be overridden.
|
|
||||||
# Each block command defaults to the script name to avoid boilerplate.
|
|
||||||
markup=pango
|
|
||||||
|
|
||||||
# Date Time
|
|
||||||
[time]
|
|
||||||
command=LC_TIME=en_US.utf8 date '+📅 %a %B %Y-%m-%d %H:%M:%S'; date '+📅 %a %d. %H:%M:%S'
|
|
||||||
interval=1
|
|
||||||
|
|
||||||
# vi: ft=conf
|
|
|
@ -11,7 +11,6 @@ with pkgs; [
|
||||||
libnotify # Provide notify-send command
|
libnotify # Provide notify-send command
|
||||||
|
|
||||||
networkmanager_dmenu
|
networkmanager_dmenu
|
||||||
i3blocks
|
|
||||||
st
|
st
|
||||||
ncdu
|
ncdu
|
||||||
tree
|
tree
|
||||||
|
|
|
@ -17,6 +17,10 @@ in {
|
||||||
inherit pkgs sqlformat;
|
inherit pkgs sqlformat;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i3blocks = import ./programs/i3blocks.nix {
|
||||||
|
inherit pkgs;
|
||||||
|
};
|
||||||
|
|
||||||
git = import ./programs/git.nix {
|
git = import ./programs/git.nix {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
};
|
};
|
||||||
|
|
14
home/programs/i3blocks.nix
Normal file
14
home/programs/i3blocks.nix
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
{ pkgs }:
|
||||||
|
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
bars = {
|
||||||
|
top = {
|
||||||
|
time = {
|
||||||
|
interval = 1;
|
||||||
|
command = "LC_TIME=en_US.utf8 ${pkgs.coreutils}/bin/date '+📅 %a %B %Y-%m-%d %H:%M:%S'; date '+📅 %a %d. %H:%M:%S'";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -5,8 +5,6 @@
|
||||||
|
|
||||||
configFile = {
|
configFile = {
|
||||||
|
|
||||||
"i3blocks/config".source = ./files/i3-blocks;
|
|
||||||
|
|
||||||
"borg/exclude".source = ./files/borg-exclude;
|
"borg/exclude".source = ./files/borg-exclude;
|
||||||
"ctags/config.ctags".source = ./files/ctags;
|
"ctags/config.ctags".source = ./files/ctags;
|
||||||
"sc-im/scimrc".source = ./files/scimrc;
|
"sc-im/scimrc".source = ./files/scimrc;
|
||||||
|
|
Loading…
Reference in a new issue