Browse Source

Added compton systemd service

work-laptop
Micah Halter 1 month ago
parent
commit
2cb935f83f

+ 1
- 0
CHANGELOG.md View File

@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9 9
 
10 10
 ### Added
11 11
 
12
+- Created systemd service for compton
12 13
 - Added `i3blocks` configuration
13 14
 - Added synctex support to neovim and zathura
14 15
 - Added Markdown bibliography completion to `neovim`

+ 10
- 0
compton/.config/systemd/user/compton.service View File

@@ -0,0 +1,10 @@
1
+[Unit]
2
+Description=compton
3
+
4
+[Service]
5
+Type=simple
6
+Environment=DISPLAY=:0
7
+ExecStart=compton
8
+
9
+[Install]
10
+WantedBy=default.target

+ 5
- 2
i3/.config/i3/config View File

@@ -131,7 +131,7 @@ for_window [title="video1 - mpv"] border none
131 131
 ########################
132 132
 
133 133
 # start compositor
134
-exec --no-startup-id compton
134
+exec_always --no-startup-id systemctl --user restart compton
135 135
 
136 136
 # set up caps lock - press = escape, hold = ctrl
137 137
 exec_always --no-startup-id remaps
@@ -139,6 +139,9 @@ exec_always --no-startup-id remaps
139 139
 # disable trackpad
140 140
 exec --no-startup-id xinput set-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 0
141 141
 
142
+# start unclutter
143
+exec --no-startup-id systemctl --user start unclutter
144
+
142 145
 # set wallpaper and colors
143 146
 exec_always --no-startup-id setbackground
144 147
 exec_always --no-startup-id $HOME/.config/wpg/wp_init.sh
@@ -504,4 +507,4 @@ bindsym XF86MonBrightnessDown           exec --no-startup-id light -U 10
504 507
 
505 508
 bindsym XF86ScreenSaver                 exec --no-startup-id lock
506 509
 
507
-bindsym XF86Launch1
510
+#bindsym XF86Launch1

+ 0
- 1
unclutter/.config/systemd/user/default.target.wants/unclutter.service View File

@@ -1 +0,0 @@
1
-/home/micah/.config/systemd/user/unclutter.service

+ 1
- 1
unclutter/.config/systemd/user/unclutter.service View File

@@ -1,5 +1,5 @@
1 1
 [Unit]
2
-Description=unclutterj
2
+Description=unclutter
3 3
 
4 4
 [Service]
5 5
 Type=simple

Loading…
Cancel
Save