From e0dea08e8e2b90259010487604761eebd83e05e2 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 7 Aug 2018 20:59:21 -0400 Subject: [PATCH] mod+n opens newsboat else podboat --- .config/i3/config | 2 +- .scripts/newspod | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 .scripts/newspod diff --git a/.config/i3/config b/.config/i3/config index a9d0002..d654b62 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -191,7 +191,7 @@ bindsym $mod+Shift+v exec --no-startup-id projectM-pulseaudio bindsym $mod+b bar mode toggle bindsym $mod+Shift+b floating toggle; sticky toggle; exec --no-startup-id bottomleft -bindsym $mod+n exec $term -e newsboat +bindsym $mod+n exec $term -e newspod ##bindsym $mod+Shift+n bindsym $mod+m exec --no-startup-id st -e ncmpcpp diff --git a/.scripts/newspod b/.scripts/newspod new file mode 100755 index 0000000..6432fd2 --- /dev/null +++ b/.scripts/newspod @@ -0,0 +1,5 @@ +#!/bin/sh +# Another script because i3 is too dumb to call basic operations right. +# Brings up newsboat, if newsboat is open, opens podboat + +newsboat || podboat