home: use xdg.configFile where appropriate
This commit is contained in:
parent
148a9e2a8e
commit
f02590d824
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
home.file = {
|
xdg.configFile = {
|
||||||
".config/htop/htoprc".text = ''
|
"htop/htoprc".text = ''
|
||||||
color_scheme=6
|
color_scheme=6
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -215,9 +215,9 @@ in
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
home.file = {
|
xdg.configFile = {
|
||||||
# home-manager’s waybar module performs additional checks that are overly strict
|
# home-manager’s waybar module performs additional checks that are overly strict
|
||||||
".config/waybar/config".text = builtins.toJSON {
|
"waybar/config".text = builtins.toJSON {
|
||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 24;
|
height = 24;
|
||||||
|
@ -375,9 +375,11 @@ in
|
||||||
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
tooltip-format = "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
".config/waybar/style.css".source = pkgs.substituteAll ({
|
"waybar/style.css".source = pkgs.substituteAll ({
|
||||||
src = ../files/waybar/style.css;
|
src = ../files/waybar/style.css;
|
||||||
} // solarized);
|
} // solarized);
|
||||||
|
};
|
||||||
|
home.file = {
|
||||||
".zprofile".text = ''
|
".zprofile".text = ''
|
||||||
if [[ -z $WAYLAND_DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] && command -v sway >/dev/null ; then
|
if [[ -z $WAYLAND_DISPLAY ]] && [[ $(tty) = /dev/tty1 ]] && command -v sway >/dev/null ; then
|
||||||
systemctl --user start graphical-session.target
|
systemctl --user start graphical-session.target
|
||||||
|
|
Loading…
Reference in a new issue