Code Monkey home page Code Monkey logo

dotfiles_srk's Introduction

Instalation

  • Install dependencies
$ sudo pacman -S xorg xorg-xinit pulseaudio networkmanager bluez bluez-utils \
rsync alacritty picom maim imagemagick lxappearance polkit-gnome
  • Install awesome-git package from aur (pikaur for example)
$ pikaur -S awesome-git
  • Start & enable network manager & bluez services
$ systemctl start NetworkManager.service
$ systemctl enable NetworkManager.service
$ systemctl start bluetooth
$ systemctl enable bluetooth
  • Keyboard layouts, edit /etc/X11/xorg.conf.d/00-keyboard.conf
Section "InputClass"
    Identifier "system-keyboard"
    MatchIsKeyboard "on"
    Option "XkbLayout" "us,ru"
    Option "XkbModel" "pc105"
    Option "XkbOptions" "grp:alt_shift_toggle"
EndSection
  • Setup home dir (before running rsync its better to make backup of your home directory, otherwise some files will be replaced)
$ git clone --depth 1 https://github.com/myagko/dotfiles.git
$ rsync -avhu ~/dotfiles/home/ ~/
  • Also dont forget to edit .xinitrc, maybe you have different monitor(s) so you need different xrandr options
xrandr --output DisplayPort-0 --mode 1920x1080 --rate 165.00 &
  • Edit ~/.config/awesome/user.lua as you need, you can set theme, choose default apps, and set data for weather widget
Keybindings
Keybinding Description
Mod+Shift+r Restart awesomewm
Mod+Tab switch client
Mod+b move client to center
Mod+v toggle client fullscreen
Mod+z close client
Mod+x minimize client
Mod+c (un)maximize client
Mod+1...9 only view tag
Mod+Shift+1...9 move focused client to tag
Mod+d open app launcher
Mod+q open powermenu
Mod+w open terminal
Print take screenshot
Shift+Print take screenshot area
  • Tiling keybinds (now disabled)
Keybinding Description
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
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 cursor, icons and gtk themes with lxappearance
Gallery

Awesomewm widgets

Firefox custom css

dotfiles_srk's People

Contributors

myagko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.