corrected urxvt example for music_terminal

This commit is contained in:
elenapan 2019-04-01 17:34:43 +03:00
parent cddf21f29c
commit 35e050e82f
2 changed files with 6 additions and 2 deletions

View file

@ -146,8 +146,8 @@ I use `super` AKA Windows key as my main modifier.
termite --class music --exec ncmpcpp
# st / xst
st -c music -e ncmpcpp
# urxvt (untested but should work)
urxvt -t "Music Terminal" -e ncmpcpp
# urxvt
urxvt -T "Music Terminal" -e ncmpcpp
```
+ Of course you can set your own custom titlebars for any application as long as you know its class, name, instance, whatever and then creating a custom titlebar setup in the existing if-else block in `titlebars.lua`. For example `if c.class == "Thunar" ...`
+ You can find details such as class, name, and others for any client with the `xprop` utility.

View file

@ -1,3 +1,4 @@
#!/bin/bash
# Launch ncmpcpp in a terminal with class "music" or with name "Music Terminal"
@ -6,3 +7,6 @@ xst -c music -e ncmpcpp -c ~/.config/ncmpcpp/config_fancy
# Termite
# termite --class music --exec ncmpcpp
# Urxvt
# urxvt -T "Music Terminal" -e ncmpcpp -c ~/.config/ncmpcpp/config_fancy