moved everything to user service, animated wallpaper
This commit is contained in:
parent
b327fc0b25
commit
d73e0ab781
|
@ -136,7 +136,7 @@ blur-background-exclude = [
|
||||||
opacity-rule = [
|
opacity-rule = [
|
||||||
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
"0:_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'",
|
||||||
|
|
||||||
"90:class_g = 'UXTerm' && _NET_WM_STATE@:32a != '_NET_WM_STATE_HIDDEN' && _NET_WM_STATE@:32a != '_NET_WM_STATE_FULLSCREEN'"
|
"85:class_g = 'UXTerm' && _NET_WM_STATE@:32a != '_NET_WM_STATE_HIDDEN' && _NET_WM_STATE@:32a != '_NET_WM_STATE_FULLSCREEN'"
|
||||||
]
|
]
|
||||||
|
|
||||||
#################################
|
#################################
|
|
@ -226,7 +226,9 @@ mode "resize" {
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
|
||||||
exec --no-startup-id compton --config ~/.config/compton/compton.conf
|
# reach systemd target
|
||||||
exec --no-startup-id polybar top
|
exec --no-startup-id systemctl --user import-environment
|
||||||
|
exec --no-startup-id systemctl --user start user-graphical-login.target
|
||||||
|
|
||||||
exec --no-startup-id /bin/bash ~/.config/i3/startup.bash
|
exec --no-startup-id /bin/bash ~/.config/i3/startup.bash
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
profile=opengl-hq
|
profile=opengl-hq
|
||||||
|
video-sync=display-resample
|
||||||
display-fps=60
|
display-fps=60
|
||||||
|
|
||||||
scale=ewa_lanczossharp
|
scale=ewa_lanczossharp
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=A compositor for X11
|
||||||
|
Requires=user-graphical-login.target
|
||||||
|
After=user-graphical-login.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/compton
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=user-graphical-login.target
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=IVSHMEM server for looking-glass
|
||||||
|
After=user-graphical-login.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/ivshmem-server -F -p /tmp/ivshmem.pid -S /tmp/ivshmem_socket -l 16M -n 8
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=user-graphical-login.target
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=A fast and easy-to-use tool status bar
|
||||||
|
Requires=user-graphical-login.target
|
||||||
|
After=user-graphical-login.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/polybar top
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=user-graphical-login.target
|
|
@ -0,0 +1,12 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Redshift display colour temperature adjustment
|
||||||
|
Documentation=http://jonls.dk/redshift/
|
||||||
|
Requires=user-graphical-login.target
|
||||||
|
After=user-graphical-login.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/redshift
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=user-graphical-login.target
|
|
@ -0,0 +1,4 @@
|
||||||
|
[Unit]
|
||||||
|
Description=User Graphical Login
|
||||||
|
Requires=default.target
|
||||||
|
After=default.target
|
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Animated wallpaper
|
||||||
|
Requires=user-graphical-login.target
|
||||||
|
After=user-graphical-login.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/bin/bash -c '"$HOME/.local/bin/wallpaper"'
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=user-graphical-login.target
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
exec xwinwrap -ov -fs -- mpv --no-osc --wid WID $@
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
if ! acpi --ac-adapter | grep -q 'off-line'; then
|
||||||
|
exec $HOME/.local/bin/mpv-bg --really-quiet --no-config --loop --panscan=1.0 --video-pan-y=-0.1 --scale=oversample "$HOME/Pictures/wallpaper.gif"
|
||||||
|
fi
|
|
@ -1,3 +1,2 @@
|
||||||
[ -f ~/.xprofile ] && source ~/.xprofile
|
[ -f ~/.xprofile ] && source ~/.xprofile
|
||||||
exec i3
|
exec i3
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue