2023-06-17 08:04:51 What PS1 does everyone use? I've been using '$ ' for a while now. 2023-06-17 09:03:43 what else would you use? 2023-06-17 09:04:13 someone recommended putting my battery level there when I was running my laptop with no GUI 2023-06-17 09:10:42 [[ -z "$SSH_CLIENT" ]] && PS1='$ ' 2023-06-17 09:40:36 I changed the color so I know if I'm ssh'd in 2023-06-17 09:53:25 I disable colors at the xterm level 2023-06-17 10:40:19 I use $ as well - green. 2023-06-17 10:40:21 [kipingram@lenovo]$ echo $PS1 2023-06-17 10:40:23 \[$GREEN\][\u@\h]$\[$RESET\] 2023-06-17 10:40:49 My ok prompt is green as well. 2023-06-17 10:47:20 MrMobius: My server has 'b$ ' as the prompt (as the name of the server starts with a B) 2023-06-17 10:47:30 I tend to do that for things I usually access remotely 2023-06-17 10:48:25 I usually just use the screen or tmux status line to tell me what system I'm connected to. 2023-06-17 10:48:43 For remote systems, I generally want to just stay logged in, so I use mosh+screen/tmux. 2023-06-17 10:49:12 the tmux status line also got itself turned off 2023-06-17 10:49:43 It's quite ugly now that I think about it. I don't use tmux much other than for my IRC client 2023-06-17 10:50:00 I've not turned it off. I used to use screen, can't remember why I switched anymore 2023-06-17 11:08:02 I prefer the visual appearance of the screen status line. Of course I know I can change them with either package, but I just haven't bothered to change tmux, and I have a screen status config I like that I just copy around. 2023-06-17 11:09:19 I don't like the way screen renames local windows every time I change directories - I turn that off in one of my profile files. 2023-06-17 11:09:31 I want to name them myself, and have them stay that way. 2023-06-17 11:38:33 It's easy to forget if you started ssh then TMUX or TMUX then ssh since they look identical 2023-06-17 11:38:43 Which is why I like the different colors 2023-06-17 11:39:24 I installed a bunch of octopi packages on my server accidentally the other day when I got things mixed up 2023-06-17 11:39:51 I should say TMUX looks identical to ssh then TMUX 2023-06-17 11:49:18 Yeah, on a couple of occasions I've bumped against that kind of thing. 2023-06-17 11:57:09 Also, I've never managed to get good at "screen within screen" or "tmux within tmux." I know there's a way to do that successfully, but I've never honed the skill. Instead I do screen within tmux or tmux within screen. 2023-06-17 11:57:22 And that's a rare need for me anyway. 2023-06-17 14:36:33 veltas, MrMobius: pretty late response, but that was me suggesting battery level 2023-06-17 14:40:32 i use: export PS1="\$(check-battery)% \u@\h:\w\$ " 2023-06-17 14:41:33 check_battery contains: echo $(( $(cat /sys/class/power_supply/BAT0/charge_now) / ( $(cat /sys/class/power_supply/BAT0/charge_full) / 100 ) )) 2023-06-17 14:44:49 KipIngram: it's tedious at first, but you can get used to Ctrl+B Ctrl+B to target the nested tmux session, another option is to change the inner tmux hotkey to something different to what triggers the outer tmux session 2023-06-17 14:51:56 that prompt exists because i dislike desktop environments in general. i have fluxbox as my window manager configured to be rather bare - nothing besides the toolbar and 8 workspaces. but i always have a browser and multiple instances of xterm running. so the terminal prompt is the most convenient place for me to see some indication of the current charge level 2023-06-17 15:52:04 unjust: ah ok. thanks! 2023-06-17 20:45:39 I have a little window down in the bottom left corner of my console workspace that shows me current consumption, current charge / charge capacity, and percent charged. It also shows fan rpm and my top five processes ranked by cpu consumption. 2023-06-17 20:45:48 It's about 2"x1.5" 2023-06-17 20:46:54 I decided to put it there when I took a look how my screen was already sliced up - it was a convenient size there for something like that. My reminder system uses a similar height window just to the right.