lenovo_x1_carbon_2015_fedora_bspwm
This is an old revision of the document!
Table of Contents
~~TOC~~
Lenovo X1 Carbon 2015 - Fedora / bspwm
Install bspwm and sxhkd
- See bpswm
Disable services i don't use
- Disable fprintd:
dnf erase fprintd
X DPI
- Determine display size
xdpyinfo | grep -B 2 resolution
and configure it in/etc/X11/xorg.conf.d/90-monitor.conf
:Section "Monitor" Identifier "<default monitor>" DisplaySize 325 182 # In millimeters
X Cursor
- Set cursor on bspwm startup in
bspwmrc
:xsetroot -xcf /usr/share/icons/whiteglass/cursors/left_ptr 48
Fonts
- Edit
~/.Xresources
:! Fonts {{{ Xft.antialias: true Xft.hinting: true Xft.rgba: rgb Xft.hintstyle: hintfull Xft.dpi: 200 ! }}} urxvt.font: xft:DejaVuSansMono:size=8
Grub font size
- Install grub2-tools:
sudo dnf install grub2-tools
- Generate font for grub:
sudo grub2-mkfont -s 32 -o /boot/grub2/LiberationMono.pf2 /usr/share/fonts/liberation/LiberationMono-Regular.ttf
- Edit grub config:
sudo vi /etc/default/grub #add the following lines: GRUB_GFXMODE=auto GRUB_GFXPAYLOAD=keep GRUB_GFXPAYLOAD_LINUX=keep GRUB_FONT=/boot/grub2/LiberationMono.pf2 GRUB_GFXPAYLOAD_LINUX=keep GRUB_TERMINAL=gfxterm
- Generate new config:
sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Wallpaper
- Install feh:
dnf install feh
- Configure feh in
bspwmrc
:feh --bg-center ~/Pictures/gradient-grey-wallpaper-for-2560x1440-62-539.jpg
bspwm config
- Follow focus:
bspc config focus_follows_pointer true
- Larger gaps / widths:
bspc config border_width 4 bspc config window_gap 24
- Focused border color:
bspc config focused_border_color "#EB0000"
sxhkd config
Brightness
- Install xbacklight:
sudo dnf install xbacklight
- Add the configuration to
~/.config/sxhkd/sxhkdrc
:XF86MonBrightnessDown xbacklight -dec 10 XF86MonBrightnessUp xbacklight -inc 10
Audio
- Add the configuration to
~/.config/sxhkd/sxhkdrc
:XF86AudioLowerVolume amixer -D pulse sset Master 5%- XF86AudioRaiseVolume amixer -D pulse sset Master 5%+ XF86AudioMute amixer -D pulse sset Master 1+ toggle ====Install a bar==== * Download and install the following utilities:<code> git clone https://github.com/baskerville/xdo.git git clone https://github.com/baskerville/sutils.git git clone https://github.com/baskerville/xtitle.git git clone https://github.com/LemonBoy/bar.git cd <directory> make sudo make install
- Copy the scripts in
bspwm/examples/panel/panel
andbspwm/examples/panel/panel_bar
to some directory. - Add this directory to your $PATH using
export PATH=$PATH:/path/to/panel/scripts
.
lenovo_x1_carbon_2015_fedora_bspwm.1467102921.txt.gz · Last modified: 2016/06/28 08:35 by admin