System/web/Linux developer

  • 0 Posts
  • 16 Comments
Joined 2 years ago
cake
Cake day: July 15th, 2023

help-circle

  • For me is the lack of virtual displays is Wayland.

    I’m using a 49" monitor (with i3) and split it into virtual monitors/displays. For some tasks two displays are good, for others three, and all doesn’t need to be the same size.

    The reason for not using i3 splits is that many programs have fullscreen functions that I often use.

    Watching a movie is one example, where I have a script that automatically calculate the optimal width without borders and gives me an extra virtual display beside with whatever’s left.






  • Exactly this. I am a very social person when among people, but pay a price for it afterwards, as I’m drained of energy.

    Introverts gains energy by being by them selves. Extroverts needs to be with other persons to gain energy,

    That said, most people are not neccessarily completely one or the other.

    I understand where the misconception comes from though. Seems likely that being introvert often leads to not be very social since you’re “punished” for it by your own mind.









  • As long as /bin/sh isn’t pointing to zsh, you haven’t messed anything up. A lot of public scripts wouldn’t expect to be run under zsh.

    If you write your own scripts, I’d say to use zsh, but start it with #/bin/zsh (or whatever resolves to zsh) to be explicit about the fact that it is designed for zsh and nothing else. Most scripts written aren’t going to be distributed to hundred of thousands of systems, but at most used in a handful of systems. No point in not enjoying some things zsh does better in scripts.

    A lot of systems have other dependencies as well, and as long as a system which has scripts in it is specifing zsh along with other dependencies, I wouldn’t see the problem. zsh doesn’t take up much space or introduce other problems just by being installed.

    As for the root shell, you can put Defaults env_keep += HOME in your sudo configuration. That will have sudo -s run your usual zsh with its usual configuration for interactive, daily use. Be aware of any config that shouldn’t be run as root.

    sudo -i will still run the shell root is assigned in /etc/passwd, and everything run as root would function ar expected.


  • st from suckless all the way. Used it a couple of years now in conjunction with i3. I’m spawning a lot of terminals, doing a few commands and closing them often, so starting quick is a must.

    Wrote a small patch that allows me to copy current directory from a terminal instance to primary selection with a keybinding. That allows me to quickly navigate to whatever directory that would be in another terminal or application.