![]() Once that was all working, I spent a while tidying up some of the code and adding some comments. I experimented a little with the tmux functionality and added options to list attached sessions as well as to be able to terminate any running tmux session. I soon managed to put together a script that was broadly similar to the Mac-Mux plugin script, but this one allowed me to start specifying my own custom tmux sessions with their own names - so I would know what the sessions were intended to do generally open a tmux session, start a particular Jekyll web server, and immediately detach the session. That was my first step down the rabbit hole. I know at least enough shell scripting to be a danger to self and others and so I figured I’d take a shot at building something myself. I found the Mac-Mux plugin by plugin confirmed to me that what I wanted to do was possible, but I wanted something with a bit more functionality. With the utility in place, I initially took a look around the existing plugins, in particular, I was looking for something that might let me manage terminal sessions through tmux. There is lots of detail on SwiftBar’s GitHub repo about this. ![]() So what is SwiftBar? Well, it’s an app that will run scripts on a periodic basis that can build a custom menu bar entry to display content and options which can in turn trigger other scripted actions. I opted to take SwiftBar as my utility of choice, but I strongly suspect that my little plugin will work with Xbar and other similarly rooted utility apps too. SwiftBarĪfter a little look at Xbar, the reboot of the original bitbar, I noted that SwiftBar seemed to be in active development and was a little more appealing to me. Until now that is, as I realised I might just be able to create my own solution for my out of sight, but still accessible local web server management. I’d come across this and similar apps many times before, but never had a reason to use them. Recently I was reading a post that made reference to “bitbar” an application that allowed you to put text and menu items into your menu bar based on a script. A menu bar terminal app kind of felt like what I was after. Unless I am actively working on something where I need to check what the web server is doing, I always wanted it to be out of the way, ideally tucked under some icon on the Mac’s menu bar. ![]() Serving the sites locally involves me running terminal sessions that run the web server. So, I would say it’s a pretty good deal.Since I began using Jekyll as the static site generator for my web sites, I have been hosting locally while I modify structural changes and write the content prior to publishing. The paid version will give you a lifetime license. XYplorer comes as a free and paid version. You can even customize fonts and colors just as you want. Reordering them how you will make it too easy to handle. The tabs will let you preset your favorite options to get easy access. You might see this function in Internet browsers. ![]() And these will make your file hunt easier than ever. It also has a massive amount of features. You can efficiently use it on any PC without installing, and it’s the best part. So, you can carry it around with you not worrying about another computer. XYplorer might be the perfect alternative for you, as it’s the best one on the market right now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |