-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from nwg-piotr/gui
updated install script for Arch Linux
- Loading branch information
Showing
8 changed files
with
289 additions
and
16 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/usr/bin/bash | ||
|
||
# wget https://raw.github.com/nwg-piotr/nwg-shell/main/install/arch-dev.sh && chmod u+x arch-dev.sh && ./arch-dev.sh && rm ./arch-dev.sh | ||
sudo pacman -S --noconfirm git man-db vi xdg-user-dirs | ||
|
||
echo Initializing XDG user directories | ||
xdg-user-dirs-update | ||
|
||
echo "Adding $USER to video group" | ||
sudo usermod -aG video $USER | ||
|
||
echo "Installing Basic AUR Package Helper" | ||
git clone https://bitbucket.org/natemaia/baph.git || { echo "Failed cloning baph: $?"; } | ||
cd baph || { echo "Couldn't setup baph, terminating..."; exit 1; } | ||
sudo make install | ||
|
||
echo | ||
echo "You're about to select components, that need to be preinstalled for the key bindings to work." | ||
echo "None of above is a shell dependency, and you're free to change them any time later." | ||
echo | ||
|
||
PS3="Select file manager: " | ||
select fm in thunar caja dolphin nautilus nemo pcmanfm; | ||
do | ||
break | ||
done | ||
echo | ||
|
||
PS3="Select text editor: " | ||
select editor in mousepad atom emacs gedit geany kate vim; | ||
do | ||
break | ||
done | ||
echo | ||
|
||
PS3="Select web browser: " | ||
select browser in chromium brave-bin google-chrome epiphany falkon firefox konqueror midori opera qutebrowser seamonkey surf vivaldi; | ||
do | ||
break | ||
done | ||
echo | ||
|
||
echo "Installing selection: $fm $editor $browser" | ||
baph -inN $fm $editor $browser | ||
|
||
echo Installing nwg-shell | ||
baph -inN nwg-shell-git | ||
|
||
echo Installing initial configuration | ||
nwg-shell-installer -w |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/usr/bin/bash | ||
|
||
# wget https://raw.github.com/nwg-piotr/nwg-shell/main/install/arch.sh && chmod u+x arch.sh && ./arch.sh && rm arch.sh | ||
sudo pacman -S --noconfirm git man-db vi xdg-user-dirs | ||
|
||
echo Initializing XDG user directories | ||
xdg-user-dirs-update | ||
|
||
echo "Adding $USER to video group" | ||
sudo usermod -aG video $USER | ||
|
||
echo "Installing Basic AUR Package Helper" | ||
git clone https://bitbucket.org/natemaia/baph.git || { echo "Failed cloning baph: $?"; } | ||
cd baph || { echo "Couldn't setup baph, terminating..."; exit 1; } | ||
sudo make install | ||
|
||
echo | ||
echo "You're about to select components, that need to be preinstalled for the key bindings to work." | ||
echo "None of above is a shell dependency, and you're free to change them any time later." | ||
echo | ||
|
||
PS3="Select file manager: " | ||
select fm in thunar caja dolphin nautilus nemo pcmanfm; | ||
do | ||
break | ||
done | ||
echo | ||
|
||
PS3="Select text editor: " | ||
select editor in mousepad atom emacs gedit geany kate vim; | ||
do | ||
break | ||
done | ||
echo | ||
|
||
PS3="Select web browser: " | ||
select browser in chromium brave-bin google-chrome epiphany falkon firefox konqueror midori opera qutebrowser seamonkey surf vivaldi; | ||
do | ||
break | ||
done | ||
echo | ||
|
||
echo "Installing selection: $fm $editor $browser" | ||
baph -inN $fm $editor $browser | ||
|
||
echo Installing nwg-shell | ||
baph -inN nwg-shell | ||
|
||
echo Installing initial configuration | ||
nwg-shell-installer -w |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/usr/bin/bash | ||
|
||
# Download me, make executable, run & remove: | ||
# wget https://raw.github.com/nwg-piotr/nwg-shell/gui/install/test.sh -O test.sh && chmod u+x test.sh && ./test.sh && rm arch.sh | ||
|
||
echo "You're about to install the rest of components required for the key bindings to work." | ||
echo "None of them is a shell dependency, and you're free to change them later." | ||
|
||
PS3="Select file manager: " | ||
select fm in thunar caja dolphin nautilus nemo pcmanfm; | ||
do | ||
break | ||
done | ||
|
||
PS3="Select text editor: " | ||
select editor in mousepad atom emacs gedit geany kate vim; | ||
do | ||
break | ||
done | ||
|
||
PS3="Select web browser: " | ||
select browser in chromium brave-bin google-chrome-stable epiphany falkon firefox konqueror midori opera qutebrowser seamonkey surf vivaldi-stable; | ||
do | ||
break | ||
done | ||
|
||
echo "baph -inN $fm $editor $browser" |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"keyboard-layout": "us", | ||
"autotiling-workspaces": "", | ||
"autotiling-on": true, | ||
"autotiling-limit": false, | ||
"autotiling-output-limits": {}, | ||
"appindicator": true, | ||
"night-lat": -1, | ||
"night-long": -1, | ||
"night-temp-low": 4500, | ||
"night-temp-high": 6500, | ||
"night-gamma": 1.0, | ||
"night-on": true, | ||
"terminal": "", | ||
"file-manager": "", | ||
"editor": "", | ||
"browser": "", | ||
"panel-preset": "preset-0", | ||
"panel-custom": "", | ||
"show-on-startup": true, | ||
"keyboard-use-settings": true, | ||
"keyboard-identifier": "", | ||
"keyboard-xkb-layout": "us", | ||
"keyboard-xkb-variant": "", | ||
"keyboard-repeat-delay": 300, | ||
"keyboard-repeat-rate": 40, | ||
"keyboard-xkb-capslock": "disabled", | ||
"keyboard-xkb-numlock": "disabled", | ||
"keyboard-custom-name": "", | ||
"keyboard-custom-value": "", | ||
"pointer-use-settings": true, | ||
"pointer-identifier": "", | ||
"pointer-accel-profile": "flat", | ||
"pointer-pointer-accel": 0.0, | ||
"pointer-natural-scroll": "disabled", | ||
"pointer-scroll-factor": 1.0, | ||
"pointer-left-handed": "disabled", | ||
"pointer-custom-name": "", | ||
"pointer-custom-value": "", | ||
"touchpad-use-settings": true, | ||
"touchpad-identifier": "", | ||
"touchpad-accel-profile": "flat", | ||
"touchpad-pointer-accel": 0.0, | ||
"touchpad-natural-scroll": "disabled", | ||
"touchpad-scroll-factor": 1.0, | ||
"touchpad-scroll-method": "two_finger", | ||
"touchpad-left-handed": "disabled", | ||
"touchpad-tap": "enabled", | ||
"touchpad-tap-button-map": "lrm", | ||
"touchpad-drag": "enabled", | ||
"touchpad-drag-lock": "disabled", | ||
"touchpad-dwt": "enabled", | ||
"touchpad-middle-emulation": "enabled", | ||
"touchpad-custom-name": "", | ||
"touchpad-custom-value": "", | ||
"lockscreen-use-settings": true, | ||
"lockscreen-locker": "gtklock", | ||
"lockscreen-background-source": "local", | ||
"lockscreen-custom-cmd": "", | ||
"lockscreen-timeout": 1200, | ||
"sleep-cmd": "swaymsg \"output * dpms off\"", | ||
"sleep-timeout": 1800, | ||
"resume-cmd": "swaymsg \"output * dpms on\"", | ||
"before-sleep": "", | ||
"backgrounds-custom-path": "", | ||
"backgrounds-use-custom-path": false, | ||
"background-dirs": [ | ||
"/usr/share/backgrounds/nwg-shell" | ||
], | ||
"background-dirs-once-set": false, | ||
"unsplash-width": 1920, | ||
"unsplash-height": 1080, | ||
"unsplash-keywords": [ | ||
"nature", | ||
"water", | ||
"landscape" | ||
], | ||
"help-font-size": 14, | ||
"help-layer-shell": true, | ||
"help-keyboard": false, | ||
"gtklock-disable-input-inhibitor": false, | ||
"gtklock-idle-timeout": 10, | ||
"gtklock-logout-command": "swaymsg exit", | ||
"gtklock-playerctl": false, | ||
"gtklock-powerbar": false, | ||
"gtklock-poweroff-command": "systemctl -i poweroff", | ||
"gtklock-reboot-command": "systemctl reboot", | ||
"gtklock-suspend-command": "systemctl suspend", | ||
"gtklock-time-format": "%H:%M:%S", | ||
"gtklock-userinfo": false, | ||
"gtklock-userswitch-command": "" | ||
} |
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
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
This file was deleted.
Oops, something went wrong.