Skip to content

Dewalt-arch/pimpmyi3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 

Repository files navigation

pimpmyi3.sh

revision 1.0.3

  • adding function and menu option to update your config files with the ones that are in the pimpmyi3-config github

    • Menu 9 is for user config files
    • Menu 0 is for root config files
  • i3-keyboard.txt has been included in the git clone of pimpmyi3

    • keyboard shortcut commands list (is not a 100% list of all i3 commands)
    • please use this as a reference for keyboard shortcuts
  • modkey+ctrl+NUMBER quicklaunch applications added to i3 config only 6 keys have been programmed with commonly used program feel free to Change and customize and move them around for you! uncomment to activate modkey+ctrl for that key

    • bindsym $modkey+ctrl+1 exec --no-startup-id firefox
    • bindsym $modkey+ctrl+2 exec --no-startup-id burpsuite
    • bindsym $modkey+ctrl+3 exec --no-startup-id atom
    • bindsym $modkey+ctrl+4 exec --no-startup-id cherrytree
    • bindsym $modkey+ctrl+5 exec --no-startup-id thunar
    • bindsym $modkey+ctrl+6 exec --no-startup-id
    • bindsym $modkey+ctrl+7 exec --no-startup-id
    • bindsym $modkey+ctrl+8 exec --no-startup-id
    • bindsym $modkey+ctrl+9 exec --no-startup-id
    • bindsym $modkey+ctrl+0 exec --no-startup-id terminator -e 'msfconsole'

revision : 1.0.2

  • correction was made to the i3 config file ctrl keys not working to resize
  • Thank you BlindPenTester for the bug report!

revision : 1.0.1

  • added BlindPenTesters bash_profile to .zsh_profile
    • source ~/.zsh_profile added to .zshrc
  • rofi theme changed to Monokai as the default
  • additional themes can be set via rofi-theme-selector
  • alt+printsceen will now screenshot via flameshot gui
    • printscreen key is also configured in the i3/config
      • uncomment to use printscreen key

Revision : "1.0.0"

  • all base64 encoding has been removed from the script
  • configuration files are now online and will be pulled via pimpmy-i3.sh as needed
  • config files will be at https://github.com/Dewalt-arch/pimpmyi3-config
  • There Is NO NEED to clone the config repo, the script will get what it needs from it
  • additional tweaks and tunes to the script will happen as needed

Initial Release: Revision "BETA"

This script is for a 1 shot 1 and done run to setup i3 window manager (i3-gaps actually) And all related base components to a fully functional and pre-configured working system from 1 script.

This was built as nothing more than an ease of convenience.

Several have requested this script and that it be made publicly available on github. So here it is! Have fun!

  • BlindPenTester (BPT)
    • The final results of pimpmy-i3.sh were recently featured on the BlindPentesters Twitch Stream (Sar2HTML Vulnhub box). https://www.twitch.tv/blindpentester BPT is also the creator of 'the_essentials.sh' script which will be called at the end of pimpmy-i3.sh via pimpmykali.sh --bpt command line option. A huge shoutout to BlindPenTester!
  • Menu option 3 is hearby dedicated to BlindPenTester for all time

It is suggested this be used only on a fresh imported kali vm although should work on already existing installs, warning your mileage may vary on pre-installed systems.

  • Menu Options 1 and 4 are specifically for ROOT user
  • Menu Options 2 and 5 are specifically for a NON-ROOT user
  • Menu Option 3... well your mileage may vary

Installation script

What pimpmy-i3.sh is going to do:

  • PC Speaker Beep turned off ( i3_shutup_pcbeep function )

    • function adds blacklist pcspkr to /etc/modprobe.d/nobeep.conf
  • Sets User or Root i3 background

    • uses $url variable in script to download background from Internet
      • a few additional backgrounds have been included in the script
      • uncomment ONE url= statments at the top of the script
      • or change it to to the url of an image of your choice!
      • ~/Pictures/background.jpg
  • Added resize via ctrl + up down left right to ~/.config/i3/config

  • Pre-configured ~/.config/i3/config

    • set $modkey Mod1 (alt key)
    • modkey can be changed after installation
      • default: set $modkey Mod1 (alt key)
      • to set windows key change : set $modkey Mod4
    • I prefer the alt key if you want the windows key, change it
  • Pre-configured /etc/i3status.conf

    • symlinked from /etc/i3status.conf to ~/.config/i3/i3status.conf
    • wifi has been commented out
    • tun0 listed as VPN: in the status bar
      • when connected to a vpn, the VPN: Down will change to tun0 ip
    • eth0 listed as E: in the status bar
  • Pre-configured ~/.config/rofi/config

    • theme can be changed via rofi-theme-selector
  • Pre-configured /usr/bin/i3-alt-tab.py

    • required for modkey+tab and modkey+shfit+tab in i3
      • modkey(alt)+tab tabs between open windows on 1 virtual desktop
      • modkey(win)+shift+tab tabs between all open windows on all open virtual desktops
    • symlink from /usr/bin/i3-alt-tab.py to ~/.config/i3/i3-alt-tab.py
  • Pre-configured ~/.config/terminator/config

    • Dont like my font choice? Pick a new one!
    • Want a different color scheme? Pick a new one!
    • Remember I wrote this for my choices not yours.
  • Modification /etc/lightdm/lightdm.conf

    • autologin-user= set for auto login by that user or root
    • autologin-session= set to i3
  • Pre-configured :

    • ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-power-manager.xml
    • turn off that silly xfce power management
  • Modification ~/.bashrc

    • backup existing .bashrc to ~/.bashrc-backup-$backupdate
    • generate a new .bashrc from /etc/skel/.bashrc
    • added /sbin and /usr/sbin to path
  • Pre-configured ~/.zshrc

    • backup existing .zshrc to ~/.zshrc-backup-$backupdate
    • extract new ~/.zshrc from base64 encode
      • remove that silly skull and circle-K in the PS1 prompt
      • has /sbin and /usr/sbin in the path
  • Change Default Shell

    • chsh --shell /bin/zsh
  • Root

    • attempt to make dirs if they dont already exist
    • copies * from /home/$finduser to /root
    • copies .* from /home/$finduser to /root
    • sets symlink from /mnt/shared to ~/shared for virtualbox shared folder
  • Apt

    • i3-gaps compton feh flameshot numlockx rofi terminator kali-root-login
  • i3_adbobe_source_code_pro_font function

    • Adobe Source-Code-Pro font
      • installs adobe source-code-pro font in /opt/source-code-pro
      • copies .otf fonts to /usr/share/fonts
      • updates font cache: fc-cache -fsv
  • get_uber_pimped function

About

i3 for kali-linux 1 shot setup configs included

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages