siduck / st Goto Github PK
View Code? Open in Web Editor NEWsnazzy terminal (suckless + beautiful)
License: MIT License
snazzy terminal (suckless + beautiful)
License: MIT License
I'm pretty sure you know there's output loss in st when its height is reduced and increased back again. I can see that your build doesn't have that issue. Could you please point me to a patch that does that.
I was facing some issue like i'm make some project using vue-cli (vue create app) the terminal was going force closed/crashed, its also happened on gatsby too. here some preview
when i try to use it with mpv . the swallowing patch is not working. even not for emacs, sxiv too. when i try to open it opening different window
Hi. I want to know something. ST and ueberzug don't work? i'm trying to get neofetch + ueberzug
(to show desktop img) and don't working.
Hello there, siduck. I am arztareef, a great admirer of your work (both NvChad and chadwm). I have been using st as my terminal emulator since I started linux and just now I have found this issue. The icons do not get fully loaded in when i open up nvim tree using nvchad. All the other other terminal emulator like alacritty and kitty works but only this build of st can fully render the icons. I would like to know what you did to accomplish this.
Hulloa there, siduck! I have figured out another issue with my patch of st terminal (https://codeberg.org/st). There is seem to have some awkward gaps around my patch of st while using neovim and other TUI(s.) utility. I am dropping a picture depicting the problem. I have tried other forks of ST Terminal and it appears that they also go through the same issue except _yours._I would really appreciate it how you went around and fixed this.
Hello there, siduck! could i have a copy of your column patch?
Thanks for the great build of st. The readme says to check out the sixel branch for support on sixel graphics, but I don't see the branch. I do see activity as recently as April 18th. Is this an error or has the branch been removed and readme just needs updating?
just setting up my new T400, trying to install st, that works. but when i wanna launch it, i get this error:
XOpenIM failed. Could not open input device.
Please, give me a name of this patch - "patch_column ( doesnt cut text while resizing)"
Or path in https://st.suckless.org/patches/
Best regards.
Hiii, just trying to use lsix on st, and I've realized that sxel isn't in device atributes. Could you possibly add it? Thanks
compositor: river (master)
OS: alpine linux
I am investigating this issue and will attempt to fix it.
Initially I thought it could've been an issue with my compositor, but the "close" action is done directly by wlroots/XWayland. And standard st doesn't have this issue. This doesn't discard the possibility that wlroots might be at fault though.
I noticed that this happens after a call to sigchld
, which makes sense since I just signalled for the process to close the window. But after going through sigchld
, the program gets stuck at exit
, with some calls related to a pthread mutex? Not sure yet what it is.
If I figure out and fix it, I will do a PR
timer 15s
Thank you for the project!
I installed it recently and noticed that when using the -n (name) flag, terminal transparency stops working.
What could be the problem?
I get this error: '#D9E0EE': unknown terminal type.
Also weird stuff happens with my input (can't remove letters, etc..)
This is my xressources:
Xft.antialias: 1
Xft.hinting: 1
Xft.autohint: 0
Xft.hintstyle: hintslight
Xft.rgba: rgb
Xft.lcdfilter: lcddefault
! window padding
st.borderpx: 20
!- 0.1 to 0.9 = transparency
st.alpha: 1.0
*background: #1E1E2E
*foreground: #D9E0EE
! Gray
*color0: #6E6C7E
*color8: #988BA2
! Red
*color1: #F28FAD
*color9: #F28FAD
! Green
*color2: #ABE9B3
*color10: #ABE9B3
! Yellow
*color3: #FAE3B0
*color11: #FAE3B0
! Blue
*color4: #96CDFB
*color12: #96CDFB
! Mauve
*color5: #DDB6F2
*color13: #DDB6F2
! Pink
*color6: #F5C2E7
*color14: #F5C2E7
! Whites
*color7: #C3BAC6
*color15: #D9E0EE
hey siduck I was wondering how did u apply ligatures patch. Did u apply ligatures patch before or after boxdraw patch. Then what is the name of the patch. There is two ligatures patch ligatures-alpha and ligatures-boxdraw. Which one did u use
In the video you can see that I am using alacritty and starship prompt. Alacritty renders emojis correctly. But st cannot render the emojis and crashes on my face. I have jet brains mono nerd font also installed and also used default xresoirces but it didnt work
~/.xsession-error
output:
X Error of failed request: RenderBadPicture (invalid Picture parameter)
Major opcode of failed request: 140 (RENDER)
Minor opcode of failed request: 8 (RenderComposite)
Picture id in failed request: 0xe743
Serial number of failed request: 61413
Current serial number in output stream: 61595
libxft-bgra-git is installed.
When I press ctrl+backspace I expect the last word to get deleted but the last character gets.
Note: Generally these kind of issues relate to terminal emulator mappings.
I had the same issue when using kitty & alacritty.
map ctrl+backspace send_text all \x17
Hello you have a nice build here!
I just wanna ask that how did you make "glyph wide support" to work with boxdraw patch?
I can use 3rd patch from here https://st.suckless.org/patches/glyph_wide_support/
But it has some weird glyph blinking when I edit the file or move my cursor over the glyph: LukeSmithxyz/st#349
I try to add their fix but it seems to fail if I have boxdraw installed.
With your build glyphs are working without blinking so can you link the patch that you are using. The link in your credits give me "404"
I manipulate the terminal padding whenever I enter Neovim. Which requires a xrdb-merge ~/.Xresources
Xft.antialias: 1
Xft.hinting: 1
Xft.autohint: 0
Xft.hintstyle: hintslight
Xft.rgba: rgb
Xft.lcdfilter: lcddefault
! window padding
st.borderpx: 20
!-- values between 0.1 - 1.0 --!
st.alpha: 1.0
#define fonts JetBrainsMono Nerd Font :pixelsize=15:antialias=true:autohint=true, \
JoyPixels:style:Regular, \
! Symbola:style:Regular, \
! Noto Color Emoji, \
*.font: fonts
#define base00 #282828
#define base01 #3c3836
#define base02 #504945
#define base03 #665c54
#define base04 #bdae93
#define base05 #d5c4a1
#define base06 #ebdbb2
#define base07 #fbf1c7
#define base08 #fb4934
#define base09 #fe8019
#define base0A #fabd2f
#define base0B #b8bb26
#define base0C #8ec07c
#define base0D #83a598
#define base0E #d3869b
#define base0F #d65d0e
*.foreground: base05
#ifdef background_opacity
*.background: [background_opacity]base00
#else
*.background: base00
#endif
*.cursorColor: base05
*color0: base00
*color1: base08
*color2: base0B
*color3: base0A
*color4: base0D
*color5: base0E
*color6: base0C
*color7: base05
*color8: base03
*color9: base08
*color10: base0B
*color11: base0A
*color12: base0D
*color13: base0E
*color14: base0C
*color15: base07
! just remove this if you dont use my tabbed
tabbed.selfgcolor: #d6d8eb
tabbed.selbgcolor: #1e222a
tabbed.normfgcolor: #9294a8
tabbed.normbgcolor: #282c34
Hey I added some icon for typefile in neovim config but it doesn't show correct way :( Help me !
Hello,
FYI, You will need the following dependencies to build under Debian (Ubuntu is probably similar):
apt install build-essential libxft-dev libharfbuzz-dev
Hello!
I'm on arch and today gd was updated to 2.3.3-7. Now, when opening st, it errors out st: error while loading shared libraries: libavif.so.16: cannot open shared object file: No such file or directory
.
You can share your xresources to theme st?
Like in the README.md screenshots
First thanks for this awesome patchset, it is my favorite one. I'm not sure this is the best place to ask, but my C experience is a bit limited and I'm not sure exactly how to extend st
.
It's really cool to be able to hot-reload the terminal colors for every emulator on a machine. I would like to be able to have the same effect but for a terminal in a ssh session to use the .Xresources
on the remote machine.
In other words, You could have a terminal open running a local shell that has the color scheme of the local machine, but then another terminal open simultaneously that is ssh'd into a remote box and has the color scheme of that remote machine.
Tell me if I'm wrong but I don't think that's currently possible with any patches I've found to st
.
My use case is I always forget I'm ssh'd into a machine and accidentally run a command intended for my local machine on the remote box. I think everyone heard of the gitlab database deletion case.
I think this would really be a feature that is not only very visually appealing, but would also be extremely practical.
I want to use this on windows
Can I??
How on earth do you copy paste, or how can i make it so that I can. I also cannot figure out how to change the font.
I am new to dwm and st so sorry if I am being a noob.
Hi! I'm trying to add "xrdb merge ~/.cache/wal/colors.Xresources && kill -USR1 $(pidof st)" to my bspwmrc, bspwm just killing all st windows instead of reloading colors from xresources file.
Hi Siduck76,
I am user of your nvim build, and through that saw your dwm and now your st
fork. I previously had LukeSmith st build, but had always issues with emojis shown. So thanks first of all for the amazing colors and beautifully looking builds.
I am using your default settings. At the beginning I was having spacing issues, now it renders properly but emojis dont.
OS:
Ubuntu 18.04
fc-list | grep JetBrains
/home/david/.local/share/fonts/JetBrains Mono Medium Nerd Font Complete Mono.ttf: JetBrainsMono Nerd Font Mono:style=Medium,Regular
/home/david/.local/share/fonts/JetBrains Mono Medium Nerd Font Complete.ttf: JetBrainsMono Nerd Font:style=Medium,Regular
/home/david/.local/share/fonts/JetBrains Mono Regular Nerd Font Complete.ttf: JetBrainsMono Nerd Font:style=Regular
/home/david/.local/share/fonts/JetBrains Mono Regular Nerd Font Complete Mono.ttf: JetBrainsMono Nerd Font Mono:style=Regular
fc-list | grep Iosevka
/home/david/.local/share/fonts/Iosevka Medium Nerd Font Complete Mono.ttf: Iosevka,Iosevka Nerd Font Mono:style=Medium,Regular
/home/david/.local/share/fonts/Iosevka Nerd Font Complete.ttf: Iosevka,Iosevka Nerd Font:style=Regular,Book
/home/david/.local/share/fonts/Iosevka Medium Nerd Font Complete.ttf: Iosevka,Iosevka Nerd Font:style=Medium,Regular/home
Also, I have installed the libraries mentioned in your README as well. I also used xrdb merge xresources
and still no go. Could you help me sort out what the problem could be?
nb: the emoji does render properly in gnome-terminal or any other terminal not being st
. I know in ARCH i could use the ttf fonts but yeah I am at a lost now. Thanks!
What should be considered the full name: "Suckless terminal" or "Snazzy terminal"? Each of these are presented on the main page.
Self explanatory, the images in the README.md
are invalid links. Judging by the url, it looks like the original repository containing the images has been deleted or it has been made private.
Hi. This is less an issue and more a question about a feature of your st build.
In a stock st build with the font set to iosevka (the same configuration as in your build) I find that wide icons are truncated when there's a color change.
# Truncated
echo -e '\e[0;31m\e[0m buddy'
# Not truncated
echo -e '\e[0;31m \e[0m buddy'
Now there is a space before the escape sequence in the second command which is why the glyph isn't truncated in it but otherwise st seems to see the change in color as an indication the some non-space character follows and then cuts off the symbol.
However in your configuration this doesn't happen. At the moment I'm going through the difffering patches trying to find out which one gets this but I've also noticed some patches of unknown origin (like sixel
). I'd appreciate if you could point out the relevent commits or help whatsoever.
Greetings!
It seems you removed the MIT licence (485b01e) from this code you forked from Luke Smith (who in turn forked it from suckless). This is in violation of the licence. The licence itself states the following:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
By removing the licence, you are violating this. While I of course cannot force you, I suggest you bring it back as I see no reason to not keep it here.
I'm on void linux, by copying the dependencies you listed I got fatal error: gd.h: No such file or directory
at compile time.
After installing gd-devel
it compiles flawlessly, you can add it.
Thank you, I appreciate your efforts
The full error log
X Error of failed request: BadLength (poly request too large or internal Xlib length error)
Major opcode of failed request: 139 (RENDER)
Minor opcode of failed request: 20 (RenderAddGlyphs)
Serial number of failed request: 24458
Current serial number in output stream: 24479
The emulator closes and ssh session terminates.
OS: Ubuntu 20.04.5 LTS x86_64
Kernel: 5.15.0-46-generic
Shell: zsh 5.8
This error occurs when running sudo make install
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.