9d4d3ee64b4b31337179c137d0d9f78e5d1406d7
commit 9d4d3ee64b4b31337179c137d0d9f78e5d1406d7
Author: Simon Watson <spw01@protonmail.com>
Date: Mon Jan 24 10:45:27 2022 -0500

Added rofi tmux switcher

diff --git a/emacs/.emacs-all b/emacs/.emacs-all
index dfb75ef..48f4e37 100644
--- a/emacs/.emacs-all
+++ b/emacs/.emacs-all
@@ -47,6 +47,12 @@
'(puppet-mode :type git :host github
repo: "voxpupuli/puppet-mode"))

+;; Mastodon
+(straight-use-package
+ '(mastodon
+ :type git :host nil
+ :repo "https://codeberg.org/martianh/mastodon.el"))
+
;; Gopher browser
(straight-use-package 'elpher)
(straight-use-package 'ansi-color)
@@ -112,7 +118,7 @@
;;(powerline-default-theme)
;; Better powerline support for evil mode
(require 'powerline-evil)
-(powerline-evil-vim-theme)
+(powerline-evil-vim-color-theme)

(require 'neotree)
(global-set-key [f8] 'neotree-toggle)
diff --git a/openbox/casana-void/rc.xml b/openbox/casana-void/rc.xml
index fe6539a..e49b18c 100644
--- a/openbox/casana-void/rc.xml
+++ b/openbox/casana-void/rc.xml
@@ -335,6 +335,11 @@
<command>rofi -show window</command>
</action>
</keybind>
+ <keybind key="A-0x3D">
+ <action name="Execute">
+ <command>/home/swatson/Repos/dotfiles/rofi/rtmux.sh</command>
+ </action>
+ </keybind>
<keybind key="W-Return">
<action name="Execute">
<command>st-term</command>
diff --git a/rofi/config b/rofi/config
deleted file mode 100644
index 2128029..0000000
--- a/rofi/config
+++ /dev/null
@@ -1 +0,0 @@
-rofi.theme: ~/.cache/wal/colors-rofi-dark.rasi
diff --git a/rofi/config.rasi b/rofi/config.rasi
new file mode 100644
index 0000000..8bd59f9
--- /dev/null
+++ b/rofi/config.rasi
@@ -0,0 +1,2 @@
+//@theme "/usr/share/rofi/themes/Paper.rasi"
+@theme "/usr/share/rofi/themes/Paper.rasi"
diff --git a/rofi/rtmux.sh b/rofi/rtmux.sh
new file mode 100755
index 0000000..70ca557
--- /dev/null
+++ b/rofi/rtmux.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+TERMINAL="/home/swatson/.local/bin/st-term"
+
+function tmux_sesh_wind() {
+ for sesh in $(tmux list-sessions -F "#S"); do
+ for win in $(tmux list-windows -t $sesh -F "#W"); do
+ echo "$sesh:$win";
+ done;
+ done;
+}
+
+RET=$(tmux_sesh_wind | rofi -dmenu -p "tmux window:")
+
+rofi-sensible-terminal -e tmux switch-client -t $RET