Bspwm: Some Sensible Bindings To Include In Sxhkd

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ม.ค. 2025

ความคิดเห็น • 30

  • @BrodieRobertson
    @BrodieRobertson  5 ปีที่แล้ว +2

    Everyone has there own workflows so are there any special keybindings that you use on a daily basis that you can't live without. Let me know down below

    • @emperorpicard6474
      @emperorpicard6474 4 ปีที่แล้ว +1

      I have 2 instances of sxhkd running. One that is generic and has all none bspwm specific commands (mostly dmenu and opening apps).
      Then I have another running to a bspwm.sxhkd config file with all my bspwm specific commands.
      As far as I can tell there are no problems running multiple instances of sxhkd.

    • @BrodieRobertson
      @BrodieRobertson  4 ปีที่แล้ว

      @@emperorpicard6474 you're right it'll only die if you try to overlap any keybindings

  • @xtnctr
    @xtnctr 4 ปีที่แล้ว +5

    Best CLI content on TH-cam. I've been slaved to gui for many decades. And your content is very liberating. Guis are ruining this planet to the core. Tks for liberating us all, man!

  • @nano4027
    @nano4027 5 ปีที่แล้ว +7

    Your videos are amazing. More Boomer rants in the woods and you might become my favorite channel.

    • @BrodieRobertson
      @BrodieRobertson  5 ปีที่แล้ว +5

      Thanks I really appreciate it, you guys don't see it but I cut out so many mistakes. If I did an Luke Smith style vlog it would be full of jump cuts or just be impossible to watch.

  • @henninb
    @henninb 4 ปีที่แล้ว +3

    As I am new to bspwm, this is a very useful video.

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 4 ปีที่แล้ว +1

    I am trying your scripts and have included them in sxhkdrc but I've to give absolute path to the scripts, I've added my scripts directory to the path variable but still it doesn't work unless I give absolute path, how do give only script name instead of absolute path?

    • @BrodieRobertson
      @BrodieRobertson  4 ปีที่แล้ว +1

      As long as the script directory is in your path variable it should be able to work?

    • @a_maxed_out_handle_of_30_chars
      @a_maxed_out_handle_of_30_chars 4 ปีที่แล้ว +1

      @@BrodieRobertson it's not working unless I give it absolute path. My zshrc has export PATH=$PATH:$HOME/Scripts, the scripts work with terminal but not sxkhd.

    • @a_maxed_out_handle_of_30_chars
      @a_maxed_out_handle_of_30_chars 4 ปีที่แล้ว

      @Joao Fonseca I had my scripts directory in my path variable but it still didn't work so I moved all scripts to ~/.local/bin and now it works fine :)

  • @shubhampawar7921
    @shubhampawar7921 4 ปีที่แล้ว +2

    I recently switches to Bspwm ( but I'm gonna switch to something other) but here's a solution I found to hide polybar when in fullscreen
    xdo below - t $(xdo id -n root) $(xdo id -a bspwm-poly)
    Everything thing must be same except the last word *bspwm-poly* that should be the name of your polybar.
    How to find name of polybar?
    Either goto polybar configs and find wmname or something or use xwininfo
    Hope this helps you..

    • @BrodieRobertson
      @BrodieRobertson  4 ปีที่แล้ว +1

      I've put something together since this video came out that does the job.

  • @fistfull95
    @fistfull95 5 ปีที่แล้ว +1

    I can't find the scripts in your GitHub repo. Could you make those available? Also, I need to run `xdo close` twice for an application to close, and the keybind doesn't work at all, do you have any idea what that might be?

    • @BrodieRobertson
      @BrodieRobertson  5 ปีที่แล้ว +1

      They're in a repo, pinned on my account literally called scripts. I haven't run across that problem myself, it's always worked first shot for me.

  • @marcovirtual
    @marcovirtual 4 ปีที่แล้ว

    Very useful vídeo, Brodie!
    I have a question: what are you using to show the Brave, Discord and OBS icons on the top bar?
    Thank you, keep up the good work!

    • @BrodieRobertson
      @BrodieRobertson  4 ปีที่แล้ว +1

      Polybar has a built in system tray that I use

    • @marcovirtual
      @marcovirtual 4 ปีที่แล้ว

      @@BrodieRobertson Nice thank you! I Will check your videos on polybar.

  • @shubhampawar7921
    @shubhampawar7921 4 ปีที่แล้ว

    I only have one question, how can I find the names of my Keys. Like how can I know that sxhkd uses control not Control_L or ctrl or Ctrl

    • @shubhampawar7921
      @shubhampawar7921 4 ปีที่แล้ว

      The reason why I'm asking this is because my numpad keys are not working

  • @faikyesilyaprak8761
    @faikyesilyaprak8761 4 ปีที่แล้ว +1

    Please upload your configs. They look brilliant

    • @BrodieRobertson
      @BrodieRobertson  4 ปีที่แล้ว +2

      All of them are on my Github

    • @faikyesilyaprak8761
      @faikyesilyaprak8761 4 ปีที่แล้ว

      @@BrodieRobertson thanks for rapid reply. May I have you contact info so that I would be able to answer a couple of questions to you bro?

  • @thenextpoetician6328
    @thenextpoetician6328 5 ปีที่แล้ว +2

    This is what I use courtesy of Erik Dubois:
    case "$1" in
    lock)
    slimlock
    ;;
    logout)
    i3-msg exit
    ;;
    suspend)
    systemctl suspend
    ;;
    hibernate)
    systemctl hibernate
    ;;
    reboot)
    systemctl reboot
    ;;
    shutdown)
    systemctl poweroff
    ;;
    *)
    echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
    exit 2
    esac
    exit 0

    • @BrodieRobertson
      @BrodieRobertson  5 ปีที่แล้ว +1

      Oh that's cool, it would simplify my config a bit

  • @WizardGambles
    @WizardGambles 5 ปีที่แล้ว +1

    I did never really realize that "bug" according the fullscreen mode. But I agree, so I wrote a script, that toggles fullscreen in a more conventional manner. In case you are still interested, here you go:
    gitlab.cs.fau.de/yp98ocaw/configs/blob/e7e756cad9e10e76ce249fa9e2acc78b3d9a0441/scripts/fullscreen_single
    To use it just call it with your keyboard shortcut of choice to toggle. When using sxhkd you don't need to use & btw. sxhkd runs the applications in the background nevertheless. When using something different, you might need to add & though, as the script blocks while in fullscreen mode. Also you might need to replace the statusbar in the script, as I am using polybar.

  • @dripfeeder666
    @dripfeeder666 5 ปีที่แล้ว +1

    Maby public dotfiles bspwm+ poly?)

    • @BrodieRobertson
      @BrodieRobertson  5 ปีที่แล้ว

      If you're asking for my dotfiles, they're all available on my GitHub in the videos description