This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo nmcli dev wifi connect <AP name (SSID)> password <password> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ncurses.h> | |
int main() { | |
initscr(); | |
keypad(stdscr, TRUE); | |
int ch,y,x; | |
wmove(stdscr,0,0); | |
getyx(stdscr,y,x); | |
while(1) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
#Check if whiptail is installed | |
if [ ! "$(which whiptail)" ]; then | |
echo -e "whiptail is not installed. Don't worry installing it now." | |
#Installs whiptail | |
apt install whiptail -y | |
fi | |
#For Desktop Manager | |
wm=$(whiptail --title "Window Manager" --inputbox "Enter Your the Desktop Manager you want to install gdm3, lightdm, sddm etc. : " 15 40 lightdm 3>&1 1>&2 2>&3) | |
exitstatus=$? |