You are not logged in.

#2976 2017-03-25 15:52:14

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 16,010
Website

Re: Post your handy self made command line utilities

Hairyplotter wrote:

There actually is a need for the $DIR variable. If you try to change in to a directory containing spaces with the refinements you posted you get : bash: cd: too many arguments.

No, there is a need to quote the $() or the $DIR.  This is no more true of my invocation than the original.  It will fail with a variable with a space if that variable is not quoted.  I see you did quote the $DIR in yours, so to fix mine:

alias mc='mc -P "/tmp/mc-$USER/mc.pwd.$$" ~ "$PWD"; cd "$(</tmp/mc-$USER/mc.pwd.$$)"; \rm -f /tmp/mc-$USER/mc.pwd.$$'

It is good practice to quote any parameter that comes from somewhere else.  But it just often doesn't occur to me when using `cd` as I'd never tolerate a directory with spaces on my system.

Offline

#2977 2017-03-25 16:19:07

Hairyplotter
Member
Registered: 2017-03-25
Posts: 3

Re: Post your handy self made command line utilities

Trilby wrote:
Hairyplotter wrote:

There actually is a need for the $DIR variable. If you try to change in to a directory containing spaces with the refinements you posted you get : bash: cd: too many arguments.

No, there is a need to quote the $() or the $DIR.  This is no more true of my invocation than the original.  It will fail with a variable with a space if that variable is not quoted.  I see you did quote the $DIR in yours, so to fix mine:

alias mc='mc -P "/tmp/mc-$USER/mc.pwd.$$" ~ "$PWD"; cd "$(</tmp/mc-$USER/mc.pwd.$$)"; \rm -f /tmp/mc-$USER/mc.pwd.$$'

It is good practice to quote any parameter that comes from somewhere else.  But it just often doesn't occur to me when using `cd` as I'd never tolerate a directory with spaces on my system.

Thank you, I adopted your suggestion.

Offline

#2978 2017-04-09 14:20:41

nycko
Member
Registered: 2011-08-07
Posts: 10

Re: Post your handy self made command line utilities

A simple Twitch handler in bash, wrapped around streamlink and mpv, that i wrote today. Maybe could be usefull for someone in tty's

3 files to make it simpler to handle. Script automatically handles streamers names from seperate file (ex. twitch-list).

main file (twitch)

#!/bin/bash
. twitch.conf	#configuration file
. twitch.func	#various functions used


#check if any argument has been passed to the script (ex. twitch stream_name stream_quality). If so, run the stream immediately
if [ -n "$1" ]; then
	streamlink --player="mpv --vo=$vo --hwdec=$hwdec" $TWITCH/$1 $2
else
	#main menu, etc.
	d=0
	next=no
	twitchlist
	while [ $d -lt 999 ]; do
		echo "#############################################################################"
		echo -e "$CLEAR 1. $RED Check available streams $CLEAR"
		echo "#############################################################################"
		for (( c=2; c<=$[n-1]; c++))
		do
			echo -e "$CLEAR$c. Run $YELLOW${list[$c]}$CLEAR"
		done
		echo -e "x. Exit"
		
		read d
		num=`echo "$d" | grep -E ^\-?[0-9]+$`
		if [ "$num" != '' ]; then
			next=yes
		fi
		
		clear
		case "$d" in
			"1")	check ;;
			"x")	d=999 ;;
			*)	if [ "$next" = "yes" ] && [ $d -lt $n ]; then
						run ${list[$d]}
					else
						d=0
					fi ;;
		esac
	done
fi

twitch.conf

#!/bin/bash
# Configuration file 

# Path to the streamers list
LIST="/home/user/bin/twitch-list"

# Twitch settings
TWITCH="www.twitch.tv"
TWITCH_QUALITY="medium"

# MPV settings
vo=drm	#video driver (man mpv)
hwdec=vaapi	#hardware decoding method (man mpv)

# Font colors
BLACK="\033[0;30m"
GREEN="\033[0;32m"
BLUE="\033[38;5;75m"
YELLOW="\033[38;5;11m"
RED="\033[38;5;1m"
GRAY="\033[38;5;7m"
ORANGE="\033[38;5;214m"

# Font settings
CLEAR="$(tput sgr0)"	#clears fonts
BOLD="$(tput bold)"

twitch.func

#!/bin/bash

# Parse twitch-list file to array
twitchlist ()
{
	n=2
	while IFS='' read -r line || [[ -n "$line" ]]; do
               list[$n]+=$line
               n=$[n+1]
	done < $LIST
}

# check the status of the streams
check ()
{
	echo -e "$RED Checking available streams: $CLEAR"
	
	i=2
	while [ $i -lt $n ]; do
		echo -e "$YELLOW ${list[$i]} $CLEAR"
		streamlink $TWITCH/${list[$i]}
		i=$[i+1]
	done
}

# run the selected stream
run ()
{
	echo -e "$BLUE Starting $1 stream $CLEAR"
	streamlink --player="mpv --vo=$vo --hwdec=$hwdec" $TWITCH/$1 $TWITCH_QUALITY
}

ex. twitch-list (list of followed/fav streamers)

robinoman
gamingonlinux
wargaming
gogcom

Offline

#2979 2017-04-12 05:59:57

quequotion
Member
From: Oita, Japan
Registered: 2013-07-29
Posts: 536
Website

Re: Post your handy self made command line utilities

bash one liner to watch cpu frequency and various temperatures

watch -n 0 "lscpu | grep 'MHz' && cat /sys/class//hwmon/hwmon[0-9]/temp*_input"

Last edited by quequotion (2017-04-12 12:47:46)

Offline

#2980 2017-04-12 12:43:06

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 16,010
Website

Re: Post your handy self made command line utilities

That `[[ true ]] &&` doesn't seem to do anything.

Offline

#2981 2017-04-12 12:46:40

quequotion
Member
From: Oita, Japan
Registered: 2013-07-29
Posts: 536
Website

Re: Post your handy self made command line utilities

Trilby wrote:

That `[[ true ]] &&` doesn't seem to do anything.

Yeah, your're right about that. I think there was some reason I put it there, like I was thinking it should work like a while [[ true ]], but it isn't necessary.

Offline

#2982 2017-04-12 13:18:10

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 16,010
Website

Re: Post your handy self made command line utilities

If you use a while, you don't need watch:

while :; do clear; lscpu | grep 'MHz'; cat /sys/class//hwmon/hwmon[0-9]/temp*_input; sleep 0.1; done

Watch takes the place of the while, clear, and sleep.

Offline

#2983 2017-04-12 17:18:50

brainfucksec
Member
Registered: 2017-03-01
Posts: 13
Website

Re: Post your handy self made command line utilities

One line Pomodoro counter (require 'beep'):

sleep 1500 && notify-send [PAUSE] && beep && echo '[*] pomodoro++' >> pomodoros.txt

Check external IP:

#!/bin/bash

# Program: checkip.sh 
# Description: Simple bash script for check current public IP
# Version: 0.1
# Author: Brainfuck

# define colors
export red=$'\e[0;91m'
export green=$'\e[0;92m'
export blue=$'\e[0;94m'
export white=$'\e[0;97m'
export endc=$'\e[0m'


# curl request: http://ipinfo.io
if ! external_ip="$(curl -s -m 10 ipinfo.io/geo)"; then
	printf "${red}%s${endc}\n" "[FAILED] curl: HTTP request error!"
	exit 1
fi

# print output 
printf "${blue}%s${endc} ${green}%s${endc}\n" "::" "IP Address Details:"

printf "${white}%s${endc}" "$external_ip" \
	| tr -d '"{}' | sed 's/  //g'

k.i.s.s

Offline

#2984 2017-04-12 17:29:31

slithery
Member
Registered: 2013-12-01
Posts: 1,162

Re: Post your handy self made command line utilities

Check external IP...

curl ifconfig.co

smile

Offline

#2985 2017-04-12 17:32:25

firecat53
Member
From: Sammamish, Wa
Registered: 2007-05-14
Posts: 1,454
Website

Re: Post your handy self made command line utilities

Command line timer with notification sound and notify-send popup. Set the path to the sound file first (ogg or flac).

#!/bin/bash

# Quick CLI timer. Pass time like '45s', '10m', '1h'
# Requires `paplay` and `notify-send`
# Usage: `timer <time> [reps] [filename]`

snd="/usr/share/sounds/freedesktop/stereo/complete.oga"
if [[ $# == 0 ]]; then
    echo "Usage: timer <time> [reps] [filename]"
    exit 1
fi

# Number of times to play the completed sound (default 2)
reps=${2:-2}
# Filename (.ogg or .flac format)
fn="${3:-$snd}"

a=0
(sleep "$1" && \
    notify-send -t 10000000 " $1 complete ";
    while [[ $a -lt $reps ]];
    do XDG_RUNTIME_DIR=/run/user/$(id -u) paplay --volume=65536 "$fn";
        let "a++";
    done
) &

Last edited by firecat53 (2017-04-12 17:38:54)

Offline

#2986 2017-04-15 00:58:39

hashhar
Member
From: New Delhi, India
Registered: 2017-04-08
Posts: 18
Website

Re: Post your handy self made command line utilities

My own personal mirrolist ranker. I run this after I change network providers or when I'm in a different city or place.

This grew mainly because the Arch Mirror List generator had been acting up. So I wrote my own. Turns out they are thinking of removing it entirely. See https://bbs.archlinux.org/viewtopic.php … 9#p1704409.

Well, any criticism or advice regarding scripting would be appreciated though.

#!/bin/bash

# Customize these parameters {{{
temp_file='/tmp/mirrors.json'
num_mirrors=10

# See https://www.archlinux.org/mirrors/status/ for meaning of these
country='all'      # all, or a name (uses regex matching, so input accordingly)
protocol='all'     # all, http, https, rsync
max_score=100      # lower is better
min_completion=0.9 # as a fraction, 1 is maximum
max_delay=         # a delay value in seconds. Delay in mirroring.
max_latency=       # a value in seconds
max_dev_latency=   # a value in seconds. Std. deviation of latency.
# }}}

# Defaults and Sanitization {{{
[ "$protocol" == 'all' ] && protocol='.*'
[ "$country" == 'all' ] && country='.*'
[ -z "$max_score" ] && max_score=100
[ -z "$min_completion" ] && min_completion=0.9
[ -z "$max_delay" ] && max_delay=86400
[ -z "$max_latency" ] && max_latency=2
[ -z "$max_dev_latency" ] && max_dev_latency=2
# }}}

# Curl and jq pipe {{{
curl https://www.archlinux.org/mirrors/status/json/ |\
    jq ".urls |
        sort_by(.score) |
        .[] |
        select(.country | test(\"$country\")) |
        select(.protocol | test(\"$protocol\")) |
        select(.score != null) |
        select(.score < $max_score) |
        select(.completion_pct > $min_completion) |
        select(.delay < $max_delay) |
        select(.duration_avg < $max_latency ) |
        select(.duration_stddev < $max_dev_latency) |
        { protocol: .protocol, url: .url, country: .country, score: .score }" \
    > "$temp_file"
# }}}

# Extract info to variables {{{
urls=( $(jq -r '.url' "$temp_file") )
scores=( $(jq '.score' "$temp_file") )
# Bash >= 4.0
if (( BASH_VERSINFO >= 4 )); then
    readarray -t countries <<<"$(jq '.country' "$temp_file")"
else
    IFS=$'\n' read -rd '' -a countries <<<"$(jq '.country' "$temp_file")"
fi
count=${#urls[@]}
# }}}

# Write to file {{{
printf '## Generated using hashhars mirrorlist-gen script\n'
printf '## Generated on %s\n' "$(date --rfc-3339=date)"
printf '## Number of mirrors: %s; Country: %s; Protocol: %s; Max Score: %s\n' \
    "$num_mirrors" "$country" "$protocol" "$max_score"
printf '## Min completion percentage: %s; Max mirror delay: %s;\n' \
    "$min_completion" "$max_delay"
printf '## Max avg connection latency: %s; Max std dev of latency: %s\n' \
    "$max_latency" "$max_dev_latency"
printf '\n'
for (( i=0; i < count && i < num_mirrors; ++i )); do
    printf '# %s, Score = %s\nServer = %s$repo/os/$arch\n' \
        "${countries[$i]}" "${scores[$i]}" "${urls[$i]}"
done
# }}}

# vim: et sw=4 tw=80 cc=80 fdm=marker

Offline

#2987 2017-04-15 20:55:45

glyons
Member
Registered: 2016-10-14
Posts: 11

Re: Post your handy self made command line utilities

hashhar wrote:

My own personal mirrolist ranker. I run this after I change network providers or when I'm in a different city or place.

This grew mainly because the Arch Mirror List generator had been acting up. So I wrote my own. Turns out they are thinking of removing it entirely. See https://bbs.archlinux.org/viewtopic.php … 9#p1704409.

Well, any criticism or advice regarding scripting would be appreciated though.
.....

Looks good and it works!

Just for your information  there is a package called reflector

Reflector
Reflector is a script which can retrieve the latest mirror list from the MirrorStatus page, filter the most up-to-date mirrors, sort them by speed and overwrite the file /etc/pacman.d/mirrorlist.
https://wiki.archlinux.org/index.php/reflector


###
#Updates, Maintenance, backup and system checks in a menu driven Bash script
https://aur.archlinux.org/packages/cylon/
###

Offline

#2988 2017-04-16 00:03:19

hashhar
Member
From: New Delhi, India
Registered: 2017-04-08
Posts: 18
Website

Re: Post your handy self made command line utilities

Just for your information  there is a package called reflector

Reflector
Reflector is a script which can retrieve the latest mirror list from the MirrorStatus page, filter the most up-to-date mirrors, sort them by speed and overwrite the file /etc/pacman.d/mirrorlist.
https://wiki.archlinux.org/index.php/reflector

Thanks for the link. I found reflector too. But I built this mainly as an excuse to get my hands dirty with some jq.

Also, please don't put this in a cron job. The server that generates the mirrorlist status is quite loaded I guess and we don't want that service to be taken away. I personally run this only when I am traveling or change network providers.

Offline

#2989 2017-04-19 22:49:07

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 308

Re: Post your handy self made command line utilities

I use pacaur, have more than one Arch machine at home, and have a slow internet connection so I created this program to sync Arch package and AUR updates between my machines. I use it every day and am quite happy with it so I have shared it in the AUR.

Offline

#2990 2017-04-20 07:35:51

Sachiko
Member
Registered: 2016-07-01
Posts: 12

Re: Post your handy self made command line utilities

While I know this next one is a bit indifferent for most as one usually uses just a normal xinitrc or a display manager, I don't. I like to make things to help myself.

wmchooser

Allows me to choose any of the listed window managers or desktop environments to use upon issuance of startx(which my xinitrc contains the command to execute the following script)

#!/bin/bash

session=$(zenity --width=228\
           --height=384\
           --list\
           --title "SelectWm"\
            --text "Select Window Manager/Desktop Environment"\
            --column ""\
            "2bwm"\
            "9wm"\
            "adwm"\
            "aewm"\
            "afterstep"\
            "alopex"\
            "antico"\
            "antiwm"\
            "awesome"\
            "barewm"\
            "blackbox"\
            "bspwm"\
            "bubbleswm"\
            "budgie"\
            "catwm"\
            "cinnamon"\
            "ctwm"\
            "cwm"\
            "deepin"\
            "dwin"\
            "dwm"\
            "echinus"\
            "ede"\
            "eggwm"\
            "enlightenment"\
            "etwm"\
            "evilwm"\
            "flatman"\
            "fluxbox"\
            "foowm"\
            "frankenwm"\
            "fvwm"\
            "glass"\
            "glass-wm"\
            "gnome"\
            "gnome-classic"\
            "goomwwm"\
            "heliwm"\
            "herbstluftwm"\
            "howm"\
            "i3wm"\
            "icewm"\
            "ion3"\
            "jbwm"\
            "jwm"\
            "karmen"\
            "kde"\
            "larswm"\
            "lumina"\
            "lxde"\
            "lxqt"\
            "lwm"\
            "mantiswm"\
            "mate"\
            "mcwm"\
            "mini"\
            "mlvwm"\
            "moksha"\
            "monsterwm"\
            "notion"\
            "olvwm"\
            "openbox"\
            "pantheon"\
            "pawm"\
            "pekwm"\
            "plwm"\
            "qtile"\
            "ratpoison"\
            "sawfish"\
            "spectrwm"\
            "steam"\
            "stumpwm"\
            "subtle"\
            "sugar"\
            "swm"\
            "tinywm"\
            "trinity"\
            "tritium"\
            "twm"\
            "ude"\
            "unity"\
            "velox"\
            "vtwm"\
            "vwm"\
            "waimea"\
            "windowchef"\
            "windwm"\
            "wingo"\
            "wmaker"\
            "wmfs"\
            "wmii"\
            "wmx"\
            "wm2"\
            "wtftw"\
            "wumwum"\
            "xdwm"\
            "xfce4"\
            "xmonad"\
            "yeahwm"\
                )


case $session in
    2bwm              ) exec 2bwm;;
    9wm               ) exec 9wm;;
    adwm              ) exec adwm;;
    aewm              ) exec aewm;;
    afterstep         ) exec afterstep;;
    alopex            ) exec alopex;;
    antico            ) exec antico;;
    antiwm            ) exec antiwm;;
    awesome           ) exec awesome;;
    barewm            ) exec barewm;;
    blackbox          ) exec blackbox;;
    bspwm             ) exec bspwm;;
    bubbleswm         ) exec bubbleswm;;
    budgie            ) exec budgie-desktop;;
    catwm             ) exec catwm;;
    cinnamon          ) exec cinnamon-session;;
    ctwm              ) exec ctwm;;
    cwm               ) exec cwm;;
    deepin            ) exec startdde;;
    dwin              ) exec dwin;;
    dwm               ) exec dwm;;
    echinus	      ) exec echinus;;
    ede               ) exec startede;;
    eggwm             ) exec eggwm;;
    enlightenment     ) exec enlightenment_start;;
    etwm              ) exec etwm;;
    evilwm            ) exec evilwm;;
    flatman           ) exec flatman;;
    fluxbox           ) exec startfluxbox;;
    foowm             ) exec foowm;;
    frankenwm         ) exec frankenwm;;
    fvwm              ) exec fvwm;;
    glass             ) exec glass;;
    glass-wm          ) exec glass-wm;;
    goomwwm           ) exec goomwwm;;
    gnome             ) exec gnome-session;;
    gnome-classic     ) exec gnome-session --session=gnome-classic;;
    heliwm            ) exec heliwm;;
    herbstluftwm      ) exec herbstluftwm;;
    howm              ) exec howm;;
    i3wm              ) exec i3;;
    ion3              ) exec ion3;;
    icewm             ) exec icewm-session;;
    jbwm              ) exec jbwm;;
    jwm               ) exec jwm;;
    karmen            ) exec karmen;;
    kde               ) exec startkde;;
    larswm            ) exec larswm;;
    lumina            ) exec start-lumina-desktop;;
    lxde	      ) exec lxsession;;
    lxqt              ) exec startlxqt;;
    lwm               ) exec lwm;;
    mantiswm          ) exec mantis;;
    matwm2            ) exec matwm2;;
    mate              ) exec mate-session;;
    mcwm              ) exec mcwm;;
    mini              ) exec mini;;
    mlvwm             ) exec mlvwm;;
    moksha            ) exec enlightenment_start;;
    monsterwm         ) exec monsterwm;;
    notion            ) exec notion;;
    olvwm             ) exec olvwm;;
    openbox           ) exec openbox-session;;
    pantheon          ) gsettings-data-convert &
                        xdg-user-dirs-gtk-update &
                        /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
                        /usr/lib/gnome-settings-daemon/gnome-settings-daemon &
                        /usr/lib/gnome-user-share/gnome-user-share &
                        eval $(gnome-keyring-daemon --start --components=pkcs11,secrets,ssh,gpg)
                        export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK
                        exec cerbere;;
    pawm              ) exec pawm;;
    pekwm             ) exec pekwm;;
    plwm              ) exec plwm;;
    qtile             ) exec qtile;;
    ratpoison         ) exec ratpoison;;
    sawfish           ) exec sawfish;;
    spectrwm          ) exec spectrwm;;
    steam	      ) exec steam-de;;
    stumpwm           ) exec stumpwm;;
    subtle            ) exec subtle;;
    sugar             ) exec sugar;;
    swm               ) exec swm;;
    tinywm            ) exec tinywm;;
    trinity           ) exec starttde;;
    tritium           ) exec tritium;;
    twm               ) exec twm;;
    ude		      ) exec uwm;;
    unity             ) exec unity;;
    velox             ) exec velox;;
    vtwm              ) exec vtwm;;
    vwm               ) exec vwm;;
    waimea            ) exec waimea;;
    windowchef        ) exec windowchef;;
    windwm	      ) exec wind;;
    wingo             ) exec wingo;;
    wmaker            ) exec wmaker;;
    wmfs              ) exec wmfs;;
    wmii              ) exec wmii;;
    wmx               ) exec wmx;;
    wm2               ) exec wm2;;
    wtftw             ) exec wtftw;;
    wumwum            ) exec wumwum;;
    xdwm              ) exec xdwm;;
    xfce4             ) exec startxfce4;;
    xmonad            ) exec xmonad;;
    yeahwm            ) exec yeahwm;;
esac

Yes, I know it's a mess to have every window manager and desktop environment listed all the time, however, I am currently unsure of how to make entries in a zenity script conditional or if it's even possible, but this was just something I did out of boredom and as an exercise on the structure and usage of the case function.

Last edited by Sachiko (2017-04-20 07:59:30)

Offline

#2991 2017-04-20 11:03:47

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 16,010
Website

Re: Post your handy self made command line utilities

You could trim that script down to about half it's length while also making it much easier to revise/add-to by listing each wm only once in an associative array rather than listing each in both the zenity command and the case statement:

declare -A wms=(
   # ...
   [xdwm]="exec xdwm"
   [xfce4]="exec startxfce4"
   [xmonad]="exec xmonad"
   [yeahwm]="exec yeahwm"
)

session=$(zenity --width=228 --height=384 --list --title "SelectWm" \
      --text "Select Window Manager/Desktop Environment" --column "" \
      $(printf "\"%s\" " "${!wms[@]}"))

${wms[$session]}

You can also then simply comment or uncomment lines of the associative array to include/exclude some of the options.

Offline

#2992 2017-04-20 11:16:30

Awebb
Member
Registered: 2010-05-06
Posts: 4,853

Re: Post your handy self made command line utilities

This is why we always split data from logic. The names of those desktop environments are data, they don't belong into the script, they belong into a config file or in a routine, that checks for existing desktops. Display managers check for existing desktop files in a specific path. Your script doesn't catch errors. Do you always have those options installed?

Another pet peeve of mine: You store the click's result in a variable and read that variable later. I recommend you familiarize yourself with procedures/functions in bash to avoid the otherwise inevitable bad style you'll have to get rid of later, should you decide to step up your game at some point.

Offline

#2993 2017-04-20 13:34:43

Sachiko
Member
Registered: 2016-07-01
Posts: 12

Re: Post your handy self made command line utilities

Trilby wrote:

You could trim that script down to about half it's length while also making it much easier to revise/add-to by listing each wm only once in an associative array rather than listing each in both the zenity command and the case statement:

...

You can also then simply comment or uncomment lines of the associative array to include/exclude some of the options.

I appreciate the nudge in a more convenient direction as I took what you said and broke it down like Awebb said into data(wm choices, stored as the associative array in ~/.wmrc and sourced in the main script) and logic(the zenity portion).

I was looking into using the .desktop files located in /usr/share/xsessions to do a better job of listing and running the window managers and desktop environments as to minimize the tediousness of this. However, what I and possibly others have noticed is not all window managers add those files which puts that idea to a grinding halt.

EDIT:


wmchooser

#!/bin/bash

source $HOME/.wmrc

session=$(zenity --width=228 --height=384 --list --title "SelectWm" \
      --text "Select Window Manager/Desktop Environment" --column "" \
      $(printf "%s" "${!wms[*]}")
      )

${wms[$session]}

.wmrc

#!/bin/bash

typeset -A wms=(
#            [2bwm]="exec 2bwm"
#            [9wm]="exec 9wm"
#            [adwm]="exec adwm"
#            [aewm]="exec aewm"
#            [afterstep]="exec afterstep"
#            [alopex]="exec alopex"
#            [antico]="exec antico"
#            [antiwm]="exec antiwm"
             [awesome]="exec awesome"
#            [barewm]="exec barewm"
#            [blackbox]="exec blackbox"
#            [bspwm]="exec bspwm"
#            [bubbleswm]="exec bubbleswm"
#            [budgie]="exec budgie-desktop"
#            [catwm]="exec catwm"
#            [cinnamon]="exec cinnamon-session"
#            [ctwm]="exec ctwm"
#            [cwm]="exec cwm"
#            [deepin]="exec startdde"
#            [dwin]="exec dwin"
             [dwm]="exec dwm"
#            [echinus]="exec echinus"
#            [ede]="exec ede"
#            [eggwm]="exec eggwm"
#            [enlightenment]="exec enlightenment_start"
#            [etwm]="exec etwm"
#            [evilwm]="exec evilwm"
#            [flatman]="exec flatman"
#            [fluxbox]="exec startfluxbox"
#            [foowm]="exec foowm"
#            [frankenwm]="exec frankenwm"
#            [fvwm]="exec fvwm"
#            [glass]="exec glass"
#            [glass-wm]="exec glass-wm"
#            [gnome]="exec gnome-session"
#            [gnome-classic]="exec gnome-session --session=gnome-classic"
#            [goomwwm]="exec goomwwm"
#            [heliwm]="exec heliwm"
#            [herbstluftwm]="exec herbstluftwm"
#            [howm]="exec howm"
#            [i3wm]="exec i3"
#            [icewm]="exec icewm"
#            [ion3]="exec ion3"
#            [jbwm]="exec jbwm"
#            [jwm]="exec jwm"
#            [karmen]="exec karmen"
#            [kde]="exec startkde"
#            [larswm]="exec larswm"
#            [lumina]="exec start-lumina-desktop"
#            [lxde]="exec lxsession"
#            [lxqt]="exec startlxqt"
#            [lwm]="exec lwm"
#            [mantiswm]="exec mantis"
#            [mate]="exec mate-session"
#            [mcwm]="exec mcwm"
#            [mini]="exec mini"
#            [mlvwm]="exec mlvwm"
#            [moksha]="exec enlightenment_start"
#            [monsterwm]="exec monsterwm"
#            [notion]="exec notion"
#            [olvwm]="exec olvwm"
#            [openbox]="exec openbox-session"
#            [pantheon]="exec cerbere"
#            [pawm]="exec pawm"
#            [pekwm]="exec pekwm"
#            [plwm]="exec plwm"
#            [qtile]="exec qtile"
#            [ratpoison]="exec ratpoison"
#            [sawfish]="exec sawfish"
#            [spectrwm]="exec spectrwm"
#            [steam]="exec steam-de"
#            [stumpwm]="exec stumpwm"
#            [subtle]="exec subtle"
#            [sugar]="exec sugar"
#            [swm]="exec swm"
#            [tinywm]="exec tinywm"
#            [trinity]="exec starttde"
#            [tritium]="exec trinity"
#            [twm]="exec twm"
#            [ude]="exec uwm"
#            [unity]="exec unity"
#            [velox]="exec velox"
#            [vtwm]="exec vtwm"
#            [vwm]="exec vwm"
#            [waimea]="exec waimea"
#            [windowchef]="exec windowchef"
#            [windwm]="exec wind"
#            [wingo]="exec wingo"
#            [wmaker]="exec wmaker"
#            [wmfs]="exec wmfs"
#            [wmii]="exec wmii"
#            [wmx]="exec wmx"
#            [wm2]="exec wm2"
#            [wtftw]="exec wtftw"
#            [wumwum]="exec wumwum"
#            [xdwm]="exec xdwm"
#            [xfce4]="exec startxfce4"
#            [xmonad]="exec xmonad"
#            [yeahwm]="exec yeahwm"
	)

And the ones I personally have installed atm are uncommented in the above .wmrc

Last edited by Sachiko (2017-04-21 06:07:06)

Offline

Board footer

Powered by FluxBB