mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-08 07:00:28 +01:00
0f7f51e81c
This commit adds sudo where needed for the majority of pacman commands. It also removes zsh, urxvt, and renpy since we don't use those anymore.
46 lines
1.5 KiB
Bash
46 lines
1.5 KiB
Bash
#!/bin/sh
|
|
#
|
|
# bspwm is the best window manager. It does one thing really
|
|
# well and supports running commands directly through the shell.
|
|
#
|
|
# I used to love bspwm a lot. I still do, but it's not as useful
|
|
# now that I know how to use tmux. By using a terminal multiplexer,
|
|
# the issue of organizing several terminal windows in one view is
|
|
# solved without having to depend on the window manager.
|
|
#
|
|
# bspwm is still useful when you want a minimal setup with no
|
|
# overhead, since it performs exceptionally well compared to other
|
|
# desktop environments riddled with features. Plus, it supports
|
|
# HiDPI really well, with the exception of some older programs.
|
|
#
|
|
# The Simple X Hotkey Daemon (sxhkd) is used to make keyboard
|
|
# bindings so you can interact with bspwm. Make sure your bspwmrc
|
|
# file is executable (chmod +x) as well.
|
|
#
|
|
# https://wiki.archlinux.org/index.php/Bspwm
|
|
|
|
set -xe
|
|
|
|
# Install xorg as the display server (required)
|
|
sudo pacman -S xorg-server
|
|
|
|
# Prerequisite for running bspwm without a display manager
|
|
# Remove this line if you're using one
|
|
sudo pacman -S xorg-xinit
|
|
|
|
sudo pacman -S xdo # Show / hide windows (for polybar)
|
|
sudo pacman -S xorg-xprop # Get window status (for polybar)
|
|
|
|
sudo pacman -S xclip # Clipboard manager (to copy with a command)
|
|
sudo pacman -S xcape # Make Caps Lock = Ctrl/ESC
|
|
|
|
# The actual window manager and hotkey daemon
|
|
sudo pacman -S bspwm
|
|
sudo pacman -S sxhkd
|
|
|
|
# compton is the standard compositor.
|
|
sudo pacman -S compton
|
|
|
|
# polybar is the standard panel.
|
|
yay -S polybar
|