Logid startup
This commit is contained in:
parent
997f65a72f
commit
d2431d2679
7
configs/autostart/logid.desktop
Normal file
7
configs/autostart/logid.desktop
Normal file
@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name = Logid
|
||||
GenericName = Logid
|
||||
Comment = Logitech Mouse Driver
|
||||
Exec = logid -v -c $HOME/.config/logid/logid.cfg
|
||||
Type = Application
|
||||
X-GNOME-Autostart-enabled = true
|
4
configs/scripts/run-logid
Normal file
4
configs/scripts/run-logid
Normal file
@ -0,0 +1,4 @@
|
||||
#! /bin/bash
|
||||
set -ex
|
||||
|
||||
logid -v -c ~/.config/logid/logid.cfg
|
20
configs/systemd/user/logid.service
Normal file
20
configs/systemd/user/logid.service
Normal file
@ -0,0 +1,20 @@
|
||||
# NOTE: In order to use this service, the following needs to be placed in
|
||||
# /etc/udev/rules.d/90-hidraw-permissions.rules
|
||||
#
|
||||
# KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="plugdev"
|
||||
#
|
||||
# This can then be put into effect with:
|
||||
# sudo udevadm control --reload-rules && sudo udevadm trigger
|
||||
|
||||
[Unit]
|
||||
Description = Logitech mouse driver
|
||||
|
||||
[Service]
|
||||
Type = simple
|
||||
User = ewpratten
|
||||
#Group = plugdev
|
||||
ExecStart = logid -v -c /home/ewpratten/.config/logid/logid.cfg
|
||||
Restart = always
|
||||
|
||||
[Install]
|
||||
WantedBy = multi-user.target
|
@ -16,6 +16,7 @@
|
||||
- ~/.config/nvim
|
||||
- ~/.config/termux
|
||||
- ~/.config/logid
|
||||
- ~/.config/systemd/user
|
||||
- ~/.cargo
|
||||
# Program plugins
|
||||
- ~/.local/share/nautilus/scripts/
|
||||
@ -48,6 +49,16 @@
|
||||
~/.local/share/nautilus/scripts/Copy to web:
|
||||
path: configs/nautilus/scripts/Copy to web
|
||||
mode: 755
|
||||
~/bin/run-logid:
|
||||
path: configs/scripts/run-logid
|
||||
mode: 755
|
||||
|
||||
# Systemd Services
|
||||
# ~/.config/systemd/user/logid.service: configs/systemd/user/logid.service
|
||||
|
||||
# XDG Autostart
|
||||
~/.config/autostart/gnome-keyring-ssh.desktop: configs/autostart/gnome-keyring-ssh.desktop
|
||||
~/.config/autostart/logid.desktop: configs/autostart/logid.desktop
|
||||
|
||||
# Others
|
||||
~/.config/tabset: configs/tabset
|
||||
@ -56,7 +67,6 @@
|
||||
~/.cargo/config.toml: configs/cargo/config.toml
|
||||
~/.config/termux/termux.properties: configs/termux/termux.properties
|
||||
~/.config/user-tmpfiles.d/discord-rpc.conf: configs/user-tmpfiles.d/discord-rpc.conf
|
||||
~/.config/autostart/gnome-keyring-ssh.desktop: configs/autostart/gnome-keyring-ssh.desktop
|
||||
~/.config/logid/logid.cfg: configs/logid/logid.cfg
|
||||
|
||||
- shell:
|
||||
|
Loading…
x
Reference in New Issue
Block a user