added more stuff
This commit is contained in:
parent
369cfc5d52
commit
6eacd76d61
13 changed files with 237 additions and 60 deletions
|
|
@ -38,6 +38,46 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
xdg.configFile."bongocat/bongocat.conf".text = ''
|
||||
# Position & Size
|
||||
cat_height=80
|
||||
cat_align=center
|
||||
cat_x_offset=-500
|
||||
cat_y_offset=-15
|
||||
|
||||
# Appearance
|
||||
enable_antialiasing=1
|
||||
overlay_height=80
|
||||
overlay_opacity=0
|
||||
overlay_position=top
|
||||
# mirror_x=0
|
||||
# mirror_y=0
|
||||
|
||||
# Input device (run bongocat-find-devices to find yours)
|
||||
keyboard_device=/dev/input/event10
|
||||
|
||||
# Multi-monitor (optional - auto-detects by default)
|
||||
# monitor=eDP-1
|
||||
|
||||
# Sleep mode (optional)
|
||||
# idle_sleep_timeout=300
|
||||
# enable_scheduled_sleep=0
|
||||
# sleep_begin=22:00
|
||||
# sleep_end=06:00
|
||||
'';
|
||||
systemd.user.services.bongocat = {
|
||||
Unit = {
|
||||
Description = "BongoCat watcher";
|
||||
After = [ "graphical-session.target" ];
|
||||
PartOf = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.wayland-bongocat}/bin/bongocat --watch-config -c %h/.config/bongocat/bongocat.conf";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
};
|
||||
|
||||
|
||||
home.username = "fw";
|
||||
home.homeDirectory = "/home/fw";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue