add tts and stuff
This commit is contained in:
parent
0e6bc2de14
commit
689a95d690
5 changed files with 49 additions and 18 deletions
nixos/components/gui/home-manager
|
@ -159,23 +159,19 @@ with lib;
|
|||
'';
|
||||
|
||||
# todo : still needed?
|
||||
home.file.".xprofile".text = ''
|
||||
# to allow sudo commands to access X
|
||||
# todo : only allow the browsers and rambox access
|
||||
${pkgs.xorg.xhost}/bin/xhost +
|
||||
|
||||
# no shitty pcspkr crap
|
||||
${pkgs.xorg.xset}/bin/xset -b
|
||||
|
||||
# no sleeping monitor
|
||||
${pkgs.xorg.xset}/bin/xset -dpms
|
||||
${pkgs.xorg.xset}/bin/xset s off
|
||||
|
||||
${pkgs.flameshot}/bin/flameshot &
|
||||
|
||||
# cleanup xmonad
|
||||
rm -f ~/.xmonad/xmonad.state
|
||||
'';
|
||||
# home.file.".xprofile".text = ''
|
||||
# # to allow sudo commands to access X
|
||||
# # todo : only allow the browsers and rambox access
|
||||
# ${pkgs.xorg.xhost}/bin/xhost +
|
||||
# # no shitty pcspkr crap
|
||||
# ${pkgs.xorg.xset}/bin/xset -b
|
||||
# # no sleeping monitor
|
||||
# ${pkgs.xorg.xset}/bin/xset -dpms
|
||||
# ${pkgs.xorg.xset}/bin/xset s off
|
||||
# ${pkgs.flameshot}/bin/flameshot &
|
||||
# # cleanup xmonad
|
||||
# rm -f ~/.xmonad/xmonad.state
|
||||
# '';
|
||||
|
||||
xdg.configFile."khal/config".text = ''
|
||||
[calendars]
|
||||
|
|
|
@ -127,6 +127,9 @@ in
|
|||
config = {
|
||||
modifier = "Mod4";
|
||||
terminal = "alacritty";
|
||||
focus = {
|
||||
followMouse = true;
|
||||
};
|
||||
startup =
|
||||
let
|
||||
height = config.configuration.desktop.height;
|
||||
|
@ -190,6 +193,7 @@ in
|
|||
};
|
||||
};
|
||||
}];
|
||||
|
||||
colors = with colorTheme; {
|
||||
background = background;
|
||||
focused = {
|
||||
|
@ -221,6 +225,7 @@ in
|
|||
text = foreground;
|
||||
};
|
||||
};
|
||||
|
||||
keybindings = {
|
||||
"Print" = "exec ${pkgs.flameshot}/bin/flameshot gui -c -p /share/";
|
||||
"${cfg.config.modifier}+Return" = "exec ${cfg.config.terminal}";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue