Added scripts to collect/deploy configs. Updated i3 and nixos configs.
This commit is contained in:
8
systemd/monitor-switch/monitor-hotplug.service
Normal file
8
systemd/monitor-switch/monitor-hotplug.service
Normal file
@@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=Update Monitor outputs
|
||||
|
||||
[Service]
|
||||
Environment=DISPLAY=:0
|
||||
Environment=XAUTHORITY=/home/nnm/.Xauthority
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash -c "/usr/bin/scala -nc -save /usr/local/src/update-output.scala && setxkbmap -option grp:switch,grp:caps_toggle,grp_led:scroll us,ru"
|
||||
Reference in New Issue
Block a user