From bfdb4719d37610d3935485c7ce3c6139a1ef8d2e Mon Sep 17 00:00:00 2001 From: purhan Date: Sat, 29 Aug 2020 09:04:40 +0530 Subject: [PATCH] update README.md & change clone command to include depth --- .config/awesome/README.md | 4 ++-- .config/awesome/layout/clock-panel.lua | 6 +++--- .config/awesome/layout/date-panel.lua | 6 +++--- .config/awesome/layout/left-panel/init.lua | 6 +++--- .config/awesome/layout/mode-panel.lua | 6 +++--- .config/awesome/layout/systemtray-panel.lua | 6 +++--- .config/awesome/layout/tasklist-panel.lua | 2 +- .config/awesome/layout/volume-panel.lua | 4 ++-- .config/awesome/layout/workspace-panel.lua | 4 ++-- RICE/redhound/README.md | 21 +++++++++++++-------- RICE/werewolf/README.md | 2 +- assistant.sh | 2 +- 12 files changed, 37 insertions(+), 32 deletions(-) diff --git a/.config/awesome/README.md b/.config/awesome/README.md index fa08d5b..e9cb37e 100644 --- a/.config/awesome/README.md +++ b/.config/awesome/README.md @@ -1,5 +1,5 @@ ## Awesome WM Config -![](https://raw.githubusercontent.com/Purhan/dotfiles/master/RICE/werewolf/Screenshot.png) - ### DO NOT CLONE FROM HERE, GO TO [THIS LINK](https://github.com/Purhan/dotfiles/tree/master/RICE/) TO INSTALL A STABLE CONFIGURATION + +![](https://raw.githubusercontent.com/Purhan/dotfiles/master/RICE/werewolf/Screenshot.png) diff --git a/.config/awesome/layout/clock-panel.lua b/.config/awesome/layout/clock-panel.lua index c999f5f..7ff6cdf 100644 --- a/.config/awesome/layout/clock-panel.lua +++ b/.config/awesome/layout/clock-panel.lua @@ -11,14 +11,14 @@ local clock_widget = wibox.container.margin(textclock, dpi(8), dpi(8), dpi(8), dpi(8)) local ClockPanel = function(s, offset) - local offsetx = 0 - if offset == true then offsety = dpi(12) end + local offsetx = -dpi(176) + if offset == true then offsety = dpi(4) end local panel = wibox({ ontop = false, screen = s, height = dpi(32), width = dpi(48), - x = s.geometry.width - dpi(184), + x = s.geometry.width + offsetx, y = s.geometry.y + offsety, stretch = false, bg = beautiful.primary.hue_900, diff --git a/.config/awesome/layout/date-panel.lua b/.config/awesome/layout/date-panel.lua index d18431d..7ea55ca 100644 --- a/.config/awesome/layout/date-panel.lua +++ b/.config/awesome/layout/date-panel.lua @@ -15,14 +15,14 @@ local date_widget = wibox.container.margin(textclock, dpi(8), dpi(8), dpi(8), dpi(8)) local DatePanel = function(s, offset) - local offsetx = dpi(128) - local offsety = dpi(12) + local offsetx = -dpi(122) + local offsety = dpi(4) local panel = wibox({ ontop = false, screen = s, height = dpi(32), width = dpi(80), - x = s.geometry.width - dpi(130), + x = s.geometry.width + offsetx, y = s.geometry.y + offsety, stretch = false, bg = beautiful.primary.hue_200, diff --git a/.config/awesome/layout/left-panel/init.lua b/.config/awesome/layout/left-panel/init.lua index 5decf78..648b51e 100644 --- a/.config/awesome/layout/left-panel/init.lua +++ b/.config/awesome/layout/left-panel/init.lua @@ -7,13 +7,13 @@ local dpi = require('beautiful').xresources.apply_dpi local left_panel = function(screen) local action_bar_width = dpi(32) local panel_content_width = dpi(400) - local offsety = dpi(12) + local offsety = dpi(4) local panel = wibox { screen = screen, width = dpi(32), height = dpi(32), - x = screen.geometry.x + 12, + x = screen.geometry.x + 4, y = screen.geometry.y + offsety, ontop = false, bg = beautiful.primary.hue_900, @@ -22,7 +22,7 @@ local left_panel = function(screen) panel.opened = false - panel:struts({left = dpi(0), top = dpi(48)}) + panel:struts({left = dpi(0), top = dpi(32)}) local backdrop = wibox { ontop = true, diff --git a/.config/awesome/layout/mode-panel.lua b/.config/awesome/layout/mode-panel.lua index 62db873..588678f 100644 --- a/.config/awesome/layout/mode-panel.lua +++ b/.config/awesome/layout/mode-panel.lua @@ -25,15 +25,15 @@ end local ModePanel = function(s, offset) local offsetx = 0 if offset == true then - offsetx = dpi(512) - offsety = dpi(12) + offsetx = -dpi(36) + offsety = dpi(4) end local panel = wibox({ ontop = false, screen = s, height = dpi(32), width = dpi(32), - x = s.geometry.width - dpi(44), + x = s.geometry.width + offsetx, y = s.geometry.y + offsety, stretch = false, bg = beautiful.primary.hue_900, diff --git a/.config/awesome/layout/systemtray-panel.lua b/.config/awesome/layout/systemtray-panel.lua index 323f7bc..78d37a8 100644 --- a/.config/awesome/layout/systemtray-panel.lua +++ b/.config/awesome/layout/systemtray-panel.lua @@ -19,15 +19,15 @@ systray:set_base_size(32) local TopPanel = function(s, offset) local offsetx = 0 if offset == true then - offsetx = dpi(128) - offsety = dpi(12) + offsetx = -dpi(310) + offsety = dpi(4) end local panel = wibox({ ontop = false, screen = s, height = dpi(32), width = dpi(128), - x = s.geometry.width - dpi(318), + x = s.geometry.width + offsetx, y = s.geometry.y + offsety, stretch = false, bg = beautiful.primary.hue_900, diff --git a/.config/awesome/layout/tasklist-panel.lua b/.config/awesome/layout/tasklist-panel.lua index 26a2ca3..5054de6 100644 --- a/.config/awesome/layout/tasklist-panel.lua +++ b/.config/awesome/layout/tasklist-panel.lua @@ -44,7 +44,7 @@ local TasklistPanel = function(s, offset) local offsetx = 0 if offset == true then offsetx = dpi(512) - offsety = dpi(12) + offsety = dpi(4) end local panel = wibox({ ontop = false, diff --git a/.config/awesome/layout/volume-panel.lua b/.config/awesome/layout/volume-panel.lua index 6ab3bc2..fe25767 100644 --- a/.config/awesome/layout/volume-panel.lua +++ b/.config/awesome/layout/volume-panel.lua @@ -18,8 +18,8 @@ local volume_percentage_widget = wibox.container.background( require('widget.volume.volume-percentage')) local VolumePanel = function(s, offset) - local offsetx = dpi(236) - if offset == true then offsety = dpi(12) end + local offsetx = dpi(228) + if offset == true then offsety = dpi(4) end local panel = wibox({ ontop = false, screen = s, diff --git a/.config/awesome/layout/workspace-panel.lua b/.config/awesome/layout/workspace-panel.lua index fd82557..e8ae8d4 100644 --- a/.config/awesome/layout/workspace-panel.lua +++ b/.config/awesome/layout/workspace-panel.lua @@ -9,8 +9,8 @@ local dpi = require('beautiful').xresources.apply_dpi local WorkspacePanel = function(s, offset) local offsetx = 0 if offset == true then - offsetx = dpi(50) - offsety = dpi(12) + offsetx = dpi(42) + offsety = dpi(4) end local panel = wibox({ ontop = false, diff --git a/RICE/redhound/README.md b/RICE/redhound/README.md index 27b6d6b..dd9c355 100644 --- a/RICE/redhound/README.md +++ b/RICE/redhound/README.md @@ -1,4 +1,3 @@ - ## AwesomeWM Rice :) ![](https://i.redd.it/ck8zw9ypzph51.png) @@ -6,15 +5,17 @@ You're probably here from reddit... Let's get straight to the point. ## Installation + ### 1) Install the dependencies + - [AwesomeWM](https://awesomewm.org/) as the window manager - [Roboto](https://fonts.google.com/specimen/Roboto) as the **font** - [Rofi](https://github.com/DaveDavenport/rofi) for the app launcher - [Compton fork](https://github.com/tryone144/compton) for the compositor (blur and animations) - [i3lock-fancy](https://github.com/meskarune/i3lock-fancy) the lockscreen application - [xclip](https://github.com/astrand/xclip) for copying screenshots to clipboard -- __gnome-keyring-daemon__ and a __policykit-agent__ (by default policykit-1-gnome is enabled) -- (Optional) __qt5-styles-gtk2__ or __qt5-styles-plugins__ for making QT and KDE applications look the same as gnome applications +- **gnome-keyring-daemon** and a **policykit-agent** (by default policykit-1-gnome is enabled) +- (Optional) **qt5-styles-gtk2** or **qt5-styles-plugins** for making QT and KDE applications look the same as gnome applications - (Optional) [Materia](https://github.com/nana-4/materia-theme) as GTK theme - (Optional) [Papirus Dark](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme) as icon theme - (Optional) [lxappearance](https://sourceforge.net/projects/lxde/files/LXAppearance/) to set up the gtk and icon theme @@ -22,19 +23,23 @@ Let's get straight to the point. - (Optional) [kde-spectacle](https://kde.org/applications/utilities/org.kde.spectacle) my personal screenshot utility of choice, can be replaced by whichever you want, just remember to edit the screenshot utility script ### 2) Clone the configuration + Run the following commands in the terminal. This also creates a backup for any pre-existing configuration. + ``` -git clone https://github.com/purhan/dotfiles.git +git clone --depth 1 https://github.com/purhan/dotfiles.git cp ~/.config/awesome ~/.config/awesome_backup mv -a dotfiles/RICE/redhound/. ~/.config/awesome rm -rf dotfiles ``` ### 3) Set the themes + Start **lxappearance** to active the **icon** theme and **GTK** theme Note: for cursor theme, edit `~/.icons/default/index.theme` and `~/.config/gtk3-0/settings.ini`, for the change to also show up in applications run as root, copy the 2 files over to their respective place in `/root`. ### 4) Same theme for Qt/KDE applications and GTK applications, and fix missing indicators + First install `qt5-style-plugins` (or `qt5-style-gtk2`) and add this to the bottom of your `/etc/environment` ```bash @@ -44,7 +49,7 @@ QT_QPA_PLATFORMTHEME=gtk2 The first variable fixes most indicators (especially electron based ones!), the second tells Qt and KDE applications to use your gtk2 theme set through lxappearance. -* **Credits** The original [fork](https://github.com/HikariKnight/material-awesome) -* **Wallpaper**: [Quiet Household](https://www.behance.net/gallery/80472545/Your-Home?tracking_source=search_projects_recommended%7Cmountain%20house%20wallpaper) by [Sergey Bolsun](https://www.behance.net/bolsun) -* **GTK**: [Numix-Dark](https://github.com/numixproject/numix-gtk-theme-dark) -* **Icons**: [Papirus](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme) +- **Credits** The original [fork](https://github.com/HikariKnight/material-awesome) +- **Wallpaper**: [Quiet Household](https://www.behance.net/gallery/80472545/Your-Home?tracking_source=search_projects_recommended%7Cmountain%20house%20wallpaper) by [Sergey Bolsun](https://www.behance.net/bolsun) +- **GTK**: [Numix-Dark](https://github.com/numixproject/numix-gtk-theme-dark) +- **Icons**: [Papirus](https://github.com/PapirusDevelopmentTeam/papirus-icon-theme) diff --git a/RICE/werewolf/README.md b/RICE/werewolf/README.md index 91dd16f..c78cb8b 100644 --- a/RICE/werewolf/README.md +++ b/RICE/werewolf/README.md @@ -14,7 +14,7 @@ Run the following commands in the terminal. This also creates a backup for any p ```bash -git clone https://github.com/purhan/dotfiles.git +git clone --depth 1 https://github.com/purhan/dotfiles.git cp ~/.config/awesome ~/.config/awesome_backup mv -a dotfiles/RICE/werewolf/. ~/.config/awesome rm -rf dotfiles diff --git a/assistant.sh b/assistant.sh index df2b2fa..7b61b51 100755 --- a/assistant.sh +++ b/assistant.sh @@ -37,7 +37,7 @@ do -a) echo "Adding the whole config ..." cd ~/ - config add assistant.sh .bashrc .vimrc .astylerc conf-scripts .gtkrc-2.0 RICE vampire.sh + config add .gitignore assistant.sh .bashrc .vimrc .astylerc conf-scripts .gtkrc-2.0 RICE vampire.sh cd .config config add awesome Code sublime-text-3 gtk-2.0 gtk-3.0 guake powerline-shell konsolerc spectaclerc termite