From 0e67aadb031f8b16e50e97b60fef56060185e789 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 10 Oct 2014 17:09:23 -0400 Subject: Update emacs config --- .config/systemd/user/default.target.wants/emacs-daemon.service | 1 + 1 file changed, 1 insertion(+) (limited to '.config/systemd') diff --git a/.config/systemd/user/default.target.wants/emacs-daemon.service b/.config/systemd/user/default.target.wants/emacs-daemon.service index ef8f65f..279d83a 100644 --- a/.config/systemd/user/default.target.wants/emacs-daemon.service +++ b/.config/systemd/user/default.target.wants/emacs-daemon.service @@ -4,6 +4,7 @@ Description=Emacs deamon [Service] Type=forking ExecStart=/bin/bash -l -c 'emacs --daemon' +ExecStop=/bin/bash -l -c 'emacsclient -e "(kill-emacs)"' [Install] WantedBy=default.target -- cgit v1.2.3-54-g00ecf From c17c631a9f835eca8dd09a5aaf6039a3cfd9354b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 10 Oct 2014 17:14:36 -0400 Subject: systemd --- .config/systemd/user/default.target.wants/batterymon.service | 9 --------- .../systemd/user/default.target.wants/maildirproc@att.service | 1 + .../user/default.target.wants/maildirproc@purdue.service | 1 + .config/systemd/user/default.target.wants/vncserver@1.service | 1 + .config/systemd/user/maildirproc@.service | 10 ++++++++++ .config/systemd/user/vncserver@.service | 11 +++++++++++ 6 files changed, 24 insertions(+), 9 deletions(-) delete mode 100644 .config/systemd/user/default.target.wants/batterymon.service create mode 120000 .config/systemd/user/default.target.wants/maildirproc@att.service create mode 120000 .config/systemd/user/default.target.wants/maildirproc@purdue.service create mode 120000 .config/systemd/user/default.target.wants/vncserver@1.service create mode 100644 .config/systemd/user/maildirproc@.service create mode 100644 .config/systemd/user/vncserver@.service (limited to '.config/systemd') diff --git a/.config/systemd/user/default.target.wants/batterymon.service b/.config/systemd/user/default.target.wants/batterymon.service deleted file mode 100644 index c8abc0d..0000000 --- a/.config/systemd/user/default.target.wants/batterymon.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Battery monitor - -[Service] -Type=simple -ExecStart=/usr/bin/batterymon 20 "amixer sset Master unmute 100%; espeak 'PLUG ME IN'; sleep 7;" - -[Install] -WantedBy=default.target diff --git a/.config/systemd/user/default.target.wants/maildirproc@att.service b/.config/systemd/user/default.target.wants/maildirproc@att.service new file mode 120000 index 0000000..1079515 --- /dev/null +++ b/.config/systemd/user/default.target.wants/maildirproc@att.service @@ -0,0 +1 @@ +/home/luke/.config/systemd/user/maildirproc@.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/maildirproc@purdue.service b/.config/systemd/user/default.target.wants/maildirproc@purdue.service new file mode 120000 index 0000000..1079515 --- /dev/null +++ b/.config/systemd/user/default.target.wants/maildirproc@purdue.service @@ -0,0 +1 @@ +/home/luke/.config/systemd/user/maildirproc@.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/vncserver@1.service b/.config/systemd/user/default.target.wants/vncserver@1.service new file mode 120000 index 0000000..2dcf488 --- /dev/null +++ b/.config/systemd/user/default.target.wants/vncserver@1.service @@ -0,0 +1 @@ +/home/luke/.config/systemd/user/vncserver@.service \ No newline at end of file diff --git a/.config/systemd/user/maildirproc@.service b/.config/systemd/user/maildirproc@.service new file mode 100644 index 0000000..bdca746 --- /dev/null +++ b/.config/systemd/user/maildirproc@.service @@ -0,0 +1,10 @@ +[Unit] +Description=maildirproc mail filter + +[Service] +Type=simple +ExecStart=/usr/bin/maildirproc -r ${HOME}/.config/maildirproc/%I.rc +Restart=on-failure + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/vncserver@.service b/.config/systemd/user/vncserver@.service new file mode 100644 index 0000000..fa616d6 --- /dev/null +++ b/.config/systemd/user/vncserver@.service @@ -0,0 +1,11 @@ +[Unit] +Description=VNC desktop + +[Service] +Type=simple +ExecStart=/bin/bash -l -c 'vncserver -fg :%I' +Restart=always +ExecStopPost=/bin/rm /tmp/.X%I-lock /tmp/.X11-unix/X%I + +[Install] +WantedBy=default.target -- cgit v1.2.3-54-g00ecf From 3fed229c02272767ad4b925afcbf73f43be0afbe Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 1 Jan 2015 16:41:20 -0500 Subject: gpg-agent does not need to be run explictly anymore --- .config/systemd/user/default.target.wants/gpg-agent.service | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 .config/systemd/user/default.target.wants/gpg-agent.service (limited to '.config/systemd') diff --git a/.config/systemd/user/default.target.wants/gpg-agent.service b/.config/systemd/user/default.target.wants/gpg-agent.service deleted file mode 100644 index 93c12b0..0000000 --- a/.config/systemd/user/default.target.wants/gpg-agent.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description="GnuPG agent daemon" - -[Service] -Type=forking -ExecStart=/usr/bin/gpg-agent --daemon --write-env-file ${XDG_RUNTIME_DIR}/gpg - -[Install] -WantedBy=default.target -- cgit v1.2.3-54-g00ecf From 6a5bd645c59b44ae87d09cf350b38e04fbf99d81 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 1 Jan 2015 16:41:56 -0500 Subject: add changes in .conf/systemd --- .../systemd/user/default.target.wants/emacs-daemon.service | 11 +---------- .config/systemd/user/emacs-daemon.service | 10 ++++++++++ .config/systemd/user/x0vncserver@.service | 10 ++++++++++ 3 files changed, 21 insertions(+), 10 deletions(-) mode change 100644 => 120000 .config/systemd/user/default.target.wants/emacs-daemon.service create mode 100644 .config/systemd/user/emacs-daemon.service create mode 100644 .config/systemd/user/x0vncserver@.service (limited to '.config/systemd') diff --git a/.config/systemd/user/default.target.wants/emacs-daemon.service b/.config/systemd/user/default.target.wants/emacs-daemon.service deleted file mode 100644 index 279d83a..0000000 --- a/.config/systemd/user/default.target.wants/emacs-daemon.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Emacs deamon - -[Service] -Type=forking -ExecStart=/bin/bash -l -c 'emacs --daemon' -ExecStop=/bin/bash -l -c 'emacsclient -e "(kill-emacs)"' - -[Install] -WantedBy=default.target diff --git a/.config/systemd/user/default.target.wants/emacs-daemon.service b/.config/systemd/user/default.target.wants/emacs-daemon.service new file mode 120000 index 0000000..5a3b3f7 --- /dev/null +++ b/.config/systemd/user/default.target.wants/emacs-daemon.service @@ -0,0 +1 @@ +/home/luke/.config/systemd/user/emacs-daemon.service \ No newline at end of file diff --git a/.config/systemd/user/emacs-daemon.service b/.config/systemd/user/emacs-daemon.service new file mode 100644 index 0000000..279d83a --- /dev/null +++ b/.config/systemd/user/emacs-daemon.service @@ -0,0 +1,10 @@ +[Unit] +Description=Emacs deamon + +[Service] +Type=forking +ExecStart=/bin/bash -l -c 'emacs --daemon' +ExecStop=/bin/bash -l -c 'emacsclient -e "(kill-emacs)"' + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/x0vncserver@.service b/.config/systemd/user/x0vncserver@.service new file mode 100644 index 0000000..99e897c --- /dev/null +++ b/.config/systemd/user/x0vncserver@.service @@ -0,0 +1,10 @@ +[Unit] +Description=VNC server for X displays + +[Service] +Type=simple +ExecStart=/bin/bash -l -c 'x0vncserver display=:%I PasswordFile="${HOME}/.vnc/passwd"' +Restart=always + +[Install] +WantedBy=default.target -- cgit v1.2.3-54-g00ecf From 952768c46ae11e0bb1cb01f527153f6cd2d9ba62 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 6 Jan 2015 13:22:47 -0500 Subject: clean up systemd configuration --- .../systemd/user/default.target.wants/emacs-daemon.service | 11 +---------- .config/systemd/user/default.target.wants/gpg-agent.service | 10 +--------- .../systemd/user/default.target.wants/maildirproc@att.service | 1 - .../user/default.target.wants/maildirproc@purdue.service | 1 - .config/systemd/user/default.target.wants/vncserver@1.service | 1 - .config/systemd/user/emacs-daemon.service | 10 ++++++++++ .config/systemd/user/gpg-agent.service | 9 +++++++++ .config/systemd/user/redshift@.service | 11 +++++++++++ .config/systemd/user/vncserver@.service | 2 +- 9 files changed, 33 insertions(+), 23 deletions(-) mode change 100644 => 120000 .config/systemd/user/default.target.wants/emacs-daemon.service mode change 100644 => 120000 .config/systemd/user/default.target.wants/gpg-agent.service delete mode 120000 .config/systemd/user/default.target.wants/maildirproc@att.service delete mode 120000 .config/systemd/user/default.target.wants/maildirproc@purdue.service delete mode 120000 .config/systemd/user/default.target.wants/vncserver@1.service create mode 100644 .config/systemd/user/emacs-daemon.service create mode 100644 .config/systemd/user/gpg-agent.service create mode 100644 .config/systemd/user/redshift@.service (limited to '.config/systemd') diff --git a/.config/systemd/user/default.target.wants/emacs-daemon.service b/.config/systemd/user/default.target.wants/emacs-daemon.service deleted file mode 100644 index 279d83a..0000000 --- a/.config/systemd/user/default.target.wants/emacs-daemon.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Emacs deamon - -[Service] -Type=forking -ExecStart=/bin/bash -l -c 'emacs --daemon' -ExecStop=/bin/bash -l -c 'emacsclient -e "(kill-emacs)"' - -[Install] -WantedBy=default.target diff --git a/.config/systemd/user/default.target.wants/emacs-daemon.service b/.config/systemd/user/default.target.wants/emacs-daemon.service new file mode 120000 index 0000000..106cf42 --- /dev/null +++ b/.config/systemd/user/default.target.wants/emacs-daemon.service @@ -0,0 +1 @@ +/home/lukeshu-parabola/.config/systemd/user/emacs-daemon.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/gpg-agent.service b/.config/systemd/user/default.target.wants/gpg-agent.service deleted file mode 100644 index 93c12b0..0000000 --- a/.config/systemd/user/default.target.wants/gpg-agent.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description="GnuPG agent daemon" - -[Service] -Type=forking -ExecStart=/usr/bin/gpg-agent --daemon --write-env-file ${XDG_RUNTIME_DIR}/gpg - -[Install] -WantedBy=default.target diff --git a/.config/systemd/user/default.target.wants/gpg-agent.service b/.config/systemd/user/default.target.wants/gpg-agent.service new file mode 120000 index 0000000..5727454 --- /dev/null +++ b/.config/systemd/user/default.target.wants/gpg-agent.service @@ -0,0 +1 @@ +/home/lukeshu-parabola/.config/systemd/user/gpg-agent.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/maildirproc@att.service b/.config/systemd/user/default.target.wants/maildirproc@att.service deleted file mode 120000 index 1079515..0000000 --- a/.config/systemd/user/default.target.wants/maildirproc@att.service +++ /dev/null @@ -1 +0,0 @@ -/home/luke/.config/systemd/user/maildirproc@.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/maildirproc@purdue.service b/.config/systemd/user/default.target.wants/maildirproc@purdue.service deleted file mode 120000 index 1079515..0000000 --- a/.config/systemd/user/default.target.wants/maildirproc@purdue.service +++ /dev/null @@ -1 +0,0 @@ -/home/luke/.config/systemd/user/maildirproc@.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/vncserver@1.service b/.config/systemd/user/default.target.wants/vncserver@1.service deleted file mode 120000 index 2dcf488..0000000 --- a/.config/systemd/user/default.target.wants/vncserver@1.service +++ /dev/null @@ -1 +0,0 @@ -/home/luke/.config/systemd/user/vncserver@.service \ No newline at end of file diff --git a/.config/systemd/user/emacs-daemon.service b/.config/systemd/user/emacs-daemon.service new file mode 100644 index 0000000..279d83a --- /dev/null +++ b/.config/systemd/user/emacs-daemon.service @@ -0,0 +1,10 @@ +[Unit] +Description=Emacs deamon + +[Service] +Type=forking +ExecStart=/bin/bash -l -c 'emacs --daemon' +ExecStop=/bin/bash -l -c 'emacsclient -e "(kill-emacs)"' + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/gpg-agent.service b/.config/systemd/user/gpg-agent.service new file mode 100644 index 0000000..93c12b0 --- /dev/null +++ b/.config/systemd/user/gpg-agent.service @@ -0,0 +1,9 @@ +[Unit] +Description="GnuPG agent daemon" + +[Service] +Type=forking +ExecStart=/usr/bin/gpg-agent --daemon --write-env-file ${XDG_RUNTIME_DIR}/gpg + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/redshift@.service b/.config/systemd/user/redshift@.service new file mode 100644 index 0000000..41a0b7a --- /dev/null +++ b/.config/systemd/user/redshift@.service @@ -0,0 +1,11 @@ +[Unit] +Description=Redshift display colour temperature adjustment +Documentation=http://jonls.dk/redshift/ + +[Service] +Environment=DISPLAY=%I +ExecStart=/usr/bin/redshift +Restart=always + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/vncserver@.service b/.config/systemd/user/vncserver@.service index fa616d6..ef83ef2 100644 --- a/.config/systemd/user/vncserver@.service +++ b/.config/systemd/user/vncserver@.service @@ -3,7 +3,7 @@ Description=VNC desktop [Service] Type=simple -ExecStart=/bin/bash -l -c 'vncserver -fg :%I' +ExecStart=/bin/bash -l -c 'vncserver -fg %I' Restart=always ExecStopPost=/bin/rm /tmp/.X%I-lock /tmp/.X11-unix/X%I -- cgit v1.2.3-54-g00ecf From a9935b7a12a522937d91cb44a0e138132b555e16 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 29 Jan 2015 00:48:11 -0500 Subject: Re-jigger to use systemd for the process monitor for the window manager --- .config/X11/clientrc | 17 ++++++++--------- .config/systemd/user/dunst@.service | 10 ++++++++++ .config/systemd/user/lxpanel@.service | 10 ++++++++++ .config/systemd/user/rbar@.service | 7 +++++++ .config/systemd/user/redshift@.service | 6 +++--- .config/systemd/user/wmii@.service | 12 ++++++++++++ .../systemd/user/wmii@.service.wants/lxpanel@.service | 1 + .../user/wmii@.service.wants/rbar@97_acpi.service | 1 + .../user/wmii@.service.wants/rbar@98_wifi.service | 1 + .../user/wmii@.service.wants/rbar@99_clock.service | 1 + .../systemd/user/wmii@.service.wants/redshift@.service | 1 + .../systemd/user/wmii@.service.wants/xcompmgr@.service | 1 + .config/systemd/user/xcompmgr@.service | 10 ++++++++++ .config/wmii-hg/autostart | 16 ---------------- .config/wmii-hg/config.sh | 3 --- .config/wmii-hg/rbar | 9 +++++++++ 16 files changed, 75 insertions(+), 31 deletions(-) create mode 100644 .config/systemd/user/dunst@.service create mode 100644 .config/systemd/user/lxpanel@.service create mode 100644 .config/systemd/user/rbar@.service create mode 100644 .config/systemd/user/wmii@.service create mode 120000 .config/systemd/user/wmii@.service.wants/lxpanel@.service create mode 120000 .config/systemd/user/wmii@.service.wants/rbar@97_acpi.service create mode 120000 .config/systemd/user/wmii@.service.wants/rbar@98_wifi.service create mode 120000 .config/systemd/user/wmii@.service.wants/rbar@99_clock.service create mode 120000 .config/systemd/user/wmii@.service.wants/redshift@.service create mode 120000 .config/systemd/user/wmii@.service.wants/xcompmgr@.service create mode 100644 .config/systemd/user/xcompmgr@.service delete mode 100755 .config/wmii-hg/autostart create mode 100755 .config/wmii-hg/rbar (limited to '.config/systemd') diff --git a/.config/X11/clientrc b/.config/X11/clientrc index 26455d3..d18d714 100644 --- a/.config/X11/clientrc +++ b/.config/X11/clientrc @@ -1,9 +1,7 @@ #!/bin/sh -# -# ~/.xinitrc -# -# Executed by startx (run your window manager from here) +# Load system xinit modules (disabled) +# Remove "false &&" to enable if false && [ -d /etc/X11/xinit/xinitrc.d ]; then echo ' ==> Running scripts in Entering xinitrc.d/*' for f in /etc/X11/xinit/xinitrc.d/*; do @@ -19,8 +17,9 @@ if [ -f "$usermodmap" ]; then xmodmap "$usermodmap" fi -# exec gnome-session -# exec startkde -# exec startxfce4 -# ...or the Window Manager of your choice -exec wmii +#exec wmii +wm=wmii +systemctl --user start "${wm}@${DISPLAY}.service" +mkfifo "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" +cat "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" >/dev/null +rm "${XDG_RUNTIME_DIR}/x11-wm@${DISPLAY}" diff --git a/.config/systemd/user/dunst@.service b/.config/systemd/user/dunst@.service new file mode 100644 index 0000000..2aff6be --- /dev/null +++ b/.config/systemd/user/dunst@.service @@ -0,0 +1,10 @@ +[Unit] +Description=Dunst notification-daemon +Documentation=man:dunst(1) +StopWhenUnneeded=true + +[Service] +Type=simple +Environment=DISPLAY=%I +ExecStart=/usr/bin/dunst +Restart=always diff --git a/.config/systemd/user/lxpanel@.service b/.config/systemd/user/lxpanel@.service new file mode 100644 index 0000000..3327ab4 --- /dev/null +++ b/.config/systemd/user/lxpanel@.service @@ -0,0 +1,10 @@ +[Unit] +Description=LXDE Desktop Panel +Documentation=man:lxpanel(1) +StopWhenUnneeded=true + +[Service] +Type=simple +Environment=DISPLAY=%I +ExecStart=/usr/bin/lxpanel +Restart=always diff --git a/.config/systemd/user/rbar@.service b/.config/systemd/user/rbar@.service new file mode 100644 index 0000000..18d6201 --- /dev/null +++ b/.config/systemd/user/rbar@.service @@ -0,0 +1,7 @@ +[Unit] +Description=WMII rbar %I +StopWhenUnneeded=true + +[Service] +Type=simple +ExecStart=/usr/bin/bash -c '%h/.wmii-hg/rbar %I' diff --git a/.config/systemd/user/redshift@.service b/.config/systemd/user/redshift@.service index 41a0b7a..149bb74 100644 --- a/.config/systemd/user/redshift@.service +++ b/.config/systemd/user/redshift@.service @@ -1,11 +1,11 @@ [Unit] Description=Redshift display colour temperature adjustment Documentation=http://jonls.dk/redshift/ +StopWhenUnneeded=true [Service] +Type=simple Environment=DISPLAY=%I ExecStart=/usr/bin/redshift +ExecStopPost=/usr/bin/redshift -x Restart=always - -[Install] -WantedBy=default.target diff --git a/.config/systemd/user/wmii@.service b/.config/systemd/user/wmii@.service new file mode 100644 index 0000000..10fc4e9 --- /dev/null +++ b/.config/systemd/user/wmii@.service @@ -0,0 +1,12 @@ +[Unit] +Description=Window Manager Improved Improved +Documentation=file:/usr/share/doc/wmii/wmii.pdf + +[Service] +Type=simple +Restart=no + +Environment=DISPLAY=%I +ExecStart=/usr/bin/bash -l -c /usr/bin/wmii +ExecStop=/usr/bin/wmiir xwrite /ctl Quit +ExecStopPost=/usr/bin/bash -c ": > ${XDG_RUNTIME_DIR}/x11-wm@%I" diff --git a/.config/systemd/user/wmii@.service.wants/lxpanel@.service b/.config/systemd/user/wmii@.service.wants/lxpanel@.service new file mode 120000 index 0000000..06ed03f --- /dev/null +++ b/.config/systemd/user/wmii@.service.wants/lxpanel@.service @@ -0,0 +1 @@ +../lxpanel@.service \ No newline at end of file diff --git a/.config/systemd/user/wmii@.service.wants/rbar@97_acpi.service b/.config/systemd/user/wmii@.service.wants/rbar@97_acpi.service new file mode 120000 index 0000000..286989e --- /dev/null +++ b/.config/systemd/user/wmii@.service.wants/rbar@97_acpi.service @@ -0,0 +1 @@ +../rbar@.service \ No newline at end of file diff --git a/.config/systemd/user/wmii@.service.wants/rbar@98_wifi.service b/.config/systemd/user/wmii@.service.wants/rbar@98_wifi.service new file mode 120000 index 0000000..286989e --- /dev/null +++ b/.config/systemd/user/wmii@.service.wants/rbar@98_wifi.service @@ -0,0 +1 @@ +../rbar@.service \ No newline at end of file diff --git a/.config/systemd/user/wmii@.service.wants/rbar@99_clock.service b/.config/systemd/user/wmii@.service.wants/rbar@99_clock.service new file mode 120000 index 0000000..286989e --- /dev/null +++ b/.config/systemd/user/wmii@.service.wants/rbar@99_clock.service @@ -0,0 +1 @@ +../rbar@.service \ No newline at end of file diff --git a/.config/systemd/user/wmii@.service.wants/redshift@.service b/.config/systemd/user/wmii@.service.wants/redshift@.service new file mode 120000 index 0000000..59234a7 --- /dev/null +++ b/.config/systemd/user/wmii@.service.wants/redshift@.service @@ -0,0 +1 @@ +../redshift@.service \ No newline at end of file diff --git a/.config/systemd/user/wmii@.service.wants/xcompmgr@.service b/.config/systemd/user/wmii@.service.wants/xcompmgr@.service new file mode 120000 index 0000000..be8518c --- /dev/null +++ b/.config/systemd/user/wmii@.service.wants/xcompmgr@.service @@ -0,0 +1 @@ +../xcompmgr@.service \ No newline at end of file diff --git a/.config/systemd/user/xcompmgr@.service b/.config/systemd/user/xcompmgr@.service new file mode 100644 index 0000000..c7844d2 --- /dev/null +++ b/.config/systemd/user/xcompmgr@.service @@ -0,0 +1,10 @@ +[Unit] +Description=Composite Window-Effects Manger +Documentation=man:xcompmgr(1) +StopWhenUnneeded=true + +[Service] +Type=simple +Environment=DISPLAY=%I +ExecStart=/usr/bin/xcompmgr +Restart=always diff --git a/.config/wmii-hg/autostart b/.config/wmii-hg/autostart deleted file mode 100755 index 156fe7d..0000000 --- a/.config/wmii-hg/autostart +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -. include.sh - -xrandr --output VGA-1 --off - -daemon xcompmgr &> /dev/null -daemon lxpanel &> /dev/null -#daemon nm-applet &> /dev/null -daemon dunst &> /dev/null -daemon blueman-applet &> /dev/null -daemon clipit -dn &> /dev/null - -PATH="$WMII_CONFPATH:$PATH" -daemon rbar_acpi 97_acpi &> /dev/null -daemon rbar_wifi 98_wifi &> /dev/null -daemon rbar_clock 99_clock &> /dev/null diff --git a/.config/wmii-hg/config.sh b/.config/wmii-hg/config.sh index 888c3ae..98c41a6 100644 --- a/.config/wmii-hg/config.sh +++ b/.config/wmii-hg/config.sh @@ -49,9 +49,6 @@ Event() { Event FocusTag "$tag" fi done < <(lstags) - - # Run the autostart action - Action autostart ;; WmiircQuit) ## No args echo ' ==> Stopping wmiirc' diff --git a/.config/wmii-hg/rbar b/.config/wmii-hg/rbar new file mode 100755 index 0000000..9aaa485 --- /dev/null +++ b/.config/wmii-hg/rbar @@ -0,0 +1,9 @@ +#!/bin/bash +IFS=: +read -r name prefix DISPLAY <<<"$1" +export DISPLAY + +id=$1 +name=${id#[0-9][0-9]_} + +exec "$0"_"$name" "${id}" -- cgit v1.2.3-54-g00ecf From f565769cdc68b24343ce2d3dbf4e322fad3a6c20 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 29 Jan 2015 00:54:28 -0500 Subject: gpg-agent stuff is no longer nescessary --- .config/systemd/user/default.target.wants/gpg-agent.service | 1 - .config/systemd/user/gpg-agent.service | 9 --------- 2 files changed, 10 deletions(-) delete mode 120000 .config/systemd/user/default.target.wants/gpg-agent.service delete mode 100644 .config/systemd/user/gpg-agent.service (limited to '.config/systemd') diff --git a/.config/systemd/user/default.target.wants/gpg-agent.service b/.config/systemd/user/default.target.wants/gpg-agent.service deleted file mode 120000 index 5727454..0000000 --- a/.config/systemd/user/default.target.wants/gpg-agent.service +++ /dev/null @@ -1 +0,0 @@ -/home/lukeshu-parabola/.config/systemd/user/gpg-agent.service \ No newline at end of file diff --git a/.config/systemd/user/gpg-agent.service b/.config/systemd/user/gpg-agent.service deleted file mode 100644 index 93c12b0..0000000 --- a/.config/systemd/user/gpg-agent.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description="GnuPG agent daemon" - -[Service] -Type=forking -ExecStart=/usr/bin/gpg-agent --daemon --write-env-file ${XDG_RUNTIME_DIR}/gpg - -[Install] -WantedBy=default.target -- cgit v1.2.3-54-g00ecf From 34bbf66a460e5c622e209211869b3a8bde8a68d5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 29 Jan 2015 01:31:57 -0500 Subject: change the x0vncserver service unit to match the others --- .config/systemd/user/wmii@.service.wants/x0vncserver@.service | 1 + .config/systemd/user/x0vncserver@.service | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 120000 .config/systemd/user/wmii@.service.wants/x0vncserver@.service (limited to '.config/systemd') diff --git a/.config/systemd/user/wmii@.service.wants/x0vncserver@.service b/.config/systemd/user/wmii@.service.wants/x0vncserver@.service new file mode 120000 index 0000000..bc3be20 --- /dev/null +++ b/.config/systemd/user/wmii@.service.wants/x0vncserver@.service @@ -0,0 +1 @@ +../x0vncserver@.service \ No newline at end of file diff --git a/.config/systemd/user/x0vncserver@.service b/.config/systemd/user/x0vncserver@.service index 99e897c..476e822 100644 --- a/.config/systemd/user/x0vncserver@.service +++ b/.config/systemd/user/x0vncserver@.service @@ -3,8 +3,5 @@ Description=VNC server for X displays [Service] Type=simple -ExecStart=/bin/bash -l -c 'x0vncserver display=:%I PasswordFile="${HOME}/.vnc/passwd"' +ExecStart=/usr/bin/x0vncserver display=%I PasswordFile=%h/.vnc/passwd Restart=always - -[Install] -WantedBy=default.target -- cgit v1.2.3-54-g00ecf From c9a99ea8e015a34626a524a0e8be3c5378961894 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 29 Jan 2015 01:48:45 -0500 Subject: systemd: {x0,}vncserver need to conflict with eachother --- .config/systemd/user/vncserver@.service | 1 + .config/systemd/user/x0vncserver@.service | 1 + 2 files changed, 2 insertions(+) (limited to '.config/systemd') diff --git a/.config/systemd/user/vncserver@.service b/.config/systemd/user/vncserver@.service index ef83ef2..8c1d818 100644 --- a/.config/systemd/user/vncserver@.service +++ b/.config/systemd/user/vncserver@.service @@ -1,5 +1,6 @@ [Unit] Description=VNC desktop +Conflicts=x0vncserver@%i.service [Service] Type=simple diff --git a/.config/systemd/user/x0vncserver@.service b/.config/systemd/user/x0vncserver@.service index 476e822..02165a7 100644 --- a/.config/systemd/user/x0vncserver@.service +++ b/.config/systemd/user/x0vncserver@.service @@ -1,5 +1,6 @@ [Unit] Description=VNC server for X displays +Conflicts=vncserver@%i.service [Service] Type=simple -- cgit v1.2.3-54-g00ecf From b844c786dbb22a45a218e183dcecd58cdbb66025 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 29 Jan 2015 01:59:53 -0500 Subject: fix merge --- .config/systemd/user/wmii@.service.wants/rbar@98_wifi.service | 1 - .config/systemd/user/wmii@.service.wants/redshift@.service | 1 - .config/wmii-hg/rbar_acpi | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) delete mode 120000 .config/systemd/user/wmii@.service.wants/rbar@98_wifi.service delete mode 120000 .config/systemd/user/wmii@.service.wants/redshift@.service (limited to '.config/systemd') diff --git a/.config/systemd/user/wmii@.service.wants/rbar@98_wifi.service b/.config/systemd/user/wmii@.service.wants/rbar@98_wifi.service deleted file mode 120000 index 286989e..0000000 --- a/.config/systemd/user/wmii@.service.wants/rbar@98_wifi.service +++ /dev/null @@ -1 +0,0 @@ -../rbar@.service \ No newline at end of file diff --git a/.config/systemd/user/wmii@.service.wants/redshift@.service b/.config/systemd/user/wmii@.service.wants/redshift@.service deleted file mode 120000 index 59234a7..0000000 --- a/.config/systemd/user/wmii@.service.wants/redshift@.service +++ /dev/null @@ -1 +0,0 @@ -../redshift@.service \ No newline at end of file diff --git a/.config/wmii-hg/rbar_acpi b/.config/wmii-hg/rbar_acpi index bdcdf0f..5e77abb 100755 --- a/.config/wmii-hg/rbar_acpi +++ b/.config/wmii-hg/rbar_acpi @@ -5,7 +5,7 @@ update() { setup_trap "${id}.*" while true; do - acpi -bt | sed -r \ + acpi -t | sed -r \ -e 's/^([A-Z])[a-z]+ ([0-9]+):/\1\2:/' \ -e 's/\s*degrees\s*/°/g' | cat -n | while read -r n line; do -- cgit v1.2.3-54-g00ecf