From 02a2196150b16ee1c343a5587cadb177016fe222 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 15 Oct 2016 19:22:44 +0200 Subject: Update files to changes done while abandoning systemd Now I use openrc. --- config/i3/config | 9 ++++----- config/i3blocks/config | 9 ++------- config/systemd/user/syncemail.service | 10 ---------- 3 files changed, 6 insertions(+), 22 deletions(-) delete mode 100644 config/systemd/user/syncemail.service (limited to 'config') diff --git a/config/i3/config b/config/i3/config index a3340aa..13bcde4 100644 --- a/config/i3/config +++ b/config/i3/config @@ -137,14 +137,13 @@ bindsym $mod+Shift+r restart set $Locker i3lock -d -c 000000 && sleep 1 -set $mode_system System (l) lock, (e) logout, (s) suspend, (h) hibernate, (r) reboot, (Shift+s) shutdown +set $mode_system System (l) lock, (e) logout, (s) suspend, (r) reboot, (Shift+s) shutdown mode "$mode_system" { bindsym l exec --no-startup-id $Locker, mode "default" bindsym e exec --no-startup-id i3-msg exit, mode "default" - bindsym s exec --no-startup-id $Locker && systemctl suspend, mode "default" - bindsym h exec --no-startup-id $Locker && systemctl hibernate, mode "default" - bindsym r exec --no-startup-id systemctl reboot, mode "default" - bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default" + bindsym s exec --no-startup-id sys-suspend, mode "default" + bindsym r exec --no-startup-id sys-reboot, mode "default" + bindsym Shift+s exec --no-startup-id sys-shutdown, mode "default" # back to normal: Enter or Escape bindsym Return mode "default" diff --git a/config/i3blocks/config b/config/i3blocks/config index 75fffba..aee4139 100644 --- a/config/i3blocks/config +++ b/config/i3blocks/config @@ -62,7 +62,7 @@ signal=10 # see the script for details. [cpu_usage] #label=CPU -label= +label=cpu interval=10 separator=false @@ -71,7 +71,7 @@ separator=false # The type defaults to "mem" if the instance is not specified. [memory] #label=MEM -label= +label=mem interval=30 [bbswitch] @@ -95,11 +95,6 @@ instance=/ interval=30 separator=false [disk] -label=/home -instance=/home -interval=30 -separator=false -[disk] label=/home_hdd instance=/home_hdd interval=30 diff --git a/config/systemd/user/syncemail.service b/config/systemd/user/syncemail.service deleted file mode 100644 index 1940f46..0000000 --- a/config/systemd/user/syncemail.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Email synchronization - -[Service] -ExecStart=/home/cynerd/.local/sbin/syncemail -KillSignal=SIGUSR2 -Restart=always - -[Install] -WantedBy=default.target -- cgit v1.2.3