Git Product home page Git Product logo

auto-bspwm's Introduction

auto-bspwm

This is a Bash script that automates the setup of a professional hacking environment for Kali Linux using the tiled window manager bspwm.

Installation

  1. Install available updates.
sudo apt update
sudo apt upgrade -y
  1. Clone the repository and navigate to it.
git clone https://github.com/r1vs3c/auto-bspwm.git
cd auto-bspwm
  1. Grant execution permissions to the script.
chmod +x setup.sh
  1. Execute the script.
./setup.sh
  1. After the script has finished, you will be prompted to restart the system. Once you have rebooted, select bspwm as the window manager and then log in.

Overview of the environment

overview1

overview2

overview3

Keyboard shortcuts

  • Windows + Enter: Open a terminal emulator window (kitty).
  • Windows + W: Close the current window.
  • Windows + Alt + R: Restart the bspwm configuration.
  • Windows + Alt + Q: Log out.
  • Windows + (⬆⬅⬇➡): Navigate through windows in the current workspace.
  • Windows + D: Open Rofi. Press Esc to exit.
  • Windows + (1,2,3,4,5,6,7,8,9,0): Switch to the respective workspace.
  • Windows + T: Change the current window to tile mode.
  • Windows + M: Toggle the current window to "full" mode (doesn't occupy the polybar). Press the same keys to return to tile mode.
  • Windows + F: Change the current window to fullscreen mode (occupies the entire screen, including the polybar).
  • Windows + S: Change the current window to floating mode.
  • Windows + Shift + (1,2,3,4,5,6,7,8,9,0): Move the current window to another workspace.
  • Windows + Alt + (⬆⬅⬇➡): Resize the current window (only works if it's in floating mode).
  • Windows + Ctrl + (⬆⬅⬆➡): Change the position of the current window (only works if it's in floating mode).
  • Windows + Shift + F: Open Firefox.
  • Windows + Shift + B: Open Burpsuite.
  • Ctrl + Alt + L: Lock the screen.
  • Ctrl + Shift + ⬆⬇: Increase/decrease volume.
  • Ctrl + Shift + M: Mute/unmute volume.
  • Windows + Ctrl + Alt + (⬆⬅⬇➡): Show a preselection and then open a window (kitty, Firefox, File manager, etc.).
    • Windows + Ctrl + Alt + Space: Undo the preselection.
  • Ctrl + Shift + Enter: Open a sub-window in the current window.
  • Ctrl + Shift + Z: Zoom in on the current sub-window.
  • Ctrl + (⬆⬅⬇➡): Navigate between sub-windows in the current window.
  • Ctrl + Shift + R: Resize the current sub-window. Afterward, use:
    • W for 'Wider'
    • N for 'Narrower'
    • T for 'Taller'
    • S for 'Shorter'
    • R for 'Reset'
    • Esc to quit resize mode.
  • Ctrl + Shift + L: Toggle the arrangement of sub-windows.
  • Ctrl + Shift + W: Close the current sub-window or tab.
  • Ctrl + Shift + T: Open a tab in the current window.
  • Ctrl + Shift + Alt + T: Rename the title of the current tab.
  • Ctrl + Shift + (⬅➡): Navigate between current tabs.
  • Ctrl + Shift + C: Copy to the clipboard.
  • Ctrl + Shift + V: Paste from the clipboard.
  • F1: Copy to buffer A.
  • F2: Paste from buffer A.
  • F3: Copy to buffer B.
  • F4: Paste from buffer B.

Software

This configuration uses the following software:

Credits

  • This environment has been inspired by the functionalities of S4vitar's environment.
  • Thanks to Cube for their contribution to the creation of the archkali.png wallpaper.

auto-bspwm's People

Contributors

r1vs3c avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

auto-bspwm's Issues

error: failed to install some packages!

here is the error:

❯ chmod +x setup.sh
                                                                                                                                                            
❯ ./setup.sh

              _____            ______
______ ____  ___  /______      ___  /___________________      ________ ___
_  __ /  / / /  __/  __ \     __  __ \_  ___/__  __ \_ | /| / /_  __ __ \
/ /_/ // /_/ // /_ / /_/ /     _  /_/ /(__  )__  /_/ /_ |/ |/ /_  / / / / /
\__,_/ \__,_/ \__/ \____/      /_.___//____/ _  .___/____/|__/ /_/ /_/ /_/    (By @r1vs3c)
                                             /_/


[*] Installing necessary packages for the environment...

[sudo] password for kali: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'suckless-tools' instead of 'wmname'
kitty is already the newest version (0.26.5-5).
rofi is already the newest version (1.7.3-0.1+b1).
feh is already the newest version (3.10-1).
xclip is already the newest version (0.13-2).
ranger is already the newest version (1.9.3-5).
i3lock-fancy is already the newest version (0.0~git20160228.0.0fcb933-3).
scrot is already the newest version (1.10-1).
scrub is already the newest version (2.6.1-1+b1).
suckless-tools is already the newest version (47-1).
firejail is already the newest version (0.9.72-2).
imagemagick is already the newest version (8:6.9.11.60+dfsg-1.6).
cmatrix is already the newest version (2.0-6).
htop is already the newest version (3.2.2-2).
neofetch is already the newest version (7.1.0-4).
python3-pip is already the newest version (23.2.1+dfsg-1).
procps is already the newest version (2:4.0.3-1).
tty-clock is already the newest version (2.3-3).
fzf is already the newest version (0.42.0-1+b2).
lsd is already the newest version (0.23.1-7+b1).
bat is already the newest version (0.23.0-4+b1).
pamixer is already the newest version (1.6-1+b1).
flameshot is already the newest version (12.1.0-2).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ospd-openvas (22.6.0-0kali1) ...
SyntaxError: source code string cannot contain null bytes
dpkg: error processing package ospd-openvas (--configure):
 installed ospd-openvas package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 ospd-openvas
E: Sub-process /usr/bin/dpkg returned an error code (1)

[-] Failed to install some packages!

terminal issue maybe

Hello, I love this project but I have a question, is it normal for the applications that I open with rofi to open with the terminal in this way? it seems strange to me
2023-10-14_23-26

mouse and touchpad

luego de instalar ya no me funciono el tap on touch, el scroll si funciona

Edit:

[Solucionado]

Instale xserver-xorg-input-synaptic
edite el archivo /usr/share/X11/xorg.conf.d/70-synaptics.conf
agregue en la section "InputClass" al final Option "TapButton1" "1"
guarde, sali e inicie sesion nuevamente y listo

Window error while open Burpsuite (Bug)

When i started burpsuite to make some labs on portswigger, thw window manager it does not work propertly. I tried to restart Bspwn with Win + Alt + R and it didnt worked. Here is an screenshot of how burpsuite start on my desktop:
image

Colours

Cuando creo un script al cual quiero añadir colores con un echo no se ejecutan bien los colores, están bien especificados pero al ejecutar el script solo muestra colores que pertenezcan a algún tono morado o azul, hay alguna forma de arreglarlo para que salgan bien los colores. Intuyo que es por la configuración del entorno ya que con el escritorio predeterminado de kali si muestra los colores que especifico

Kitty doesn't launch

If I do either win + enter or I try to open it from the win + d menu, nothing happens. Kitty launches only if I execute the command 'kitty' from another terminal and only because I added export "LIBGL_ALWAYS_SOFTWARE=true" to the .zshrc file (before doing that I got an error).

I also tried editing the keyboard hotkeys from settings, assigning win + enter to the kitty command but it didn't worked.

Thanks

error en la kitty

Hola sale la terminal kitty de esta form. A qu e es debido y sobre todo como puedo quitarlo para que se vea bien?
kitty
kitty

abrir un .txt con formato estandarizado

Al abrir un .txt (cualquiera) se genera el siguiente formato:
1 │ source: https://www.securityfocus.com/bid/59022/info 2 │ 3 │ Request Tracker is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user
Como puedo abrir archivos para copiarlos sin que aparezca el formato anterior?

Burpsuite doesnt open completly in the screen

Hello, I have a issue when i open burpsuite doesnt open completly like other apps or shells, only if i press win + F, but i dont want to see it full screen just the size of the screen, there is a way to fix that? cheers in advanced.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.