summaryrefslogtreecommitdiff
path: root/wm/.ratpoisonrc
diff options
context:
space:
mode:
Diffstat (limited to 'wm/.ratpoisonrc')
-rw-r--r--wm/.ratpoisonrc15
1 files changed, 12 insertions, 3 deletions
diff --git a/wm/.ratpoisonrc b/wm/.ratpoisonrc
index f358e26..eb924c8 100644
--- a/wm/.ratpoisonrc
+++ b/wm/.ratpoisonrc
@@ -15,15 +15,18 @@ set winname class
set wingravity n
# Commands to run-or-raise programs
-alias icecat exec ratpoison -c "select icecat" || exec icecat
-alias palemoon exec ratpoison -c "select Pale moon" || sh ~/Software/palemoon/palemoon-guix.sh
+alias icecat exec ratpoison -c "select icecat" || exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$' icecat -- icecat
+alias chromium exec ratpoison -c "select chromium" || exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$' ungoogled-chromium -- chromium
+alias torbrowser exec ratpoison -c "select torbrowser" || exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$' torbrowser -- torbrowser
alias workrave exec ratpoison -c "select workrave" || exec workrave
alias emacs exec ratpoison -c "select emacs" || exec emacs
alias xterm exec ratpoison -c "select xterm" || exec xterm
alias firefox exec ratpoison -c "select firefox" || exec flatpak run org.mozilla.firefox
alias dbeaver exec dbeaver -c "select dbeaver" || exec flatpak run io.dbeaver.DBeaverCommunity
alias guix exec guix
-alias shell exec guix shell
+alias shell exec guix shell --check
+alias shell-container exec guix shell --container --network --no-cwd --preserve='^XAUTHORITY$' --expose="${XAUTHORITY}" --preserve='^DISPLAY$'
+alias shell-pure exec guix shell --pure --check
alias mpv exec mpv
# Run or raise Emacs
@@ -35,6 +38,12 @@ bind B palemoon
# Run or raise Icecat
bind I icecat
+# Run or raise TorBrowser
+bind T torbrowser
+
+# Run or raise Chromium
+bind C chromium
+
# Run or raise Xterm
bind c xterm