Skip to content

Commit

Permalink
feat: aesthetic stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rxyhn committed May 31, 2022
1 parent e8bbd88 commit 027c111
Show file tree
Hide file tree
Showing 22 changed files with 487 additions and 420 deletions.
131 changes: 36 additions & 95 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,105 +179,15 @@ And run this command for your system to detect the newly installed fonts.

</details>

<!-- GALLERY -->
## :ocean: ‎ <samp>Gallery</samp>

| <b>Simple, Minimalist and Modern Bar</b> |
| --- |
| <a href="#--------"><img src="assets/wibar.png" width="500px" alt="dashboard preview"></a> |

| <b>Aesthetic Dashboard with neat grid layout and Notification Center</b> |
| --- |
| <a href="#--------"><img src="assets/dashboard.png" width="500px" alt="dashboard preview"></a> |

| <b>Complete information, Info Center</b>
| --- |
| <a href="#--------"><img src="assets/info-center.png" width="500px" alt="dashboard preview"></a> |

| <b>MacOS like control center</b> |
| --- |
| <a href="#--------"><img src="assets/control-center.png" width="500px" alt="control center preview"></a> |

| <b>Custom mouse-friendly ncmpcpp UI</b> |
| --- |
| <a href="#--------"><img src="assets/ncmpcpp.png" width="500px" alt="ncmpcpp preview"></a> |

| <b>Lockscreen with [PAM Integration](https://github.com/RMTT/lua-pam)</b> |
| --- |
| <a href="#--------"><img src="assets/lockscreen.png" width="500px" alt="word clock lockscreen preview"></a> |

<!-- MISCELLANEOUS -->
## :four_leaf_clover: ‎ <samp>Miscellaneous</samp>

<details>
<summary><b>Configure stuff</b></summary>

> The relevant files are inside your `~/.config/awesome` directory.
+ User preferences and default applications

In `configuration/apps.lua` there is a *Default Applications* section where user preferences and default applications are defined.
You should change those to your liking.

In `configuration/config.lua` there is a *Important Variable* which is used for weather widgets and github activity widgets.

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 the coordinates, and set the key, city ID, and coordinates accordingly.

</details>

<details>
<summary><b>Keybinds</b></summary>

I use <kbd>super</kbd> AKA Windows key as my main modifier.
also with <kbd>alt, shift, and ctrl</kbd>

**Keyboard**

| Keybind | Action |
|-----------------------------------------|-----------------------------------------------------------|
| <kbd>super + enter</kbd> | Spawn terminal |
| <kbd>super + grave</kbd> | Spawn music client |
| <kbd>super + d</kbd> | Spawn application launcher |
| <kbd>super + shift + w</kbd> | Spawn web browser |
| <kbd>super + shift + x</kbd> | Spawn color picker |
| <kbd>super + shift + f</kbd> | Spawn file manager |
| <kbd>super + shift + d</kbd> | Toggle central panel |
| <kbd>super + shift + t</kbd> | Toggle system tray |
| <kbd>super + q</kbd> | Close client |
| <kbd>super + x</kbd> | Exit screen |
| <kbd>super + ctrl + l</kbd> | Lock screen |
| <kbd>super + [1-0]</kbd> | View tag AKA change workspace (for you i3/bsp folks) |
| <kbd>super + shift + [1-0]</kbd> | Move focused client to tag |
| <kbd>super + space</kbd> | Select next layout |
| <kbd>super + s</kbd> | Set tiling layout |
| <kbd>super + shift + s</kbd> | Set floating layout |
| <kbd>super + c</kbd> | Center floating client |
| <kbd>super + [arrow keys]</kbd> | Change focus by direction |
| <kbd>super + f</kbd> | Toggle fullscreen |
| <kbd>super + m</kbd> | Toggle maximize |
| <kbd>super + n</kbd> | Minimize |
| <kbd>ctrl + super + n</kbd> | Restore minimized |
| <kbd>alt + tab</kbd> | Window switcher |

<br>
<summary><b>VSCode Themes</b></summary>

**Mouse on the desktop**

| Mousebind | Action |
|--------------------|--------------------------------------------|
| `left click` | Dismiss all notifications |
| `right click` | Main menu |
| `middle click` | Toggle central panel |
| `scroll up/down` | Cycle through tags |

*For more information check `awesome/configuration/keys.lua`*

</details>

<details>
<summary><b>VSCode</b></summary>

<img src="https://user-images.githubusercontent.com/93292023/170319552-a42b920d-9f59-44d9-a9ad-b3aeed55bf6a.png" alt="VSCode Preview" width="500px">
<a href="#--------">
<img src="https://user-images.githubusercontent.com/93292023/170319552-a42b920d-9f59-44d9-a9ad-b3aeed55bf6a.png" alt="VSCode Preview" width="500px">
</a>

:milky_way: ‎ <samp>Aesthetic VSCode</samp>

Expand Down Expand Up @@ -314,10 +224,41 @@ EndSection

</details>

<!-- GALLERY -->
## :ocean: ‎ <samp>Gallery</samp>

| <b>Simple, Minimalist and Modern Bar</b> |
| --- |
| <a href="#--------"><img src="assets/wibar.png" width="500px" alt="dashboard preview"></a> |

| <b>Aesthetic Dashboard with neat grid layout and Notification Center</b> |
| --- |
| <a href="#--------"><img src="assets/dashboard.png" width="500px" alt="dashboard preview"></a> |

| <b>Complete information, Info Center</b>
| --- |
| <a href="#--------"><img src="assets/info-center.png" width="500px" alt="dashboard preview"></a> |

| <b>MacOS like control center</b> |
| --- |
| <a href="#--------"><img src="assets/control-center.png" width="500px" alt="control center preview"></a> |

| <b>Custom mouse-friendly ncmpcpp UI</b> |
| --- |
| <a href="#--------"><img src="assets/ncmpcpp.png" width="500px" alt="ncmpcpp preview"></a> |

| <b>Lockscreen with [PAM Integration](https://github.com/RMTT/lua-pam)</b> |
| --- |
| <a href="#--------"><img src="assets/lockscreen.png" width="500px" alt="word clock lockscreen preview"></a> |

| <b>Minimalist Exitscreen</b> |
| --- |
| <a href="#--------"><img src="assets/exitscreen.png" width="500px" alt="exitscreen preview"></a> |

<!-- HISTORY -->
## :japan: ‎ <samp>History</samp>

Ngl this is started when im feel bored lol and decided to start using Linux, more precisely in January 2022. Fyi im a **new Linux user,** it was in the [Linuxer Desktop Art](https://facebook.com/groups/linuxart) i saw a linux setup that caught my eye, then I'm interested in trying something similar, So yeaaaaaah this is my current setup, my purpose of doing this is to hone my skills to make an attractive UI also as a hobby. I wanna say thank you to those of you who like and love my setup <3
Ngl this is started when im feel bored lol and decided to start using Linux, more precisely in January 2022. Fyi im a **new Linux user,** when it's in [Linuxer Desktop Art](https://facebook.com/groups/linuxart) i saw a linux setup that caught my eye, then I'm interested in and trying something similar, So yeaaaaaah this is my current setup, my purpose of doing this is to hone my skills to make an attractive UI and also as a hobby. I wanna say thank you to those of you who like and love my setup <3

<pre align="center">
<a href="#japan--history">
Expand Down
Binary file added .github/assets/exitscreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/assets/lockscreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 0 additions & 16 deletions config/awesome/configuration/apps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,6 @@ return {
app_launcher = "rofi -no-lazy-grab -show drun -modi drun -theme " .. config_dir .. "configuration/rofi.rasi",
},

-- List of apps to start once on start-up
run_on_start_up = {
-- Compositor
"picom -b --experimental-backends --config " .. config_dir .. "/configuration/picom.conf",
-- Network Manager applet
"nm-applet",
-- Blueman applet
"blueman-applet",
-- Music server
"mpd",
-- Playertctl support for mpd
"mpDris2",
-- Polkit and keyring
"/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &",
},

-- List of binaries/shell scripts that will execute for a certain task
utils = {
-- Fullscreen screenshot
Expand Down
51 changes: 51 additions & 0 deletions config/awesome/configuration/autostart.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
local awful = require("awful")
local filesystem = require("gears.filesystem")
local config_dir = filesystem.get_configuration_dir()

local function run_once_pgrep(cmd)
local findme = cmd
local firstspace = cmd:find(" ")
if firstspace then
findme = cmd:sub(0, firstspace - 1)
end
awful.spawn.easy_async_with_shell(string.format("pgrep -u $USER -x %s > /dev/null || (%s)", findme, cmd))
end

local function run_once_ps(findme, cmd)
awful.spawn.easy_async_with_shell(string.format("ps -C %s|wc -l", findme), function(stdout)
if tonumber(stdout) ~= 2 then
awful.spawn(cmd, false)
end
end)
end

local function run_once_grep(command)
awful.spawn.easy_async_with_shell(string.format("ps aux | grep '%s' | grep -v 'grep'", command), function(stdout)
if stdout == "" or stdout == nil then
awful.spawn(command, false)
end
end)
end

-- List of apps to start once on start-up
local autostart_app = {
-- Compositor
"picom -b --experimental-backends --config " .. config_dir .. "/configuration/picom.conf",
-- Music server
"mpd",
-- Playertctl support for mpd
"mpDris2",
}

for _, app in ipairs(autostart_app) do
run_once_pgrep(app)
end

-- Polkit and keyring
run_once_ps("polkit-gnome-authentication-agent-1", "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1")

-- Bluetooth
run_once_grep("blueman-applet")

-- Network Manager
run_once_grep("nm-applet")
1 change: 1 addition & 0 deletions config/awesome/configuration/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,6 @@ awful.screen.connect_for_each_screen(function(s)
end)

-- Import configuration stuff
require("configuration.autostart")
require("configuration.keys")
require("configuration.ruled")
Loading

0 comments on commit 027c111

Please sign in to comment.