aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-10-15 19:22:44 +0200
committerKarel Kočí <cynerd@email.cz>2016-10-15 19:22:44 +0200
commit02a2196150b16ee1c343a5587cadb177016fe222 (patch)
tree8ef95619620a4689a12d26eff0a0287954a2cd3c /config
parentb17cad80bfaf348ce805868dc4b35211a4c32906 (diff)
downloadmyconfigs-02a2196150b16ee1c343a5587cadb177016fe222.tar.gz
myconfigs-02a2196150b16ee1c343a5587cadb177016fe222.tar.bz2
myconfigs-02a2196150b16ee1c343a5587cadb177016fe222.zip
Update files to changes done while abandoning systemd
Now I use openrc.
Diffstat (limited to 'config')
-rw-r--r--config/i3/config9
-rw-r--r--config/i3blocks/config9
-rw-r--r--config/systemd/user/syncemail.service10
3 files changed, 6 insertions, 22 deletions
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