diff --git a/README.md b/README.md index ff8a6dc..c13701d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/bin/music_terminal b/bin/music_terminal index 41bd04d..f0839d2 100755 --- a/bin/music_terminal +++ b/bin/music_terminal @@ -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