Use nixpkgs paths in i3 configuration
Fix Firefox not loading when using the keybinding.
This commit is contained in:
parent
c66861483b
commit
01d3c1b3a1
|
@ -1,4 +1,4 @@
|
||||||
{ config, inputs, self, username, ... }:
|
{ config, inputs, self, username, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
|
@ -19,7 +19,7 @@ in
|
||||||
modifier = modifier;
|
modifier = modifier;
|
||||||
|
|
||||||
keybindings = inputs.nixpkgs.lib.mkOptionDefault {
|
keybindings = inputs.nixpkgs.lib.mkOptionDefault {
|
||||||
"${modifier}+Shift+b" = "exec firefox";
|
"${modifier}+Shift+b" = "exec ${pkgs.firefox-devedition}/bin/firefox-devedition";
|
||||||
"${modifier}+Tab" = "workspace back_and_forth";
|
"${modifier}+Tab" = "workspace back_and_forth";
|
||||||
|
|
||||||
# Change focus.
|
# Change focus.
|
||||||
|
@ -59,7 +59,7 @@ in
|
||||||
bindswitch --reload --locked lid:on output $laptop disable
|
bindswitch --reload --locked lid:on output $laptop disable
|
||||||
bindswitch --reload --locked lid:off output $laptop enable
|
bindswitch --reload --locked lid:off output $laptop enable
|
||||||
|
|
||||||
exec --no-startup-id feh --randomize --bg-scale /home/${username}/Pictures/Wallpaper/*;
|
exec --no-startup-id ${pkgs.feh}/bin/feh --randomize --bg-scale /home/${username}/Pictures/Wallpaper/*;
|
||||||
|
|
||||||
default_border none
|
default_border none
|
||||||
default_floating_border none
|
default_floating_border none
|
||||||
|
|
Loading…
Reference in a new issue