Skip to content

myagko/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instalation

  • Install dependencies:
  1. necessary
$ sudo pacman -S xorg xorg-xinit pulseaudio networkmanager bluez bluez-utils picom maim
  1. optional
$ sudo pacman -S alacritty nemo nemo-fileroller leafpad eom lxappearance
  • Install awesome-git package from aur (pikaur for example)
$ pikaur -S awesome-git
  • Start & enable network manager & bluez services
$ systemctl start NetworkManager
$ systemctl enable NetworkManager
$ systemctl start bluetooth
$ systemctl enable bluetooth
  • Clone repo
$ git clone --depth 1 https://github.com/myagko/dotfiles.git
  • Copy contens of dotfiles/home to your home folder (i use rsync instead of copying every folder with cp -r)
$ rsync -avhu ~/dotfiles/home/ ~/
  • Also dont forget to edit .xinitrc
# monitor(s) setup
xrandr --output DisplayPort-0 --mode 1920x1080 --rate 165.00 &
  • Edit ~/.config/awesome/user.lua as you need, you can set wm theme, choose default apps, and set data for weather widget

Keybinds

Keybinding Description
Mod+Shift+r Restart awesomewm
Mod+Tab Switch to next client by index
Mod+Shift+Tab Switch to previus client by index
Mod+Ctrl+Tab Restore minimized client
Mod+Shift+s Swap with next client by index
Mod+Ctrl+s Swap with previous client by index
Mod+Shift+a Increase the number of master clients
Mod+Ctrl+a Decrease the number of master clients
Mod+Shift+q Increase the number of columns
Mod+Ctrl+q Decrease the number of columns
Mod+Shift+e Increase master width factor
Mod+Ctrl+e Decrease master width factor
Mod+Ctrl+Shift+e Reset master width factor
Mod+Space Switch layout
Mod+1...9 Only view tag
Mod+Shift+1...9 Move focused client to tag
Mod+z Close client
Mod+x Minimize client
Mod+c (Un)Maximize client
Mod+v Toggle client fullscreen
Mod+b Toggle client ontop
Mod+n Toggle client floating
Mod+m Move client to center
Mod+d Open app launcher
Mod+q Open powermenu
Mod+Return Open terminal
Mod+Print Take screenshot
Mod+Shift+Print Take screenshot area

Additional customization

  • Icons and themes
  1. Install themix-full-git from aur
  2. Export icons and theme from user presets
  • Cursors (inkscape required) (source)
$ cd ~/dotfiles/extra/cursor_toolbox
$ ~/dotfiles/extra/cursor_toolbox/render-pngs.py ~/dotfiles/extra/cursor_toolbox/sharp_dark.svg
$ ~/dotfiles/extra/cursor_toolbox/make_dark.sh
$ cp -r sharp_cursors_dark ~/.icons
  • Firefox css
  1. Search about:config.
  2. toolkit.legacyUserProfileCustomizations.stylesheets, layers.acceleration.force-enabled, gfx.webrender.all, svg.context-properties.content.enabled change to True.
  3. Copy ~/dotfiles/extra/mozilla/chrome to ~/.mozilla/firefox/XXXXXXX.default-release/.
  • Firefox startpage
  1. Edit /usr/lib/firefox/autoconfig.cfg
var {classes:Cc,interfaces:Ci,utils:Cu} = Components;
try {
  Cu.import("resource:///modules/AboutNewTab.jsm");
  var newTabURL = "file:///home/username/yourfile.html";
  AboutNewTab.newTabURL = newTabURL;
} catch(e){Cu.reportError(e);}
  1. Edit /usr/lib/firefox/defaults/pref/autoconfig.js
pref("general.config.filename", "autoconfig.cfg");
pref("general.config.obscure_value", 0);
pref("general.config.sandbox_enabled", false);
  1. Set homepage at firefox settings
  • Apply cursors, icons and gtk themes with lxappearance