Compare commits

..

2 commits

Author SHA1 Message Date
Antoine Martin ee887ef04a home: i3: adapt to new font module
See nix-community/home-manager#9ffb206
2021-05-04 16:00:44 +02:00
Antoine Martin 2da1d17dd5 flake.lock: Update
Flake input changes:

* Updated 'emacs-overlay': 'github:nix-community/emacs-overlay/ed6650c5db42b331283341c85710f99a701fd03f' -> 'github:nix-community/emacs-overlay/b717ab8d43ecabd27aa884c278a4edd1caa642db'
* Updated 'home-manager': 'github:nix-community/home-manager/2d421b30ad6efc96b7deb653ea8fcc4d570a75f5' -> 'github:nix-community/home-manager/9ffb206050bab47122eac18ea7cb289849f8d128'
* Updated 'nixpkgs-unstable': 'github:NixOS/nixpkgs/8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17' -> 'github:NixOS/nixpkgs/7cb76200088f45cd24a9aa67fd2f9657943d78a4'
2021-05-04 15:34:18 +02:00
2 changed files with 17 additions and 13 deletions

View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"emacs-overlay": { "emacs-overlay": {
"locked": { "locked": {
"lastModified": 1619636538, "lastModified": 1620124711,
"narHash": "sha256-fQXnzTb2rDr5zbfEppXEXI+FMHLPRI12EMf9Dof3R+k=", "narHash": "sha256-6tsbwx6zynxSbwzfCrezGVpBum9UT+nlUV/XIc/uMms=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "ed6650c5db42b331283341c85710f99a701fd03f", "rev": "b717ab8d43ecabd27aa884c278a4edd1caa642db",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -23,11 +23,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1619639991, "lastModified": 1620100475,
"narHash": "sha256-cUw7Il18FC50kr7yrru0JEXpRqJTYT7zHOK701vBJmI=", "narHash": "sha256-JmH3f6KaIJ3y5FaJdHm4agyzfn+LMnV5RhtNrYa4jGY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2d421b30ad6efc96b7deb653ea8fcc4d570a75f5", "rev": "9ffb206050bab47122eac18ea7cb289849f8d128",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -55,11 +55,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1619464443, "lastModified": 1620074890,
"narHash": "sha256-R7WAb8EnkIJxxaF6GTHUPytjonhB4Zm0iatyWoW169A=", "narHash": "sha256-4Z8Zwpg0gPvqKbSsck1g9ql4E5NClGZdjyxbYoaXA4s=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17", "rev": "7cb76200088f45cd24a9aa67fd2f9657943d78a4",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -41,7 +41,10 @@ in
{ {
statusCommand = "i3status-rs ${barConfigPath}"; statusCommand = "i3status-rs ${barConfigPath}";
position = "top"; position = "top";
fonts = [ "DejaVuSansMono" "FontAwesome5Free 9" ]; fonts = {
names = [ "DejaVuSansMono" "FontAwesome5Free" ];
size = 9.0;
};
colors = i3Theme.bar; colors = i3Theme.bar;
@ -69,9 +72,10 @@ in
workspaceAutoBackAndForth = true; workspaceAutoBackAndForth = true;
fonts = [ fonts = {
"DejaVu Sans Mono 8" names = [ "DejaVu Sans Mono" ];
]; size = 8.0;
};
keybindings = lib.mkOptionDefault { keybindings = lib.mkOptionDefault {
"${modifier}+Shift+e" = ''mode "${logoutMode}"''; "${modifier}+Shift+e" = ''mode "${logoutMode}"'';