diff options
| -rw-r--r-- | README.md | 10 | ||||
| -rw-r--r-- | ratpoisonrc.dot.link | 57 |
2 files changed, 58 insertions, 9 deletions
@@ -1,4 +1,12 @@ # ratpoison dotfile module -This is the repository for ratpoison configuration. +This is the repository for [ratpoison][] configuration. More information at https://git.fluxo.info/metadot + +[ratpoison]: https://ratpoison.nongnu.org/ + +## References + +* ArchWiki page: https://wiki.archlinux.org/title/Ratpoison +* Good startup script reference: https://github.com/xantoz/ratpoisonrc +* Ratpoison taskbar: https://github.com/merrittlj/rpbar diff --git a/ratpoisonrc.dot.link b/ratpoisonrc.dot.link index bda9a5b..e3cf952 100644 --- a/ratpoisonrc.dot.link +++ b/ratpoisonrc.dot.link @@ -1,20 +1,61 @@ +# +# Ratpoison startup configuration +# + +# Keybindings +bind O exec office bind Q quit -bind h exec hibernate -bind q exec poweroff bind V exec kvmx-vdagent -bind c exec terminal -bind l exec luakit bind b exec tor-browser -bind u exec qutebrowser +bind c exec terminal +bind f exec firefox -private-window +bind h exec hibernate bind i exec chromium-incognito -bind m exec chromium-profile messenger --kiosk -bind f exec firefox +bind l exec luakit +bind m exec session messenger bind o exec terminal-session-chooser +bind q exec poweroff +bind u exec qutebrowser escape C-e -startup_message off + +# Disable startup message +set startupmessage 0 + +# Colors set fgcolor #D0D0D0 set fwcolor #1C1C1C set bgcolor #1C1C1C set bwcolor #444444 set border 0 + +# Font set font "Inconsolata for Powerline:size=9" + +# Workspaces invoking rpws directly +# This is commented out due to conflicts with applications being invoked from +# xsessionrc files and not being focused by default. +# group/workspace. +#exec rpws init 9 -k -a + +# Activate the prev window, then move next, ensuring an application is focused +# +# This is commented (in favour of the ratpoisoner approach) as it's not working +# Problem seems with the window not being redrawn/focused, as this rpws is +# spawned in the background and these commans runs before workspaces are +# initialized. +#prev +#next + +# Select to blank, then select to the first window, ensuring an application is +# focused +# +# This is commented (in favour of the ratpoisoner approach) as it's not working +# (same reason as with prev/next approach). +#select - +#select 1 + +# Workspaces through ratpoisoner +exec ratpoisoner workspaces + +# Customized configuration +#exec ratpoisoner custom |
