Topic: Bringing my .cwmrc to Hyperbola

Bringing my .cwmrc to Hyperbola from OpenBSD.

# pacman -S xenocara xenocara-xinit xorg-xdm xterm xenocara-xconsole \
> xf86-input-synaptics xorg-input-evdev xenocara-video-ati cwm

You need either xenocara-xinit or xorg-xdm. For the later run: # rc-update add xdm default.

For the touchpad and proper keyboard layout:

# /etc/X11/xorg.conf.d/50-synaptics.conf

Section "InputClass"
        Identifier "touchpad"
        Driver "synaptics"
        MatchIsTouchpad "on"
                Option "TapButton1" "1"
                Option "TapButton2" "2"
                Option "TapButton3" "3"
                Option "VertEdgeScroll" "on"
                Option "VertTwoFingerScroll" "on"
                Option "HorizEdgeScroll" "on"
                Option "HorizTwoFingerScroll" "on"
                Option "CircularScrolling" "on"
                Option "CircScrollTrigger" "2"
                Option "EmulateTwoFingerMinZ" "40"
                Option "EmulateTwoFingerMinW" "8"
                Option "CoastingSpeed" "0"
# /etc/X11/xorg.conf.d/90-keyboard.conf

Section "InputClass"
        Identifier "keyboard-gb"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
        Option "XkbLayout" "es"
        Option "XkbOptions" "ctrl:nocaps"

The configs:

# ~/.cwmrc

# Set default Xft(3) font
fontname "monospace:size=10"

# Turn on sticky-group mode
sticky yes

# Any entry here is shown in the application menu
command Iceweasel-UXP iceweasel-uxp
command XConsole xconsole

# Autogroup definitions
autogroup 1 "xterm,XTerm"

# Key bindings
unbind-key all
# ~/.xsession


setxkbmap es -option ctrl:nocaps
xrdb -l ~/.Xresources
xsetroot -solid black

tint2 &

Also important:

# pacman -S ttf-dejavu tint2 iceweasel-uxp picom

Can't get picom to work at the moment. --experimental-backends start, however.

Time to either $ startx or $ doas rc-service xdm start.

Complementary screenshot:




Re: Bringing my .cwmrc to Hyperbola

Interesting, what does this look like?

I mean on like, screenshots for cwm.

I am curious

HyperbolaBSD: The Future of Secure Libre Lightweight Operating Systems!


Re: Bringing my .cwmrc to Hyperbola

Thanks, I'll wait until someone makes an advanced rise for DWM something similar https://archive.org/details/antix-22-runit-dwm


Re: Bringing my .cwmrc to Hyperbola

I prefer simpler systems:
sx: https://inv.tux.pizza/watch?v=4xfIGgjmAYY, https://github.com/Earnestly/sx
dwm 0.1: https://dl.suckless.org/dwm/dwm-0.1.tar.gz
emacs 27.1 which I use for almost everything other than web browsing: https://ftp.gnu.org/gnu/emacs/emacs-27.1.tar.xz
I use emacs' eshell instead of st


Re: Bringing my .cwmrc to Hyperbola

Thanks for the links, please tell me, besides DWM, what else do you use? For example DWMblocks or rofi?
What file manager do you use, etc.


Re: Bringing my .cwmrc to Hyperbola

Since I don't have too much GUI programs other than iceweasel and emacs, that I launch with dwm keybindings, I launch terminal programs from eshell, either in the foreground or background (using "&"), so I don't need a program launcher like dmenu rofi.

Concerning lists that you want to pick from (usually through "head"), I use a custom emacs lisp function that offers them in the minibuffer and to choose one with with ido: https://www.gnu.org/software/emacs/manu … /ido.html.

Since I have a fairly minimal directory structure, I usually manage files from eshell using standard UNIX commands (cp, cd, rm,..), but there is a simple yet powerfull emacs file manager called dired (Alt-x dired): https://www.gnu.org/software/emacs/manu … ired.html.


Re: Bringing my .cwmrc to Hyperbola

Thank you for your answers. As I understand you are a fan of emacs)) Okay, and how do you listen to music, watch movies, open PDF files or for example how do you use encryption?

8 (edited by benyouyou 2024-06-06 13:47:33)

Re: Bringing my .cwmrc to Hyperbola

I don't listen to music, because it is wordless and therefore can suggest
lyrics that are misguiding or wrong. As for movies I use ffplay
generally with the
command line, through dired, or via an emacs lisp function.
For opening pdf files directly I use mupdf:
https://mupdf.readthedocs.io/en/latest/ … line.html.

There are also tools to convert pdf to text like pdftotext. For
Symmetric: a simple yet powerfull program: aescrypt2:
Asymmetric: I can use gpg or pgp through emacs' epa:
https://www.gnu.org/software/emacs/manu … o/epa.html


Re: Bringing my .cwmrc to Hyperbola

Thank you for your answer . I looked at the programs you are talking about (pdftotext, ffplay) they are not in the Hyperbola repository))

As I understand it, you also decrypt disks or usb using the terminal. 

What do you think about scripts to automate this process? Can you write complex scripts?


Re: Bringing my .cwmrc to Hyperbola

Not in the repositories?

/usr/bin/ffplay is owned by ffmpeg
/usr/bin/pdftotext is owned by poppler

Please research correct, jim. But this thread is now going off-topic and not related to anything further cwm.
If there is need for generic tips or something else create a new thread. Closed!

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!