diff --git a/.github/README.md b/.github/README.md index 9c7049c..7274049 100644 --- a/.github/README.md +++ b/.github/README.md @@ -12,35 +12,39 @@

- AwesomeWM Logo - ~ AwesomeWM dotfiles ~ + AwesomeWM Dotfiles -Welcome to my AwesomeWM Dotfiles! so yeah now i'm using awesomewm, looks like i'll be use this wm forever. +Welcome to my AwesomeWM configuration files! -Still quite messy, because i'm still learning Lua. +so yeah now i'm using awesomewm, looks like i'll be use this wm forever. + +Because only this wm can satisfy me. Fyi, I use night colorscheme, and it's so beautiful. +These dotfiles are made with love, for sure. +


**Here are some details about my setup:** | Programs | Using | | ---------- | ----------------- | -| WM | awesome | +| WM | awesome-git | | OS | arch linux | | Terminal | alacritty | +| Shell | zsh | | Editor | neovim / vscode | | Compositor | picom | | Launcher | rofi | -### Here are the instructions you should follow to replicate my AwesomeWM setup. +


S E T U P -1. Install dependencies +1. Install dependencies and enable services + Dependencies @@ -49,18 +53,29 @@ Fyi, I use night colorscheme, and it's so beautiful. *Assuming your AUR helper is* `yay` ```shell - yay -S awesome-git picom-jonaburg-fix alacritty rofi todo-bin \ - acpi acpid acpi_call jq inotify-tools polkit-gnome xdotool xclip maim colord \ - brightnessctl alsa-utils alsa-tools pulseaudio pulseaudio-alsa playerctl --needed + yay -S awesome-git picom-ibhagwan-git alacritty rofi todo-bin acpi acpid \ + wireless_tools jq inotify-tools polkit-gnome xdotool xclip maim \ + brightnessctl alsa-utils alsa-tools pulseaudio lm_sensors \ + mpd mpc mpdris2 ncmpcpp playerctl --needed ``` + + Services + + ```shell + # For automatically launching mpd on login + systemctl --user enable mpd.service + systemctl --user start mpd.service + # For charger plug/unplug events (if you have a battery) + sudo systemctl enable acpid.service + sudo systemctl start acpid.service + ``` 2. Install needed fonts You will need to install a few fonts (mainly icon fonts) in order for text and icons to be rendered properly. Necessary fonts: - + **Iosevka** - [here](https://github.com/be5invis/Iosevka) + + **Iosevka** - [here](https://github.com/ryanoasis/nerd-fonts/) + **Icomoon** - [here](https://www.dropbox.com/s/hrkub2yo9iapljz/icomoon.zip?dl=0) + **Material** - [here](https://github.com/google/material-design-icons) @@ -83,26 +98,102 @@ Fyi, I use night colorscheme, and it's so beautiful. cp -r ./misc/. ~/ ``` -4. Lastly, log out from your current desktop session and log in into AwesomeWM. +4. Configure stuff + + The relevant files are inside your `~/.config/awesome` directory. + + + User preferences and default applications + + In `rc.lua` there is a *Default Applications* section where user preferences and default applications are defined. + You should change those to your liking. + + Note: For the weather widgets to work, you will also need to create an account on [openweathermap](https://openweathermap.org), get your key, look for your city ID, and set `openweathermap_key` and `openweathermap_city_id` accordingly. + +5. Lastly, log out from your current desktop session and log in into AwesomeWM.
+
+
+F E A T U R E S +These are the features included in my AwesomeWM setups! -## Acknowledgements + + Aesthetic `Dashboard` ngl. + + Notification Center + + Control Panel + + ToDo Reminder + + Battery Indicator + + PopUp Notifications + + Applications Launcher + + Custom mouse-friendly `ncmpcpp` UI with album art ofc. + + Word Clock Lockscreen with PAM Integration + + Some Tooltip Widget + + Hardware Monitor + + Beautiful `colorscheme` ikr, named `night` and created by [ner0z](https://github.com/ner0z) + +
+ +
+ +
+K E Y B I N D S + +I use super AKA Windows key as my main modifier. +also with alt, shift, and ctrl + +**Keyboard** + +| Keybind | Action | +|-----------------------------------------|-----------------------------------------------------------| +| super + enter | Spawn terminal | +| super + w | Spawn web browser | +| super + x | Spawn color picker | +| super + f | Spawn file manager | +| super + d | Launch applications launcher | +| super + shift + d | Toggle dashboard | +| super + q | Close client | +| super + ctrl + l | Toggle lock screen | +| super + [1-0] | View tag AKA change workspace (for you i3/bsp folks) | +| super + shift + [1-0] | Move focused client to tag | +| super + space | Select next layout | +| super + s | Set tiling layout | +| super + shift + s | Set floating layout | +| super + c | Center floating client | +| super + [arrow keys] | Change focus by direction | +| super + shift + f | Toggle fullscreen | +| super + m | Toggle maximize | +| super + n | Minimize | +| ctrl + shift + n | Restore minimized | +| alt + tab | Window switcher | + +
+ +**Mouse on the desktop** + +| Mousebind | Action | +|--------------------|--------------------------------------------| +| `left click` | Dismiss all notifications | +| `right click` | App drawer | +| `middle click` | Toggle Dashboard | +| `scroll up/down` | Cycle through tags | + +*... And many many more! for more information, you can check awesome/configuration/keys.lua* + +
+ +


+ +**Acknowledgements** + + - **Credits** + + [ner0z](https://github.com/ner0z) - **Special thanks to** - + [ner0z](https://github.com/ner0z) + + [ChocolateBread799](https://github.com/ChocolateBread799) + [JavaCafe01](https://github.com/JavaCafe01) - - **Contributors** - - - - - -
-
+


diff --git a/bin/xcolor-pick b/bin/xcolor-pick new file mode 100755 index 0000000..c5b382b --- /dev/null +++ b/bin/xcolor-pick @@ -0,0 +1,31 @@ +#!/usr/bin/env bash + +# ██╗ ██╗ ██████╗ ██████╗ ██╗ ██████╗ ██████╗ +# ╚██╗██╔╝██╔════╝██╔═══██╗██║ ██╔═══██╗██╔══██╗ +# ╚███╔╝ ██║ ██║ ██║██║ ██║ ██║██████╔╝ +# ██╔██╗ ██║ ██║ ██║██║ ██║ ██║██╔══██╗ +# ██╔╝ ██╗╚██████╗╚██████╔╝███████╗╚██████╔╝██║ ██║ +# ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═╝ +# color picker for X. +# Simple Script To Pick Color Quickly Using Gpick. +# Created By: https://github.com/rxyhn + +TEMP_DIR=/tmp/xcolor +MSG=${XDG_CACHE_HOME:-$HOME/.cache}/xcolor.msg + +EXPIRE_TIME=5000 + +main() { + + HEX_COLOR=$(gpick -pso --no-newline) + mkdir -p $TEMP_DIR + HEX="${HEX_COLOR#\#}" + FNAME="$TEMP_DIR/$HEX.png" + convert -size 100x100 xc:"$HEX_COLOR" "$FNAME" + COLOR_CODE="$HEX_COLOR" + + printf %s "$COLOR_CODE" | xclip -sel c + notify-send -a XColor --icon="$FNAME" xcolor-pick "$COLOR_CODE" --expire-time="$EXPIRE_TIME" +} + +main diff --git a/config/awesome/theme/picom.conf b/config/awesome/theme/picom.conf index 78cd247..342bbe4 100644 --- a/config/awesome/theme/picom.conf +++ b/config/awesome/theme/picom.conf @@ -1,4 +1,4 @@ -# Shadows +#========================= Shadows =========================# shadow = true; shadow-radius = 14; @@ -10,44 +10,64 @@ shadow-exclude = [ "class_g = 'slop'", "window_type = 'menu'", "window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c", - "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" + "_GTK_FRAME_EXTENTS@:c" ]; - -# Fading +#========================= Fading =========================# fading = true; fade-in-step = 0.03; fade-out-step = 0.03; -fade-delta = 3; +fade-delta = 5; no-fading-openclose = false no-fading-destroyed-argb = true fade-exclude = [ - "!window_type = 'dropdown_menu'" ]; -# Background-Blurring +#========================= Corners =========================# +corner-radius: 12; +rounded-corners-exclude = [ + "!window_type = 'normal'", + "class_g ?= 'rofi'", +]; -blur-kern = "11x11gaussian"; -blur-method = "dual_kawase"; -blur-strength = 3.0; -blur-background = false; -blur-background-frame = true; -blur-background-fixed = true; +#========================= Opacity =========================# +inactive-opacity = 1; +frame-opacity = 1.0; +inactive-opacity-override = false; +active-opacity = 1.0; + +focus-exclude = [ + "class_g = 'Cairo-clock'", + "class_g = 'Bar'", # lemonbar + "class_g = 'slop'" # maim +]; + +opacity-rule = [ + "100:class_g = 'Alacritty'", + "100:class_g = 'URxvt'", + "100:class_g = 'kitty'", + "100:class_g = 'Code'", + "100:class_g = 'discord'", + "100:class_g = 'firefox'", +]; + +#========================= Blurring =========================# +blur: { + kern = "11x11gaussian"; + method = "dual_kawase"; + strength = 8.0; + background = false; + background-frame = false; + background-fixed = false; +} blur-background-exclude = [ - "!window_type = 'splash'", - "window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c", - "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'" ]; - -# General Settings - +#========================= General Settings =========================# backend = "glx"; vsync = true; daemon = false; @@ -74,7 +94,7 @@ wintypes: tooltip = { fade = true; shadow = false; focus = true; }; menu = { fade = true; full-shadow = true; }; utility = { fade = true; full-shadow = true; }; - toolbar = {full-shadow = true;}; + toolbar = { full-shadow = true;}; dialog = { fade = true; full-shadow = true; }; dock = { fade = true; full-shadow = true;}; };