Code Monkey home page Code Monkey logo

awesomewm-config's Introduction

awesomewm-config

My configuration for git version of awesome WM

Screenshots

alt text With sidebar: alt text Wallpaper can be found in images/ folder.

Features

  • Sidebar

    • Toggle with "Super + c" or clicking on clock on the top bar
    • Calendar is scrollable
  • Hidable tray

    • Toggle with "Super + q" or by cliking on arrow near the clock
    • Hides automaticaly after some time
  • Player widget

    • Displayed only when spotify is running
    • Left mouse button -> next track
    • Right mouse button -> previous track
    • Central mouse button -> toggle pause
  • Tags renaming

    • Press "Super + i" to rename current tag
    • Your tag names will be saved on disk and used on next startup

Dependencies

Dependence Explanation
maim Used in screenshots script
trans Used in translation scripts
xclip Get selection for translation script
ttf-font-awesome Icons
jq Parse json in weather widget
lm_sensors Temperature monitoring for system_info widget
feh Set wallpaper (you need to choose image as wallpaper using feh)
rofi Desktop files launcher
dunst Notification sending

Also, you need sign up on openweathermap.org and get API key for weather widget work.

How to setup

  1. Install awesome wm. You must have a git version.
    • Arch-based: available in AUR
    • Other distros: GitHub
  2. Get dependencies:
    • Arch-based: sudo pacman -S maim xclip jq lm_sensors feh dunst rofi ttf-font-awesome translate-shell
  3. Git clone configuration files in your config directory and rename directory in awesome.
   cd .config
   git clone https://github.com/kotbaton/awesomewm-config.git
   mv awesomewm-config awesome
   cd awesome
  1. Create settings.lua and use your favorite editor to set variables you need. You can find tips in comments in settings.lua file.
   cp settings_default.lua settings.lua
   vim settings.lua
  1. Restart awesome with Super+Ctrl+r. Press Super+Shift+a to get hotkeys help.

Directories structure explanation

  • rc.lua — main configuration file. In this file you can edit your layouts set (but not forget to uncomment icons for it in theme.lua file), edit top panel configuration, configure hotkeys, configure title bar and set rules for clients.
  • gruvbox-theme — theme directory.
    • theme.lua — edit this file if you want to change some colors.
  • scripts — bash scripts for different purposes.
  • modules
    • layouts — my custom layouts. Must be uncommented in modules/init.lua
    • menus — functions for build clientmenu and mainmenu.
    • tools — functions for read and write tagnames and third-party script for application menu building.
    • sidebar — containts sidebar layout and widgets which are used in it.
    • widgets — different widgets.
      • battery.lua
      • menu_button.lua — button in left part of top panel. You can change text on this button in this file.
      • player.lua — widget which display text provided by settings.player_commands.GET_TRACK_CMD. It must work for any player if you set player_commands in settings in right way. Was tested for cmus and spotify.
      • tray.lua — tray widget in right part of top panel. In this file you can change text on tray button.
      • volume.lua — module with volume widget and volume control functions.

awesomewm-config's People

Contributors

kotbaton avatar

Stargazers

Ushakiran avatar Javed Khan avatar  avatar Hadi Ali avatar yanussy avatar Fudzer M Huda avatar Teruki TADA avatar ProfessorSparrs avatar # avatar Cristobal Rodriguez avatar Borna Šoštarić avatar  avatar  avatar  avatar  avatar Sviatoslav Liashenko avatar  avatar Ninh Bình avatar  avatar  avatar Stefan Rauch avatar Paweł Kwiek avatar  avatar  avatar  avatar Rodrigo Stuchi avatar  avatar Thomas Leon Highbaugh avatar  avatar Max avatar  avatar Mukesh Kr. Chaudhary avatar Gabriel B. Santos avatar Iddo avatar Ben Smith avatar Yifan Song avatar George Svitenko avatar Jean Guirro avatar

Watchers

James Cloos avatar

awesomewm-config's Issues

Dunst not a dependency

Dunst does not seem to be used in this config and should be removed from the list of dependencies.

no luck nil value lua issues

Spent the morning going through all the files and adjusting things here and there and had some errors wouldnt load at all, patched those and the desktop and tag bar and voume widget worked, plus the mouse launch menu and hotkeys seemed right.

However threw a bunchb of nil value errors. in the addon .luas like weather and calender and such i beleive was all of them.

Dont have any more time to spend trying to debug, I do really like awesome wm after going from kde > gnome > i3 > bspwm > awesome but god the lua is realy hard to work with especially if youve never worked with anythin but c++.

What did work, looked good and what could be inside of it is awesome pun intended. But just wont really function so im onto the next one for now, need a good base for my system to start tweaking for the first time ever rather than just suing arcolinux's default.

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.