My favorite i3wm config | Linux for Newbs 3
HTML-код
- Опубликовано: 8 июл 2024
- To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/typecraft . You’ll also get 20% off an annual premium subscription.
*This video was sponsored by Brilliant*
X: / typecraft_dev
dotfiles: github.com/typecraft-dev/dotf...
In this video, we're going to configure our i3 configuration to look amazing. Our configuration out of the box for i3wm is not that great, but with a few packages we can make it look AWESOME. Let's get into it. Linux with i3wm is powerful and with the right configuration it can be amazing.
Chapters:
0:00 - intro
2:05 - lets make our font bigger
3:01 - how to refresh our config
3:15 - installing yay - an AUR helper
6:16 - nerdfonts!
7:30 - today's sponsor - Brilliant
8:40 - picom - an X11 compositor
11:46 - configuring alacritty with catppuccin
13:06 - polybar - an amazing and easy to use status bar
18:21 - a nice desktop background
20:31 - Rofi as an app launcher and switcher
24:54 - vim motions for windows, AND catppuccin colors in i3 Наука
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/typecraft . You’ll also get 20% off an annual premium subscription.
RICEing comes from the car world where you would modify your Honda Civic. It stands for Race Inspired Cosmetic Enhancements. It's funny how it still applies on Linux 😂
so funny, I never found that reference. That makes a TON of sense though. I live my life one quarter mile at a time
I was wondering! I have friends in the car world who used the term.
Linux definitely has some parallels, including the idea of a project car 😂
@@cthecheese1620 oh absolutely!
Hot Wok!
Also ricing was used for people who custom compiled everything.
Current use of it for theming is IMO not really ricing.
Make me faster not handsome like the prime gen, focus needs to be on speed
something I recently learnt was that you can do "sudo !!" to run the last command with sudo, super helpful if you forget to start a command like pacman with sudo
Really useful! In fish, alt + s has the same effect (sudo !! doesn't work there)
GCC and -O99 -funroll-froot-loops flags all day!
another tip sudo !12
will execute the 12th command in your history
There a plugin that does the same with double escape in Oh My Zsh
"su" + up arrow is faster if you have substring search turned on.
@typecraft_dev I love everything about this channel. Your humor, detailed walkthrus and explanations while moving at a nice pace, and even your intro. I can't get enough!
You are literally the only guy I keep checking for new uploads, last time it was the Neovim config and this time Arch with i3 btw.
Thanks.... nerd !
to be honest i was waiting for this one for many days dude , thank for helping me to rice my linux , thankyouuuuu
Please put an epilepsy warning or something before you switch between the terminal and Firefox really fast, thank you and I am loving the series so far!
thank you for breaking things down step by step and explaining the WHY behind each step too!
oh god, I spent all my day trying awesomewm, then i3, then hyprland, and back to i3.
then I spent a lot of time trying to figure out the screen tearing, found picom, and tried many bar packages and configs.
and now, when I'm about to sleep, I found that video explaining everything 😅
awesome content man. thank you so much
Normally, I don't expect to watch a video, but I was waiting for this one to watch. Thanks, man!
Hope you enjoyed it!
I think this channel is just the best we have about Linux and Vim stuff right now. Very good job, thank you!
Wow, thanks!
Bet! I'm totally doing thing after my semester ends, nice tutorial!
Great timing!
I used to be a big i3wm guy when I started my linux journey, but I got lazy and bounced back to Gnome.
These days I've been craving a tiling window manager, and just yesterday I installed i3wm, awesome and hyprland
Gonna try this config for my i3. cheers
I wish I had a resource like this when I started using i3; LOVED the video; great job!
Thanks!
Thanks so much for this video series. Kinda new to Linux and was struggling to set up qtile. Your video made using tilling wms intuitive. You made i3 soooo easy to set up. I didn't feel like I was copying code, I felt like I knew what I was doing. Great!
Love your content! As always
Oh yeh! I love i3. It's my only wm. Great video.
Episode 3 finally, let's go!
You have some of the best tutorials around. Hoping you get an itch to jump over to nix soon.😊
Totally recommended.
Great video! I used the exact same programs in my configuration😁
Awesome!
For those wondering, this setup on X11 (Xorg) of i3 : polybar : rofi == hyprland : waybar : wofi on Wayland. Very good video for folks to dive in more to the world of tiling window managers.
sway* not hyprland
@@bhavyakukkar No.
@@MrSnivvel i mean you said == and sway is literally == i3
@@bhavyakukkar While you're correct that Sway is practically a direct copy of i3 for Wayland; Hyprland is the evolution of i3 just like Wayland is the evolution of X11.
@@MrSnivvel i mean if we're being sentimental about it, sure
I don't know why but using the "exec_always --no-startup-id ~/.config/polybar/launch_polybar.sh" script works better than "exec_always --no-startup-id polybar". After log in most times polybar doesn't start using "exec_always --no-startup-id polybar" in ~/.config/i3/config. 👍
for me the scrip doesn't work
@@AlexGhoro Did you refer the correct path to the script. I believe that maybe there is typo or a misconfiguration with all my respect, because the script works like a charm!
thank you so much! i was struggling with this
I like your sense of humor
I like you :)
these videos are actually what is getting to plan to switch from ubuntu to arch/i3. havent done that yet because it always kinda scared me but these videos make it super approachable
I'm currently using ubuntu (my first distro) and the tuturials are 100% compatible :D apt installing the heck out of those videos :D
@@PedroMorenoSantanna hey you had any difficulty follwoing the steps in ubuntu? I want to give a shot at the tutorial but I use mint thats why I am asking
@@surajkewat1253 None whatsoever. All the apps mentioned so far are covered in apt.
Let’go Nerds!! 🤓😎👾
LETSGOOO
Thanks Nerds
thanks nerd!
rather than using the feh i would suggest using the nitrogen and just put exec nitrogen --restore in i3 config it will do it's job. it's much simpler to use.
oh that is a good idea! thanks!
Both feh and nitrogen are bloat (jk). You can set wallpaper with ImageMagick
hi good sir, you earned a sub , just wanna thanks and let you know that I will be waiting for more videos in this playlist
Awesome thanks!
very nice video, I like it!
Great vid!
I've been following this channel ever since that first video about neovim configurations and I really love where this is going. Thank you Chris, and please keep up the awesome work!
another banger
BTW, I use FreeBSD! 😉😉 BTW, i3wm is also available for BSD OSes!
For the people that have an AMD gpu, you guys can try out sway, it's basically i3 but feel more modern
Does i3 not play nice with AMD gpus?
I know that sway is just a drop in replacement for i3 that uses Wayland. Does Wayland have better AMD support?
@@LightningMcCream Not really, it's just that nvidia really sucks on sway. AMD work great out of the box so that's less of a headache.
@@xpertdbx to quote the legend himself "Hey nvidia. Fuck you"
What about nvidia gpu users?
@@deven_gaming Just keep using x11 atm, especially for titling window manager
if you guys have a higher refresh rate monitor (e.g 75hz, 144hz, 165hz, etc) and resolution, don't forget to install and use xrandr, put that on your i3 config as well.
Great Series! I have just switch to im3 from watching it, but in Debian. I noticed that i3 already comes with a line for rofi (that is commented). Also I did not find the need for picom (or my eyes are fried, not sure which one). Looking foward for the next one.
This thing of waiting 1 week to have new episode is frustrating. And hey, Thanks Nerd!
I understand, I'm frustrated too. Making these as fast as I can :)
Hi and thanks for your very interesting contents! Maybe is a question that was already made, but: why did you start with i3 and not with sway? Thanks
@typecraft awesome content, love the new series, I was just wondering what your dev job is, like web dev or what?
Yes, I am a web dev. Spent a lot of my career in JS and Rails. A little python/flutter/elixir thrown in along the way.
@@typecraft_dev thanks for the reply!
Hey typecraft, what do you have against Dynamic Tiling Window Managers?
great video mate. in the next video could you deeper into fonts configuration. im also running i3wm on arch but can't figure out how to change the default font in the webbrowser whenever code inserts are shown.
You saved my time cuz i was about to say "I use arch btw"
How do you handle managing audio devices? Headphones,etc.?
Hey, what kind your computer is, mac mini?, .. do you use archlinux on an emulator?
Please, Is there a way to take screenshot, of a region, window or entire desktop in i3 wm.
Loving this series (and I dont even use a developer/coding workflow)
I can set up in a VM but do you have any tips/resources for using archinstall on an already partitioned disk, haven't made it past that roadblock to run on bare metal
How can I do fractional scaling in arch gnu?
But I had installed hyprland after watching your 2nd episode 🥲
Looks kool I don't think I would ever use it, though, to be honest. I just use tmuxinator to configure environment 👍
Fair enough! Linux and tiling window managers aren't for everyone haha
Are you using neofetch or another fetch program like fastfetch? Would be cool to see that configuration too although I'm sure it's not very complicated haha
cant get the battery to show up in polybar... can anybody help me fix this??
edit: i fixed it-- in the polybar config file change:
battery = BAT1 to battery = BAT0
For me, I also has to change the adapter to AC.
I'm very impressed with your Linux config knowledge. I was just configuring a Debian/IceWM desktop and read in multiple sources that XServer allows any application running on your XServer desktop to access keyboard keypresses WITHOUT root access. I also read Wayland was designed to prevent every application on your Linux desktop from having the ability to become a keylogger.
Are you aware of any way to prevent this non-root keylogger risk?
Also, you mentioned your MAC use. Does MAC have the same problem? Not for sure if being Linux they also use XServer.
Thanks.
I installed sway instead of i3, do you think you can replicate the same config?
@typecraft_dev where do you get your wallpapers!?!?!?
Can we add bluetooth and wifi functionalites to rofi ? If not what do you do when you want to connect to wifi or change a bluetooth device ?
If you like i3 then try Qtile
You gonna love it
When i try to reload the config of i3 i get an error "Error status_command not found or is missing a library dependency exit(127)"
Any fix for this, sir?
Edit : nvm fixed it, all we had to do was run "sudo pacman -S i3status"
by default i3 set i3status as bar
17:06 i think i have problem here but i didn't figure it
when i write the command
``exec_always --no-startup--id killall polybar``
when i refresh the window all the polybar kill them without having any polybar
my full command tree tho
**exec_always --no-startup-id killall polybar**
**exec_always --no-startup-id polybar**
How do you settle down with your setups? Like seriously, whenever I go to the unixporn subreddit I feel stupid - Other people ricing looks soo good and smooth while mine pales in comparison and then I have to start all over again with new tools and window managers only to go to the subreddit again and to find some new things...
I've been having some green lines appear whenever I switch workspaces. Any workaround?
Please make a Dedicated video on GNU Stow....
I 100% will be
@@typecraft_dev Thank you!!!😄
@@typecraft_dev Please go over why using stow is better than just using git
@@typecraft_dev can you please make a dedicated video on hyperland as well........
@@awaissajid4739 sure!
I am having trouble with clip board sharing in i3, it works perfectly fine in gnome but when i switch to i3 i cannot share clipboard, any solution for this?
Will you so a git tutorial next that would be dope.
This series gave me the courage to install archlinux
Once you get i3 figured out, look up dynamic tiling window managers.
why would you switch to dynamic and lose control once you have manual tiling figured out?
When i am running polybar in terminal it shows me options like -h -v etc , and doesn't run the polybar ,
can someone help me.
the poly bar does not open i3 manages to kill it even if you put the killall command on top of the config idk how to fix it xd ecpect just creating a keybind and starting it manualy
Aah , its been 7 days and im waiting for the epsiode 4
yo have you tried hyprland?
Great !
You're great
@typecraft_dev Thanks, buddy 😁❤️
He's cooking🎉🎉🎉🎉🎉
Are you gonna livestream anytime soon on typecraft talks?
YUP
Switching to i3 was amazing, but I encountered some issues that affected my productivity. For example, I had trouble with connecting to Bluetooth, low battery reminders, clicking using the trackpad, taking screenshots, etc. Is there a way to fix these problems? I don't have the time to research them, so I've gone back to Fedora for now with improve to move workspace by super+number
What problems do you have with bluetooth? I always connect to my airpods when im on my arch machine. I just sudo systemctl start bluetooth, then I can connect to my device easily with a gui like blueman-manager
@@paladin9876 Normally DEs have a taskbar icon that allows you to access them, but here dont have anything of that sort. What do you do ? Connect to a bluetooth device on command lline ?
Cool
how do I lock my screen with i3 set up? 🤔
What's the advantage of i3wm over Awesome WM?
I'll have to do some troubleshooting, but following your steps exactly "stow picom" did not create the symbolic link on my machine.
I cloned the dotfiles repository into /opt/ out of habit and it created the symlink in /opt as .config instead of the ~/.config directory. Cloning the dotfiles into my home directory and running picom fixed this behavior.
It's possible to manually set the target using flags in stow if you prefer to have the git repos in /opt, but I'm following the tutorial for now.
I run Archlinux on a VM, and now all of a sudden it freezes once i've logged into i3. Anyone experienced this issue before?
The lack of ricing on the Pacman config bothers me. That's usually the first thing I do with a new install; makes things look less bland when things get going.
you are awesome
No, YOU are
Rofi is a little like something I use on Windows called Flow.launcher
How can I enable darkmod??
You didn't show how to configure ZSH and make it look like your prompt previously with all the colors.
hye just so you know i am not watching all the video's just so I can watch them in a playlist when the series is complete.
I use dotctrl to manipulate my dotfiles
Are you running your virtualbox on mac ??
Haha no. This VM is running on arch
If ur into this definitely use utm as its waaay better!
If ur into this definitely use utm as its waaay better!
If ur into this definitely use utm as its waaay better!
If ur into this definitely use utm as its waaay better!
After installing picom switching between workspaces became very laggy.
Ever done torrenting and see the person who uploaded the file is “trusted”, and you proceed to download it, this is the same as downloading from AUR. 😅 I do agree Arch is superior because it’s the closest to “With great powers comes great responsibility”, the entire time you’re using the distro is like playing 5D chess. It’s all good until you make a wrong move.
Try ricing hyprland
I was struggling to find someone who can explain well and in simple way step by step special with i3wm or swaywm and finally find it @typecraft_dev Thank you for your time and effort
What will be for the next episode?
Try Hyprland
finally😉
I use awesomeWM btw
make video for sway please
where is the terminal config?
Everything works except for polybar for some reason. (I'm on linux mint atm)
I use dwm btw
the killall polybar thing just dont worked for me lol. the polybar just wont show anymore
Same, did you find a fix?
I fixed it. I put in an extra line "exec_always --no-startup-id "sh -c 'sleep 0.1; exec polybar" . I think it's because it loads the config "too" fast for it to catch up, so i put a bit of delay on the polybar startup after they all have been killed.
@@iPha1L ty man, i tried something similar, because I suspected the same things. i just couldnt get the right command tytyty