Skip to content

Personal configuration files for running a stylish Arch Linux desktop environment

Notifications You must be signed in to change notification settings

joeyshi12/bspwm-dotfiles

Repository files navigation

dotfiles

Personal configuration files for running a stylish Arch Linux desktop environment

Table of contents

HDMI-0 DVI-I-1
snapshot_2 snapshot_3

Rice info

Installation

  1. Clone repo into hidden directory
git clone git@github.com:joeyshi12/dotfiles ~/.dotfiles
  1. Move themes, fonts, icons into local data folder and create symlinks
~/.dotfiles/bootstrap.sh
  1. Install native packages
pacman -S $(cat ~/.dotfiles/pkglist)
  1. Install yay
cd /opt
sudo git clone https://aur.archlinux.org/yay.git

cd yay
makepkg -si
  1. Install foreign packages
yay -S $(cat ~/.dotfiles/pkglocallist)

Window management tips

  • Focus desktop: super + {1-6}
  • Focus desktop on both monitors: super + alt + {1-3}
  • Close focused window: super + w
  • Focus window: super + {h,j,k,l}
  • Swap focused window: super + shift + {h,j,k,l}

Hotkey bindings configured in .config/bspwm/sxhkd/sxhkdrc

Monitor settings

  • Look up resolutions of available monitors with xrandr
  • Monitor orientation and resolution settings can be configured in /etc/X11/xorg.conf.d/52-resolution-fix.conf:
Section "Monitor"
    Identifier "HDMI-0"
    Option "PreferredMode" "2560x1440"
    Option "Primary" "1"
EndSection
Section "Monitor"
    Identifier "DVI-I-1"
    Option "PreferredMode" "1920x1080"
    Option "RightOf" "HDMI-0"
EndSection
  • Workspace allocation across monitors is configured in ~/.config/bspwm/bspwmrc:
bspc monitor HDMI-0 -d 1 2 3
bspc monitor DVI-I-1 -d 4 5 6

Network settings

  • Run nmcli dev wifi to scan for networks
  • Run nmtui to open user interface for connecting to networks

Bluetooth settings

  1. Enable bluetooth services if not done so already
systemctl enable --now bluetooth
  1. Automatically power on bluetooth adapter on boot by adding the following to /etc/bluetooth/main.conf:
[Policy]
AutoEnable=true
  1. Scan for bluetooth devices and connect
bluetoothctl scan on &
bluetoothctl connect <dev>

Audio settings

  • Audio mixer: pulsemixer
  • Sound server controller: pactl
  • Terms: Output = Sink, Input = Source

Manage Sound Devices

  • Find current sink/source with pactl get-default-(sink|source)
  • List all available sinks/sources with pactl list (sinks|sources)
  • Set sink/source with pactl set-default-(sink-source)

About

Personal configuration files for running a stylish Arch Linux desktop environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published