dotfiles/README.md
2022-04-04 23:37:29 +02:00

3.7 KiB

dotfiles - My tiling spectrwm, i3 & sway configurations (for Arch/Devuan/Debian)

My configurations:

i3-polybar

Installation:

  • Install dependencies:

  • Install configuration (dotfiles):

    • Clone repository and copy files to your home:

      $ git clone https://github.com/q3aql/dotfiles
      $ cd dotfiles
      $ chmod +x install-config.sh
      $ ./install-config.sh
      $ cp -rfv ~/.config/i3/config.polybar ~/.config/i3/config
      

Configuration:

  • Network Manager (Connman or NetWorkManager):

    • By default is enabled NetWorkManager as network manager:

    • If you prefer Connman, edit the file ~/.config/i3/config:

      #exec --no-startup-id connman-gtk --tray &
      exec --no-startup-id nm-applet &
      
  • Monitor & resolution:

    • The configuration load my monitor configuration:

    • Use the command xrandr for show your config & edit the file ~/.config/i3/startxrandr.sh:

      sleep 2
      xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
      xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
      
  • Wallpaper:

    • By default, the config load wallpaper on ~/wallpapers/abstract.png:

    • Edit ~/.config/i3/config for set your favorite wallpaper:

      exec --no-startup-id "sleep 3 && nitrogen --set-scaled ~/wallpapers/abstract.png"
      
  • Set Screensaver (Optional):

    • The configuration file set xautolock with 20 minutes as screensaver:

    • You can change the program between xautolock and xscreensaver editing the file ~/.config/i3/startscreensaver.sh:

      # Basic configuration variables
      ScreensaverProgram="xautolock" # Options: xautolock or xscreensaver
      ScreensaverTime="20" # 20 minutes (only for xautolock)
      
  • Enable Gaps (Optional):

    • My config work on vanilla i3wm and gaps are disabled.

    • You can enable it editing 2 lines on file ~/.config/i3/config and pressing Win+Shift+r:

      #gaps inner 6
      #gaps outer 2
      

Keys configuration:

My list of extra combinations:

- Super + d = Open Dmenu
- Super + p = Open Rofi (run mode)
- Super + q = Open Rofi (window mode)
- Super + o = Open Rofi (drun mode)
- Super + b = Open Firefox
- Super + n = Open PCManFM
- Super + t = Open Rofi Theme Selector
- Super + g = Open Geany
- Super + m = Open Telegram 
- Super + z = Open Nitrogen 
- Super + x = Open LXRandr
- Super + u = Open Xterm
- Super + i = Open LXAppearance
- Super + c = Open NetWorkManager
- Volume-Up = Volume +5
- Volume-Down = Volume -5
- VolumeMute = Mute Volume
- Super + Ctrl + Shift + e = Poweroff screen
- Super + Shift + e = Logout
- Super + Backspace = Open menu Logout/Lock/Reboot/Shutdown