My AwesomeWM Configuration

Поделиться
HTML-код
  • Опубликовано: 7 фев 2025
  • Looking for an excellent bank account? You can receive a free 25$ USD when signing up for an account with SoFi Bank using my referral link below. This is my personal bank of choice, and I also get a kickback for signups, so it's a great way to support the channel.
    www.sofi.com/i... (Affiliate Link)
    Thanks for watching everyone! 😲
    Arch Install Guide (via Arch Wiki): wiki.archlinux...
    Collision extension: github.com/Elv...
    My Odysee Channel: odysee.com/@ma...
    View My dotFiles: github.com/mak...
    My Wallpapers: github.com/mak...
    Connect
    My Website: makc.co​
    My Reddit: / mack_criswell
    My GitHub: github.com/mak...
    MAKC: open.spotify.c...
    Intro/Outro Music by John Morrison
    Thumbnail Photo By: Bongkarn Thanyakij
    www.pexels.com...

Комментарии • 128

  • @SantiYounger
    @SantiYounger 4 года назад +70

    excellent video, I'll share a couple of notes
    13:49 removing title bars
    15:20 dmenu install
    16:50 run dmenu with shortcut
    19:40 floating window plug in (when title bars have been removed)
    17:40 keybindings (firefox shortcut)

  • @mathiasodlund
    @mathiasodlund 3 года назад +20

    Hey, great tutorial. Instead of purging the default config for titlebars (something that might come in handy later) set "titlebars_enabled = false" on 14:00

  • @greatsaid5271
    @greatsaid5271 4 года назад +69

    for moving floating windows just hold super key + left mouse click for movement or right mouse click for resizing, also don't forget to change your theme for status bar my favorite is powerline dark

    • @SantiYounger
      @SantiYounger 4 года назад +1

      thanks for the tip! I didn't know this!

    • @vaisakh_km
      @vaisakh_km 2 года назад

      okey now only i am knwoing we can change status bae theme

  • @yourfamilytree833
    @yourfamilytree833 2 года назад +1

    I installed Awesome yesterday. You video has been a help with the key bindings.

  • @crwmike0
    @crwmike0 4 года назад +35

    When you reload awesome, it defaults to the first available layout in the list, so if you want more than on layout, put the layout you want to load first.

    • @makc
      @makc  4 года назад +6

      Cool. I didn't know that was an option.

  • @SkyyySi
    @SkyyySi 2 года назад +7

    Instead of dmenu, you can just use the built-in launcher, run with Super+p. Unlike the run prompt, it supports completions and also supports XDG shortcuts (with icons and such), in addition to running commands.

  • @nevoyu
    @nevoyu 4 года назад +14

    By default you can just hold super and left click and drag to move a floating window around. And you can resize it with a right click+drag

  • @drumpf4all
    @drumpf4all 4 года назад +29

    You don't need nitrogen. You can set up wallpapers natively. Check out Luke Smith's fairly recent vid on the topic. It's awesome.

    • @8tungdata
      @8tungdata 4 года назад +2

      Do you have a link?

    • @thecashewtrader3328
      @thecashewtrader3328 3 года назад +2

      @@8tungdata ruclips.net/video/IUvM2Hc6jtk/видео.html

  • @prasadsawool6670
    @prasadsawool6670 4 года назад +3

    thanks for this video.. this is one of the most detailed videos on configuring Awesome WM out here :p

  • @MikkoRantalainen
    @MikkoRantalainen 4 года назад +9

    I think every video with tiling window manager should have keyboard action in closed captions or burned in the video. Similar to Blender "screencast keys".

  • @eMorphized
    @eMorphized 4 года назад +3

    I've found that a good way to set your wallpaper in Awesome is, since Awesome uses its own wallpaper script, to have it set the wallpaper to the dconf value for your wallpaper path. And then just autorun a settings daemon.

  • @TheZakarumite
    @TheZakarumite 2 года назад

    Very helpful for beginners. A must watch.

  • @alirezaaazerra7038
    @alirezaaazerra7038 2 года назад +2

    Super + P is something like dmenu too and its built-in in awesome

  • @stahmedpendragonguinevere2711
    @stahmedpendragonguinevere2711 2 года назад

    As a newbie to Fedora and using awesome, this was most awesome matey, thank you!

  • @ahmedfenti9462
    @ahmedfenti9462 4 года назад +1

    this channel is getting cooler thanks u

  • @ciaopete
    @ciaopete 2 года назад

    Thank you for posting this I found it really useful

  • @Pongsn
    @Pongsn 4 года назад +1

    Hey mate great vid, made the decision easy on what to get into next. Will give this a shot on my laptop.

  • @ewhac
    @ewhac 4 года назад +10

    1:34: Frequently you're better off with Super+p, which can be thought of as a very thin "start" menu (sort of 'dmenu' with icons). You can navigate it via arrow keys, or start typing the name of a command, and the menu will change to show all matches.
    3:28: Given that your current directory was already ~/.config/awesome, then you could simply have said "cp /etc/xdg/awesome/rc.lua ." where the destination is "." i.e. the current directory.
    7:00: picom is a fork/reimplementation of compton, the latter of which appears to have become unmaintained.
    11:56: If you're coming from a more traditional window manager, the behavior of a tiling window manager moving and resizing your windows can be jarring. So I suspect the floating mode default was chosen so that newcomers wouldn't be frightened off quite so quickly.
    13:24: Uh, dude, that's os.getenv(), which gets the value of environment variables. So changing the argument to 'nvim' is not going to do what you want.
    17:30: Super+space already has a mapping -- it cycles through the various tiling layout modes. You appear to have lucked out that your changed mapping was applied last.
    Also: I'm concerned that your solution doesn't appear to guard against multiple launches. In other words, press Super+space. Then, before you've finished entering a command, press Super+space again. Does a second copy of 'dmenu' get started?
    19:30: No fixes required. The default mapping for dragging floating windows is Super+left_click, i.e. hold down the Super key, left-click and hold on the window, then move the mouse. To resize a floating window, move the pointer near the edge or corner you want to drag, press and hold Super+right_click, then move the mouse. Nevertheless, the 'collision' mod is pretty cool.

  • @comityway
    @comityway 2 года назад

    this is a great video and a great setup - love it - now have it and use it - thanks.

    • @makc
      @makc  2 года назад

      Thanks you

  • @stephane153
    @stephane153 Год назад

    Excellent video, thanks for sharing.

  • @WafflesOinc
    @WafflesOinc 4 года назад

    This is exactly what I was looking for. Thank you!

  • @fongus6420
    @fongus6420 3 года назад +2

    As a roblox game developer, awesome seems like a great wm.
    I already know lua so it shouldn’t be too hard to customise!

  • @marcelijankowski9593
    @marcelijankowski9593 2 года назад

    Awesome!
    Thanks for tips

  • @tengyang6395
    @tengyang6395 4 года назад +1

    This tutorial was very easy to understand and I learned a lot.
    Thank you.

  • @---dy4lr
    @---dy4lr 4 года назад +3

    Awesome has it's own Dmenu clone under the default key Super + P.

  • @jrdicoll
    @jrdicoll 2 года назад

    Really nice video! I am new to awesome and this was great!

  • @motif5775
    @motif5775 4 года назад +1

    Thank you. Very helpful.

  • @TOMASVELASQUEZ_NKS
    @TOMASVELASQUEZ_NKS 3 года назад +1

    Very awesome XD, you won the subscribe

  • @giacomodelillo1719
    @giacomodelillo1719 3 года назад

    Straight to the point, awesome 😉😂

  • @awanawaskawanawa
    @awanawaskawanawa 4 года назад +4

    I've used Awesome for a while and I loved it, the only reason I switched to Bspwm is that I find the Lua syntax very confusing

    • @makc
      @makc  4 года назад +4

      I just installed bspwm a few days ago. I haven't messed around too much with the config, but I agree it's less weird than the Awesome config.

    • @nevoyu
      @nevoyu 4 года назад +2

      As a primarily lua dev I can tell you I feel the same way with trying to use any other language

    • @arturwiebe7482
      @arturwiebe7482 3 года назад

      Second that. Expect that the Lua interface gives you so much power to change anything, basically.

  • @ichaa3tech
    @ichaa3tech 4 года назад +2

    Its a better dwm . its built on xcb . maybe a more striped down version of it would be better .
    I use bspwm its footprint is very small compared to awesome .

  • @jack92344
    @jack92344 4 года назад +1

    Thank to your sharing, I'm new to awesome, this video is very nice. :)

  • @unclearam2055
    @unclearam2055 4 года назад

    This really helped. Thank you so much :)
    God bless

  • @johnsonmlw
    @johnsonmlw 4 года назад

    Very helpful. Thank you!

  • @johnlocke9609
    @johnlocke9609 4 года назад

    Awesome video for awesome. Thank you!

  • @YannMetalhead
    @YannMetalhead 2 года назад +1

    Good video.

  • @fredwilson1191
    @fredwilson1191 9 месяцев назад

    Any video on the top bar, increasing the font size, test size and colors ?

  •  2 года назад

    Nice vídeo Mack!

    • @makc
      @makc  2 года назад

      Nice comment Sergio

    •  2 года назад

      I am leaning how to apply rulles on Awesome!

  • @henninb
    @henninb 4 года назад

    Nice video. I am an xmonad user, however it is nice to see other potential wm options

  • @langezeit6926
    @langezeit6926 2 года назад

    The the standard awesome prompt has auto complete with tab

  • @jignaciol
    @jignaciol Год назад

    Very good

  • @mustafababdullah2485
    @mustafababdullah2485 3 года назад

    Hahaha that's the first thing that I learned is to get dmenu as my run menu. I'm trying to figure out how to get the menu to update seeing it's actually there. Know I don't need it but hell it's like the Mountain

  • @cyanider069
    @cyanider069 3 года назад

    I wish I could use a tiling window maneger.

  • @SamSam-df4xp
    @SamSam-df4xp 4 года назад +1

    Kitty...wow. Haven't heard anyone talking about it much. Maybe you could do a video on using Kitty and kitten panel! Great video btw. 👍👍👍

    • @makc
      @makc  4 года назад +2

      I'll look into it. Thanks for watching.

    • @sheikhshakilakhtar6844
      @sheikhshakilakhtar6844 4 года назад +1

      @@makc Please do. I want to learn it as well.

  • @oxonomy2372
    @oxonomy2372 Год назад

    But the window is flickering constantly, what’s that about?

  • @mustafababdullah2485
    @mustafababdullah2485 3 года назад

    I'm looking to figure out how to assign some applications to a #ed window i.e. Firefox only opens on workspace #2 Spotify opens on #9 ect

  • @joaopauloalbq
    @joaopauloalbq 4 года назад +1

    I am thinking of moving from I3 to Awesome. Can you make a video about panel customizations? Thanks

    • @homfes
      @homfes 3 года назад

      Have you already figured out how to customize the awesome wm panel?

  • @arvindersingh9863
    @arvindersingh9863 3 года назад

    How to open new window on the right side of the screen so that my first window is always the main window?

  • @BrendonToogood
    @BrendonToogood 2 года назад +1

    awesome video looks easier than xmonad lol

    • @makc
      @makc  2 года назад +1

      Probably is, just because so much is pre-configured for users

  • @Mydrac
    @Mydrac 4 года назад +2

    Hello, nice video. Which plugin is used to complete the path for the file system paths. Thanks. Minute 9:38

    • @makc
      @makc  4 года назад +1

      github.com/neoclide/coc.nvim

  • @eniojuniorschutt2828
    @eniojuniorschutt2828 3 года назад

    In Awesome, when opening a fullscreen application, unfortunately, the status bar does not disappear. It is necessary to create a rule to make it disappear when the application is launched. I would like to make the bar to reappear after closing the application.
    (But it doesn't and I do not know the command to make it happen). And lastly, I would like that the status bar was hidden only for that application, not for all of them. This is the default in i3, but in awesome it is kind of cumbersome to achieve that.

    • @eniojuniorschutt2828
      @eniojuniorschutt2828 3 года назад +1

      I solved it by inserting this code snippet into rc.lua:
      { rule = { class = "class-name-of-the-application" },
      properties = { fullscreen = true },
      callback = function(c)
      c.ontop = true
      awful.spawn.with_shell("sleep 0.1 && xdotool key Super_L+f")
      end
      },

  • @celestialadministration
    @celestialadministration 4 года назад

    Enjoy tutorial

  • @Onedeag-qw3yc
    @Onedeag-qw3yc 3 года назад +1

    There's so many things wrong with this video. There should be an updated one

  • @see-sharp
    @see-sharp 2 года назад

    Sorry to bother but how do i get this current line highlight on neovim?

  • @JuanLopez-db4cc
    @JuanLopez-db4cc 4 года назад

    please update the link to your wallpapers please? Thanks sir.

  • @Prophet6000
    @Prophet6000 2 года назад

    When I use nitrogen it defaults back to the awesome default background after reload.

    • @makc
      @makc  2 года назад +1

      That’s awesome doing it’s thing. You can set a rule at the bottom of the rc.lua to change wallpaper on startup.

  • @carpii
    @carpii 2 года назад

    Could I ask a question about your dotfiles repo?
    Do you typically just clone the repo directly into your home dir (and then .gitignore or add/commit any extra files which appear over time?)
    It wasn't that clear from the video, but this isn't an awesomewm question so much as a deployment one

  • @tsilb
    @tsilb 6 месяцев назад

    Why is Super called Mod4 instead of "Super"?
    Why is Alt called Mod1 instead of "Alt"?

  • @8tungdata
    @8tungdata 4 года назад +1

    How do you get rid of the default awesome wallpaper? You haven't solved this issue. At every start there is for a short glimpse the default wallpaper before the wallpaper appears which is set by nitrogen. This is really odd.

    • @makc
      @makc  4 года назад +2

      I never really looked into it. There is some kind of tool built into awesome that handles wallpapers, so that might get better results. For me the nitrogen app works fast enough that I barely even notice the delay.

    • @ewhac
      @ewhac 4 года назад

      Wallpapers are handled... clumsily in Awesome. Basically, the wallpaper is hard-coded into the Awesome theme, which itself is another Lua file. The entry is "theme.wallpaper", usually at the top of the theme file, which is an absolute path to the image file you want to use as the desktop wallpaper.

  • @richieashton3927
    @richieashton3927 4 года назад

    I know this is late. But question. I would like to get back to Arch Linux, and i need help with something. Read carefully please.
    1. I would like to have all my programs bound using keyboard shortcuts. Can only be access using these shortcuts.
    2. The home screen will be only wallpaper skipping through like every 15 minutes or so.
    3. There will be no task bar, however i want widgets for wifi, battery indicator(using a laptop dell m5040), volume and bluetooth.
    4. On the home screen at the top left will be the terminal. However the terminal will have no boarders, or color (using the desktop wallpaper as background) just a blinking dot or -.
    Is this kind of thing possible?

    • @szenesiswebs3909
      @szenesiswebs3909 3 года назад

      It is, it may take a lot of time to set up though.

    • @richieashton3927
      @richieashton3927 3 года назад

      @@szenesiswebs3909 hey. I got it setup. Using a window manager only So every program i use is bound to a key binding and dmenu. Only problem i have is bounding terminal applications to the keyboard. Example htop. Using xmonad. Besides that i do everything in the terminal. Wifi, bluetooth vifm for file browser but i hardly use that now. So everything is going good. Just the terminal applications i have a problem with. Thanks for the reply tho. Much love. Bless

    • @szenesiswebs3909
      @szenesiswebs3909 3 года назад

      @@richieashton3927 you could try binding alias to a letter from the terminal. For example I have an alias that when I type w, the wallpaper changes.

    • @richieashton3927
      @richieashton3927 3 года назад +1

      @@szenesiswebs3909 ok. Will have to look up how to do that. Thanks

  • @vladcykka1265
    @vladcykka1265 4 года назад +2

    Can you do a video on theming Awesomewm?

    • @makc
      @makc  4 года назад

      I'll look into it, thnx for watching.

    • @williammckenzie22
      @williammckenzie22 4 года назад

      @@makc Same request as above. Installing and configuring things like brightness & volume control, network manager and other system tray thingies are confusing me. Great video btw. :)

  • @celestialadministration
    @celestialadministration 4 года назад

    Mad cool

  • @motif5775
    @motif5775 3 года назад

    How did you get those random quotes everytime you opened a terminal? I think that's pretty cool 😎.

    • @makc
      @makc  3 года назад

      How interesting that you should ask. I have a video on the topic here (On arch the package is called cowfortune not fortune): ruclips.net/video/ZVXIJfyVbRE/видео.html

  • @ShedyQ
    @ShedyQ 4 года назад

    Hey, loved this whole tutorial. I just have one thing that I have been trying to figure out forever and its really difficult to figure out. If you autostart a program in at the bottom of the lua file with awful.spawn.with_shell("firefox") or a terminal or anything. It opens up just fine, but if you make any other change to the lua file and restart awesome (without logging out), it runs those commands again and spawns another instance of that same program. I know there is a way to do it so that if an instance is already running, it doesnt open another one. I remember from a long time ago that it is some sort of for loop, but im not nearly good enough in lua or programming in general to figure it out again. Any help would be appreciated. With this one problem being fixed I will have system built perfectly.
    Thanks. 1/2 man 1/2 bear 1/2 pig.

    • @oktuvida
      @oktuvida 3 года назад

      Hi guy. Sorry for this late reply.
      I can think of two possible solutions (if I understood you correctly; I'm not very good with English :c ).
      1. Isolate all the programs you want to start in one file, say "autostart.sh", and check with each program that is not currently running with "pgrep -f". You can help yourself with a function. Here is an example:
      ''''
      #!/bin/sh
      run() {
      if ! pgrep -f $1 > /dev/null 2>&1 ; # This old-fashioned redirection is unnecessary, you can remove or replace it with "&>/dev/null"
      then
      $@&
      fi
      }
      run picom
      run nitrogen --restore
      ''''
      At the end, you simply spawn "autostart.sh" inside rc.lua.
      You can find more information in the arch wiki
      2. Use "awful.spawn.once()".
      This option is much more limited. The documentation mentions that it doesn't work with shell or terminal commands (E.g. "alacritty -e 'htop'", "while echo "Hello, world!"; do sleep 1s; done", etc.).

  • @MrOB099
    @MrOB099 4 года назад +1

    Are you still using Arch in a VM at the moment?

    • @makc
      @makc  4 года назад +2

      Nope. That's full on arch.

    • @MrOB099
      @MrOB099 4 года назад +1

      @@makc what hardware you using? Just out of interest, I'm thinking of getting a Thinkpad. Are you still going to use your Mac?

    • @makc
      @makc  4 года назад +2

      I’ve got a ThinkPad 430 that I upgraded to 16gb or memory and a standard ssd. And an old pc I built a while ago which I’m working on upgrading. (Dual core i3, 8gb or ram, no GPU, nothing impressive). Arch runs shockingly well on both.

  • @okmanek69
    @okmanek69 4 года назад

    Can I set modkey (without "r" or any other additional key) to bring up a prompt?

    • @makc
      @makc  4 года назад +2

      Not sure. You could try removing the “r” part of the key binding in the config.
      I would be interested to know if you do get it working.

    • @szenesiswebs3909
      @szenesiswebs3909 3 года назад +1

      You can. Just be sure to not set is as a press and hold.

  • @gautamjoshi7436
    @gautamjoshi7436 4 года назад

    how to connect to wifi through awsome wm?

    • @rizkyadiyanto7922
      @rizkyadiyanto7922 4 года назад +2

      or use nm-applet, which stays in the tray.

    • @TarebossT
      @TarebossT 2 года назад

      or type in terminal nmtui

  • @saptarshibhattacharya2505
    @saptarshibhattacharya2505 3 года назад

    The flickering wad painful to watch otherwise good video

  • @Cookiekeks
    @Cookiekeks 3 года назад

    You forgot to add a theme

    • @makc
      @makc  3 года назад +1

      Indeed.

  • @git_t0v
    @git_t0v 4 года назад

    Two things:
    When i installed nitrogen and super+r to open nitrogen, it's just a blank white screen. No pictures are on there. Did I miss something or do I have add photos myself to that file for nitrogen to use?
    @3:18 you have a sample config and as I am following along, I don't have that sample config. How do I follow along now?

  • @dougtilaran3496
    @dougtilaran3496 3 года назад

    Put the bar on the bottom of the damn screen where it belongs

  • @TheOriginalJoeBloggs
    @TheOriginalJoeBloggs 4 года назад +1

    Larbs [Luke Smith] dwm

  • @dougtilaran3496
    @dougtilaran3496 3 года назад

    Dude knows more about Awefulwm than the devs. I'm allergic to it. Openbox forever

  • @gatterlinux8426
    @gatterlinux8426 3 года назад +1

    A full 23 min just to show us a autostart and a plugin ?!?!?!

    • @makc
      @makc  3 года назад +1

      It’s ridiculous

  • @p4u1ro13
    @p4u1ro13 4 года назад

    pls more slow :S

  • @ArnaudMEURET
    @ArnaudMEURET 3 месяца назад

    Beginners please don’t follow most of these recommendations. They lack experience and knowledge of Awesome. Read other comments.

  • @plasmalife5532
    @plasmalife5532 4 года назад +1

    DT copy

  • @chujwdupegooglowi2131
    @chujwdupegooglowi2131 4 года назад

    downvote for the crazy communist in wallpapers, lol.

  • @dougtilaran3496
    @dougtilaran3496 3 года назад +1

    Awesome is not even close to being awesome.

    • @makc
      @makc  3 года назад +1

      Very insightful 👌

  • @iceyrazor
    @iceyrazor 2 месяца назад

    you can also set the default layout without commenting all the other layouts out but instead changing layouts[1] to something else
    awful.tag({ "1", "2", "3", "4", "5", "6", "7", "8", "9" }, s, awful.layout.layouts[1])

  • @mackarof77
    @mackarof77 Год назад

    default layout here, the second in list
    -- Each screen has its own tag table.
    awful.tag({ 1, 2, 3, 4, 5, 6, 7, 8, 9 }, s, awful.layout.layouts[2])