first commit
21
RICE/redhound/LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2019 PapyElGringo
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
50
RICE/redhound/README.md
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
|
||||
## AwesomeWM Rice :)
|
||||
|
||||

|
||||
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
|
||||
- (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
|
||||
- (Optional) [xbacklight](https://www.x.org/archive/X11R7.5/doc/man/man1/xbacklight.1.html) for adjusting brightness on laptops (disabled by default)
|
||||
- (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
|
||||
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
|
||||
XDG_CURRENT_DESKTOP=Unity
|
||||
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)
|
||||
BIN
RICE/redhound/Screenshot.png
Normal file
|
After Width: | Height: | Size: 768 KiB |
4
RICE/redhound/configuration/README.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
## Configuration
|
||||
|
||||
Here you will find all the settings available.
|
||||
|
||||
47
RICE/redhound/configuration/apps.lua
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
local filesystem = require('gears.filesystem')
|
||||
|
||||
-- Thanks to jo148 on github for making rofi dpi aware!
|
||||
local with_dpi = require('beautiful').xresources.apply_dpi
|
||||
local get_dpi = require('beautiful').xresources.get_dpi
|
||||
local rofi_command = 'env /usr/bin/rofi -dpi ' .. get_dpi() .. ' -width ' .. with_dpi(400) .. ' -show drun -theme ' .. filesystem.get_configuration_dir() .. '/configuration/rofi.rasi -run-command "/bin/bash -c -i \'shopt -s expand_aliases; {cmd}\'"'
|
||||
|
||||
return {
|
||||
-- List of apps to start by default on some actions
|
||||
default = {
|
||||
terminal = 'env konsole',
|
||||
rofi = rofi_command,
|
||||
lock = 'i3lock-fancy',
|
||||
quake = 'konsole',
|
||||
screenshot = '~/.config/awesome/configuration/utils/screenshot -m',
|
||||
region_screenshot = '~/.config/awesome/configuration/utils/screenshot -r',
|
||||
delayed_screenshot = '~/.config/awesome/configuration/utils/screenshot --delayed -r',
|
||||
|
||||
-- Editing these also edits the default program
|
||||
-- associated with each tag/workspace
|
||||
browser = 'env firefox',
|
||||
editor = 'gvim', -- gui text editor
|
||||
social = 'env discord',
|
||||
game = rofi_command,
|
||||
files = 'thunar',
|
||||
music = rofi_command
|
||||
},
|
||||
-- List of apps to start once on start-up
|
||||
run_on_start_up = {
|
||||
-- Add applications that need to be killed between reloads
|
||||
-- to avoid multipled instances, inside the awspawn script
|
||||
'~/.config/awesome/configuration/awspawn', -- Spawn "dirty" apps that can linger between sessions
|
||||
'compton --config ' .. filesystem.get_configuration_dir() .. '/configuration/compton.conf',
|
||||
'nm-applet --indicator', -- wifi
|
||||
--'blueberry-tray', -- Bluetooth tray icon
|
||||
'xfce4-power-manager', -- Power manager
|
||||
'ibus-daemon --xim --daemonize', -- Ibus daemon for keyboard
|
||||
'scream-start', -- scream audio sink
|
||||
'numlockx on', -- enable numlock
|
||||
--'/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1 & eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg)', -- credential manager
|
||||
--'/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1 & eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg)', -- credential manager
|
||||
'/usr/lib/xfce-polkit/xfce-polkit & eval $(gnome-keyring-daemon -s --components=pkcs11,secrets,ssh,gpg)', -- credential manager
|
||||
'blueman-tray', -- bluetooth tray
|
||||
--'lxsession',
|
||||
--'geary --hidden', -- Email client
|
||||
}
|
||||
}
|
||||
43
RICE/redhound/configuration/awspawn
Executable file
|
|
@ -0,0 +1,43 @@
|
|||
#!/bin/bash
|
||||
## This configuration file is meant for applications that
|
||||
# still run in the background when a reload is triggered
|
||||
# for awesome, this script just kills the running instance
|
||||
# and starts a new one.
|
||||
# Only add applications/scripts without parameters here
|
||||
# (if you want to apply parameters then use a script file!)
|
||||
|
||||
# List of applications to run
|
||||
# the script $HOME/.config/awesomestart
|
||||
# is intended to be a copy of this file
|
||||
# to allow out of tree autostart programs
|
||||
APPS=(
|
||||
keepassxc
|
||||
kdeconnect-indicator
|
||||
radeon-profile
|
||||
$HOME/.config/awesomestart
|
||||
)
|
||||
# Some applications start child applications that need to be killed on reload
|
||||
KILL=(
|
||||
synergyc
|
||||
nextcloud
|
||||
)
|
||||
|
||||
#Kill the polkit
|
||||
killall xfce-polkit
|
||||
|
||||
# First kill lingering apps
|
||||
for app in "${APPS[@]}"
|
||||
do
|
||||
kill -9 $(pidof $app)
|
||||
done
|
||||
for app in "${KILL[@]}"
|
||||
do
|
||||
kill -9 $(pidof $app)
|
||||
done
|
||||
|
||||
# Start new instances
|
||||
for app in "${APPS[@]}"
|
||||
do
|
||||
env $app ${@:2} &
|
||||
done
|
||||
|
||||
30
RICE/redhound/configuration/client/buttons.lua
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
local awful = require('awful')
|
||||
|
||||
local modkey = require('configuration.keys.mod').modKey
|
||||
|
||||
return awful.util.table.join(
|
||||
awful.button(
|
||||
{},
|
||||
1,
|
||||
function(c)
|
||||
_G.client.focus = c
|
||||
c:raise()
|
||||
end
|
||||
),
|
||||
awful.button({modkey}, 1, awful.mouse.client.move),
|
||||
awful.button({modkey}, 3, awful.mouse.client.resize),
|
||||
awful.button(
|
||||
{modkey},
|
||||
4,
|
||||
function()
|
||||
awful.layout.inc(1)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{modkey},
|
||||
5,
|
||||
function()
|
||||
awful.layout.inc(-1)
|
||||
end
|
||||
)
|
||||
)
|
||||
1
RICE/redhound/configuration/client/init.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
require('configuration.client.rules')
|
||||
27
RICE/redhound/configuration/client/keys.lua
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
local awful = require('awful')
|
||||
require('awful.autofocus')
|
||||
local modkey = require('configuration.keys.mod').modKey
|
||||
local altkey = require('configuration.keys.mod').altKey
|
||||
|
||||
local clientKeys =
|
||||
awful.util.table.join(
|
||||
awful.key(
|
||||
{modkey},
|
||||
'f',
|
||||
function(c)
|
||||
c.fullscreen = not c.fullscreen
|
||||
c:raise()
|
||||
end,
|
||||
{description = 'toggle fullscreen', group = 'client'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, 'Shift'},
|
||||
'q',
|
||||
function(c)
|
||||
c:kill()
|
||||
end,
|
||||
{description = 'close', group = 'client'}
|
||||
)
|
||||
)
|
||||
|
||||
return clientKeys
|
||||
48
RICE/redhound/configuration/client/rules.lua
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
local awful = require('awful')
|
||||
local gears = require('gears')
|
||||
local client_keys = require('configuration.client.keys')
|
||||
local client_buttons = require('configuration.client.buttons')
|
||||
|
||||
-- Rules
|
||||
awful.rules.rules = {
|
||||
{
|
||||
rule_any = {name = {'Konsole'}},
|
||||
properties = {skip_decoration = true}
|
||||
},
|
||||
-- All clients will match this rule.
|
||||
{
|
||||
rule = {},
|
||||
properties = {
|
||||
focus = awful.client.focus.filter,
|
||||
raise = true,
|
||||
keys = client_keys,
|
||||
buttons = client_buttons,
|
||||
screen = awful.screen.preferred,
|
||||
placement = awful.placement.no_offscreen,
|
||||
floating = false,
|
||||
maximized = false,
|
||||
above = false,
|
||||
below = false,
|
||||
ontop = false,
|
||||
sticky = false,
|
||||
maximized_horizontal = false,
|
||||
maximized_vertical = false
|
||||
}
|
||||
},
|
||||
-- Titlebars
|
||||
{
|
||||
rule_any = {type = {'dialog'}, class = {'Wicd-client.py', 'calendar.google.com'}},
|
||||
properties = {
|
||||
placement = awful.placement.centered,
|
||||
ontop = true,
|
||||
floating = true,
|
||||
drawBackdrop = true,
|
||||
shape = function()
|
||||
return function(cr, w, h)
|
||||
gears.shape.rounded_rect(cr, w, h, 8)
|
||||
end
|
||||
end,
|
||||
skip_decoration = true
|
||||
}
|
||||
}
|
||||
}
|
||||
106
RICE/redhound/configuration/compton.conf
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
|
||||
####################################
|
||||
# Adapta specific compton settings #
|
||||
####################################
|
||||
|
||||
# Shadow
|
||||
shadow = true;
|
||||
no-dnd-shadow = false;
|
||||
no-dock-shadow = false;
|
||||
shadow-radius = 7.5;
|
||||
shadow-offset-x = -11;
|
||||
shadow-offset-y = -4.5;
|
||||
shadow-opacity = 0.36;
|
||||
# shadow-red = 0.0;
|
||||
# shadow-green = 0.0;
|
||||
# shadow-blue = 0.0;
|
||||
shadow-exclude = [
|
||||
"name = 'Notification'",
|
||||
"class_g = 'Conky'",
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'Rofi'",
|
||||
"class_g ?= 'Notify-osd'",
|
||||
"class_g = 'Cairo-clock'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
"window_type = 'splash'"
|
||||
];
|
||||
# shadow-exclude = "n:e:Notification";
|
||||
# shadow-exclude-reg = "x10+0+0";
|
||||
# xinerama-shadow-crop = true;
|
||||
|
||||
# Opacity
|
||||
menu-opacity = 1.0;
|
||||
inactive-opacity = 1.0;
|
||||
active-opacity = 1.0;
|
||||
frame-opacity = 1.0;
|
||||
inactive-opacity-override = false;
|
||||
alpha-step = 0.06;
|
||||
# inactive-dim = 0.2;
|
||||
# inactive-dim-fixed = true;
|
||||
blur-background = true;
|
||||
blur-background-frame = true;
|
||||
blur-method = "kawase";
|
||||
blur-strength = 5;
|
||||
blur-background-fixed = false;
|
||||
blur-background-exclude = [
|
||||
"window_type = 'dock'",
|
||||
"window_type = 'desktop'",
|
||||
"class_g = 'slop'",
|
||||
"_GTK_FRAME_EXTENTS@:c"
|
||||
];
|
||||
# opacity-rule = [ "80:class_g = 'URxvt'" ];
|
||||
|
||||
# Fading
|
||||
fading = true;
|
||||
fade-delta = 4;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
no-fading-openclose = false;
|
||||
# no-fading-destroyed-argb = true;
|
||||
fade-exclude = [ ];
|
||||
|
||||
# Other
|
||||
backend = "glx";
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
# use-ewmh-active-win = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
#refresh-rate = 0;
|
||||
#vsync = "none";
|
||||
dbe = false;
|
||||
# sw-opti = true;
|
||||
#unredir-if-possible = true;
|
||||
# unredir-if-possible-delay = 5000;
|
||||
# unredir-if-possible-exclude = [ ];
|
||||
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||
detect-transient = true;
|
||||
detect-client-leader = true;
|
||||
invert-color-include = [ ];
|
||||
# resize-damage = 1;
|
||||
|
||||
# GLX backend
|
||||
vsync="opengl-swc";
|
||||
unredir-if-possible=true;
|
||||
#paint-on-overlay=true;
|
||||
#glx-no-stencil=true;
|
||||
glx-copy-from-front=false;
|
||||
# glx-no-stencil = true;
|
||||
# glx-copy-from-front = false;
|
||||
# glx-use-copysubbuffermesa = true;
|
||||
glx-no-rebind-pixmap = true;
|
||||
#glx-swap-method = "exchange";
|
||||
#glx-use-gpushader4 = true;
|
||||
# xrender-sync = true;
|
||||
# xrender-sync-fence = true;
|
||||
|
||||
# Window type settings
|
||||
wintypes:
|
||||
{
|
||||
tooltip = {
|
||||
fade = true;
|
||||
shadow = true;
|
||||
opacity = 0.9;
|
||||
focus = true;
|
||||
};
|
||||
};
|
||||
4
RICE/redhound/configuration/init.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
keys = require('configuration.keys'),
|
||||
apps = require('configuration.apps')
|
||||
}
|
||||
481
RICE/redhound/configuration/keys/global.lua
Normal file
|
|
@ -0,0 +1,481 @@
|
|||
local awful = require('awful')
|
||||
require('awful.autofocus')
|
||||
local beautiful = require('beautiful')
|
||||
local hotkeys_popup = require('awful.hotkeys_popup').widget
|
||||
|
||||
local modkey = require('configuration.keys.mod').modKey
|
||||
local altkey = require('configuration.keys.mod').altKey
|
||||
local apps = require('configuration.apps')
|
||||
|
||||
function poweroff_command()
|
||||
awful.spawn.with_shell('poweroff')
|
||||
awful.keygrabber.stop(_G.exit_screen_grabber)
|
||||
end
|
||||
|
||||
-- Key bindings
|
||||
local globalKeys =
|
||||
awful.util.table.join(
|
||||
-- Hotkeys
|
||||
awful.key({modkey}, 'F1', hotkeys_popup.show_help, {description = 'show help', group = 'awesome'}),
|
||||
-- Tag browsing
|
||||
awful.key({modkey}, 'w', awful.tag.viewprev, {description = 'view previous', group = 'tag'}),
|
||||
awful.key({modkey}, 's', awful.tag.viewnext, {description = 'view next', group = 'tag'}),
|
||||
awful.key({altkey, 'Control'}, 'Left', awful.tag.viewprev, {description = 'view previous', group = 'tag'}),
|
||||
awful.key({altkey, 'Control'}, 'Right', awful.tag.viewnext, {description = 'view next', group = 'tag'}),
|
||||
awful.key({modkey}, 'Escape', awful.tag.history.restore, {description = 'go back', group = 'tag'}),
|
||||
-- Default client focus
|
||||
awful.key(
|
||||
{modkey},
|
||||
'd',
|
||||
function()
|
||||
awful.client.focus.byidx(1)
|
||||
end,
|
||||
{description = 'focus next by index', group = 'client'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
'a',
|
||||
function()
|
||||
awful.client.focus.byidx(-1)
|
||||
end,
|
||||
{description = 'focus previous by index', group = 'client'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
'r',
|
||||
function()
|
||||
_G.screen.primary.left_panel:toggle(true)
|
||||
end,
|
||||
{description = 'show main menu', group = 'awesome'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
'd',
|
||||
function()
|
||||
local flag = false
|
||||
for _, c in ipairs(mouse.screen.selected_tag:clients()) do
|
||||
if c.minimized == true then
|
||||
flag = true
|
||||
end
|
||||
c.minimized = true
|
||||
end
|
||||
for _, c in ipairs(mouse.screen.selected_tag:clients()) do
|
||||
if flag == true then
|
||||
c.minimized = false
|
||||
end
|
||||
end
|
||||
end,
|
||||
{description = 'minimize all clients', group = 'awesome'}
|
||||
),
|
||||
awful.key(
|
||||
{altkey},
|
||||
'space',
|
||||
function()
|
||||
_G.screen.primary.left_panel:toggle(true)
|
||||
end,
|
||||
{description = 'show main menu', group = 'awesome'}
|
||||
),
|
||||
awful.key({modkey}, 'u', awful.client.urgent.jumpto, {description = 'jump to urgent client', group = 'client'}),
|
||||
awful.key(
|
||||
{altkey},
|
||||
'Tab',
|
||||
function()
|
||||
--awful.client.focus.history.previous()
|
||||
awful.client.focus.byidx(1)
|
||||
if _G.client.focus then
|
||||
_G.client.focus:raise()
|
||||
end
|
||||
end,
|
||||
{description = 'Switch to next window', group = 'client'}
|
||||
),
|
||||
awful.key(
|
||||
{altkey, 'Shift'},
|
||||
'Tab',
|
||||
function()
|
||||
--awful.client.focus.history.previous()
|
||||
awful.client.focus.byidx(-1)
|
||||
if _G.client.focus then
|
||||
_G.client.focus:raise()
|
||||
end
|
||||
end,
|
||||
{description = 'Switch to previous window', group = 'client'}
|
||||
),
|
||||
-- Programms
|
||||
awful.key(
|
||||
{modkey},
|
||||
'l',
|
||||
function()
|
||||
awful.spawn(apps.default.lock)
|
||||
end,
|
||||
{description = 'Lock the screen', group = 'awesome'}
|
||||
),
|
||||
awful.key(
|
||||
{'Control','Shift'},
|
||||
'Print',
|
||||
function()
|
||||
awful.util.spawn_with_shell(apps.default.delayed_screenshot)
|
||||
end,
|
||||
{description = 'Mark an area and screenshot it 10 seconds later (clipboard)', group = 'screenshots (clipboard)'}
|
||||
),
|
||||
awful.key(
|
||||
{altkey},
|
||||
'Print',
|
||||
function()
|
||||
awful.util.spawn_with_shell(apps.default.screenshot)
|
||||
end,
|
||||
{description = 'Take a screenshot of your active monitor and copy it to clipboard', group = 'screenshots (clipboard)'}
|
||||
),
|
||||
awful.key(
|
||||
{'Control'},
|
||||
'Print',
|
||||
function()
|
||||
awful.util.spawn_with_shell(apps.default.region_screenshot)
|
||||
end,
|
||||
{description = 'Mark an area and screenshot it to your clipboard', group = 'screenshots (clipboard)'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
'c',
|
||||
function()
|
||||
awful.util.spawn(apps.default.editor)
|
||||
end,
|
||||
{description = 'open a text/code editor', group = 'launcher'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
'b',
|
||||
function()
|
||||
awful.util.spawn(apps.default.browser)
|
||||
end,
|
||||
{description = 'open a browser', group = 'launcher'}
|
||||
),
|
||||
-- Open private browser/brave
|
||||
awful.key(
|
||||
{modkey},
|
||||
'p',
|
||||
function()
|
||||
awful.util.spawn_with_shell('brave-browser')
|
||||
end,
|
||||
{description = 'Open Brave', group = 'launcher'}
|
||||
),
|
||||
-- Standard program
|
||||
awful.key(
|
||||
{modkey},
|
||||
't',
|
||||
function()
|
||||
awful.util.spawn_with_shell(apps.default.terminal)
|
||||
end,
|
||||
{description = 'open a terminal', group = 'launcher'}
|
||||
),
|
||||
awful.key({modkey, 'Control'}, 'r', _G.awesome.restart, {description = 'reload awesome', group = 'awesome'}),
|
||||
awful.key({modkey, 'Control'}, 'q', _G.awesome.quit, {description = 'quit awesome', group = 'awesome'}),
|
||||
awful.key({modkey, 'Shift'}, 'p',
|
||||
function()
|
||||
_G.exit_screen_show()
|
||||
end,
|
||||
{description = 'end session menu', group = 'awesome'}),
|
||||
awful.key(
|
||||
{altkey, 'Shift'},
|
||||
'Right',
|
||||
function()
|
||||
awful.tag.incmwfact(0.05)
|
||||
end,
|
||||
{description = 'increase master width factor', group = 'layout'}
|
||||
),
|
||||
awful.key(
|
||||
{altkey, 'Shift'},
|
||||
'Left',
|
||||
function()
|
||||
awful.tag.incmwfact(-0.05)
|
||||
end,
|
||||
{description = 'decrease master width factor', group = 'layout'}
|
||||
),
|
||||
awful.key(
|
||||
{altkey, 'Shift'},
|
||||
'Down',
|
||||
function()
|
||||
awful.client.incwfact(0.05)
|
||||
end,
|
||||
{description = 'decrease master height factor', group = 'layout'}
|
||||
),
|
||||
awful.key(
|
||||
{altkey, 'Shift'},
|
||||
'Up',
|
||||
function()
|
||||
awful.client.incwfact(-0.05)
|
||||
end,
|
||||
{description = 'increase master height factor', group = 'layout'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, 'Shift'},
|
||||
'Left',
|
||||
function()
|
||||
awful.tag.incnmaster(1, nil, true)
|
||||
end,
|
||||
{description = 'increase the number of master clients', group = 'layout'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, 'Shift'},
|
||||
'Right',
|
||||
function()
|
||||
awful.tag.incnmaster(-1, nil, true)
|
||||
end,
|
||||
{description = 'decrease the number of master clients', group = 'layout'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, 'Control'},
|
||||
'Left',
|
||||
function()
|
||||
awful.tag.incncol(1, nil, true)
|
||||
end,
|
||||
{description = 'increase the number of columns', group = 'layout'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, 'Control'},
|
||||
'Right',
|
||||
function()
|
||||
awful.tag.incncol(-1, nil, true)
|
||||
end,
|
||||
{description = 'decrease the number of columns', group = 'layout'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey},
|
||||
'space',
|
||||
function()
|
||||
awful.layout.inc(1)
|
||||
end,
|
||||
{description = 'select next', group = 'layout'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, 'Shift'},
|
||||
'space',
|
||||
function()
|
||||
awful.layout.inc(-1)
|
||||
end,
|
||||
{description = 'select previous', group = 'layout'}
|
||||
),
|
||||
awful.key(
|
||||
{modkey, 'Control'},
|
||||
'n',
|
||||
function()
|
||||
local c = awful.client.restore()
|
||||
-- Focus restored client
|
||||
if c then
|
||||
_G.client.focus = c
|
||||
c:raise()
|
||||
end
|
||||
end,
|
||||
{description = 'restore minimized', group = 'client'}
|
||||
),
|
||||
-- Dropdown application
|
||||
awful.key(
|
||||
{modkey},
|
||||
'z',
|
||||
function()
|
||||
_G.toggle_quake()
|
||||
end,
|
||||
{description = 'dropdown application', group = 'launcher'}
|
||||
),
|
||||
-- Widgets popups
|
||||
--[[awful.key(
|
||||
{altkey},
|
||||
'h',
|
||||
function()
|
||||
if beautiful.fs then
|
||||
beautiful.fs.show(7)
|
||||
end
|
||||
end,
|
||||
{description = 'show filesystem', group = 'widgets'}
|
||||
),
|
||||
awful.key(
|
||||
{altkey},
|
||||
'w',
|
||||
function()
|
||||
if beautiful.weather then
|
||||
beautiful.weather.show(7)
|
||||
end
|
||||
end,
|
||||
{description = 'show weather', group = 'widgets'}
|
||||
),--]]
|
||||
-- Brightness
|
||||
awful.key(
|
||||
{},
|
||||
'XF86MonBrightnessUp',
|
||||
function()
|
||||
awful.spawn('xbacklight -inc 10')
|
||||
end,
|
||||
{description = '+10%', group = 'hotkeys'}
|
||||
),
|
||||
awful.key(
|
||||
{},
|
||||
'XF86MonBrightnessDown',
|
||||
function()
|
||||
awful.spawn('xbacklight -dec 10')
|
||||
end,
|
||||
{description = '-10%', group = 'hotkeys'}
|
||||
),
|
||||
-- ALSA volume control
|
||||
awful.key(
|
||||
{},
|
||||
'XF86AudioRaiseVolume',
|
||||
function()
|
||||
awful.spawn('amixer -D pulse sset Master 5%+')
|
||||
end,
|
||||
{description = 'volume up', group = 'hotkeys'}
|
||||
),
|
||||
awful.key(
|
||||
{},
|
||||
'XF86AudioLowerVolume',
|
||||
function()
|
||||
awful.spawn('amixer -D pulse sset Master 5%-')
|
||||
end,
|
||||
{description = 'volume down', group = 'hotkeys'}
|
||||
),
|
||||
awful.key(
|
||||
{},
|
||||
'XF86AudioMute',
|
||||
function()
|
||||
awful.spawn('amixer -D pulse set Master 1+ toggle')
|
||||
end,
|
||||
{description = 'toggle mute', group = 'hotkeys'}
|
||||
),
|
||||
awful.key(
|
||||
{},
|
||||
'XF86AudioNext',
|
||||
function()
|
||||
--
|
||||
end,
|
||||
{description = 'toggle mute', group = 'hotkeys'}
|
||||
),
|
||||
awful.key(
|
||||
{},
|
||||
'XF86PowerDown',
|
||||
function()
|
||||
--
|
||||
end,
|
||||
{description = 'toggle mute', group = 'hotkeys'}
|
||||
),
|
||||
awful.key(
|
||||
{},
|
||||
'XF86PowerOff',
|
||||
function()
|
||||
_G.exit_screen_show()
|
||||
end,
|
||||
{description = 'toggle mute', group = 'hotkeys'}
|
||||
),
|
||||
-- Screen management
|
||||
awful.key(
|
||||
{modkey},
|
||||
'o',
|
||||
awful.client.movetoscreen,
|
||||
{description = 'move window to next screen', group = 'client'}
|
||||
),
|
||||
-- Open default program for tag
|
||||
awful.key(
|
||||
{modkey},
|
||||
'n',
|
||||
function()
|
||||
awful.spawn(
|
||||
awful.screen.focused().selected_tag.defaultApp,
|
||||
{
|
||||
tag = _G.mouse.screen.selected_tag,
|
||||
placement = awful.placement.bottom_right
|
||||
}
|
||||
)
|
||||
end,
|
||||
{description = 'open default program for tag/workspace', group = 'tag'}
|
||||
),
|
||||
-- Custom hotkeys
|
||||
-- vfio integration
|
||||
awful.key(
|
||||
{'Control',altkey},
|
||||
'space',
|
||||
function()
|
||||
awful.util.spawn_with_shell('vm-attach attach')
|
||||
end
|
||||
),
|
||||
-- Emoji typing
|
||||
-- setup info at https://gist.github.com/HikariKnight/8562837d28dec3674dba027c7892e6a5
|
||||
awful.key(
|
||||
{modkey},
|
||||
'e',
|
||||
function()
|
||||
awful.util.spawn_with_shell('emoji-toggle')
|
||||
end,
|
||||
{description = 'Toggle the ibus unimoji engine for writing emojis', group = 'hotkeys'}
|
||||
)
|
||||
)
|
||||
|
||||
-- Bind all key numbers to tags.
|
||||
-- Be careful: we use keycodes to make it works on any keyboard layout.
|
||||
-- This should map on the top row of your keyboard, usually 1 to 9.
|
||||
for i = 1, 9 do
|
||||
-- Hack to only show tags 1 and 9 in the shortcut window (mod+s)
|
||||
local descr_view, descr_toggle, descr_move, descr_toggle_focus
|
||||
if i == 1 or i == 9 then
|
||||
descr_view = {description = 'view tag #', group = 'tag'}
|
||||
descr_toggle = {description = 'toggle tag #', group = 'tag'}
|
||||
descr_move = {description = 'move focused client to tag #', group = 'tag'}
|
||||
descr_toggle_focus = {description = 'toggle focused client on tag #', group = 'tag'}
|
||||
end
|
||||
globalKeys =
|
||||
awful.util.table.join(
|
||||
globalKeys,
|
||||
-- View tag only.
|
||||
awful.key(
|
||||
{modkey},
|
||||
'#' .. i + 9,
|
||||
function()
|
||||
local screen = awful.screen.focused()
|
||||
local tag = screen.tags[i]
|
||||
if tag then
|
||||
tag:view_only()
|
||||
end
|
||||
end,
|
||||
descr_view
|
||||
),
|
||||
-- Toggle tag display.
|
||||
awful.key(
|
||||
{modkey, 'Control'},
|
||||
'#' .. i + 9,
|
||||
function()
|
||||
local screen = awful.screen.focused()
|
||||
local tag = screen.tags[i]
|
||||
if tag then
|
||||
awful.tag.viewtoggle(tag)
|
||||
end
|
||||
end,
|
||||
descr_toggle
|
||||
),
|
||||
-- Move client to tag.
|
||||
awful.key(
|
||||
{modkey, 'Shift'},
|
||||
'#' .. i + 9,
|
||||
function()
|
||||
if _G.client.focus then
|
||||
local tag = _G.client.focus.screen.tags[i]
|
||||
if tag then
|
||||
_G.client.focus:move_to_tag(tag)
|
||||
end
|
||||
end
|
||||
end,
|
||||
descr_move
|
||||
),
|
||||
-- Toggle tag on focused client.
|
||||
awful.key(
|
||||
{modkey, 'Control', 'Shift'},
|
||||
'#' .. i + 9,
|
||||
function()
|
||||
if _G.client.focus then
|
||||
local tag = _G.client.focus.screen.tags[i]
|
||||
if tag then
|
||||
_G.client.focus:toggle_tag(tag)
|
||||
end
|
||||
end
|
||||
end,
|
||||
descr_toggle_focus
|
||||
)
|
||||
)
|
||||
end
|
||||
|
||||
return globalKeys
|
||||
4
RICE/redhound/configuration/keys/init.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
mod = require('configuration.keys.mod'),
|
||||
global = require('configuration.keys.global')
|
||||
}
|
||||
4
RICE/redhound/configuration/keys/mod.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
modKey = 'Mod4',
|
||||
altKey = 'Mod1'
|
||||
}
|
||||
146
RICE/redhound/configuration/rofi.rasi
Normal file
|
|
@ -0,0 +1,146 @@
|
|||
/**
|
||||
* User: deadguy
|
||||
* Copyright: deadguy
|
||||
*/
|
||||
|
||||
configuration {
|
||||
display-drun: "Activate";
|
||||
display-run: "Execute";
|
||||
show-icons: true;
|
||||
sidebar-mode: true;
|
||||
}
|
||||
|
||||
* {
|
||||
background-color: rgb(26, 26, 26);
|
||||
text-color: #d3d7cf;
|
||||
selbg: rgb(208, 60, 63);
|
||||
actbg: rgb(46, 46, 46);
|
||||
urgbg: #e53935;
|
||||
winbg: #f2f2f2f2;
|
||||
|
||||
selected-normal-foreground: @winbg;
|
||||
normal-foreground: @text-color;
|
||||
selected-normal-background: @actbg;
|
||||
normal-background: @background-color;
|
||||
|
||||
selected-urgent-foreground: @background-color;
|
||||
urgent-foreground: @text-color;
|
||||
selected-urgent-background: @urgbg;
|
||||
urgent-background: @background-color;
|
||||
|
||||
selected-active-foreground: @winbg;
|
||||
active-foreground: @text-color;
|
||||
selected-active-background: @actbg;
|
||||
active-background: @selbg;
|
||||
|
||||
line-margin: 2;
|
||||
line-padding: 2;
|
||||
separator-style: "none";
|
||||
hide-scrollbar: "true";
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
font: "Roboto medium 10";
|
||||
}
|
||||
|
||||
window {
|
||||
location: west;
|
||||
anchor: west;
|
||||
x-offset: 0px;
|
||||
height: 100%;
|
||||
margin-right: 60px;
|
||||
orientation: horizontal;
|
||||
children: [mainbox];
|
||||
}
|
||||
|
||||
mainbox {
|
||||
spacing: 0em;
|
||||
padding: 0px;
|
||||
width:200px;
|
||||
children: [ inputbar, listview, sidebar ];
|
||||
expand: true;
|
||||
}
|
||||
|
||||
button { padding: 5px 2px; }
|
||||
|
||||
button selected {
|
||||
background-color: @active-background;
|
||||
text-color: @background-color;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ entry ];
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
text-color: inherit;
|
||||
expand: false;
|
||||
margin: 0 0.3em 0em 0em;
|
||||
}
|
||||
|
||||
listview {
|
||||
spacing: 0em;
|
||||
dynamic: false;
|
||||
cycle: true;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 16px;
|
||||
border: 0 0 0 5px solid;
|
||||
}
|
||||
|
||||
entry {
|
||||
expand: true;
|
||||
text-color: @normal-foreground;
|
||||
background-color: rgb(50, 50, 50);
|
||||
vertical-align: 1;
|
||||
padding: 12px;
|
||||
font: "Roboto medium 13";
|
||||
}
|
||||
|
||||
element normal.normal {
|
||||
background-color: @normal-background;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
|
||||
element normal.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
|
||||
element normal.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
|
||||
element selected.normal {
|
||||
background-color: @selected-normal-background;
|
||||
text-color: @selected-normal-foreground;
|
||||
padding: 16px;
|
||||
border: 0 0 0 5px solid;
|
||||
border-color: @active-background;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @selected-urgent-background;
|
||||
text-color: @selected-urgent-foreground;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @selected-active-background;
|
||||
text-color: @selected-active-foreground;
|
||||
}
|
||||
|
||||
element alternate.normal {
|
||||
background-color: @normal-background;
|
||||
text-color: @normal-foreground;
|
||||
}
|
||||
|
||||
element alternate.urgent {
|
||||
background-color: @urgent-background;
|
||||
text-color: @urgent-foreground;
|
||||
}
|
||||
|
||||
element alternate.active {
|
||||
background-color: @active-background;
|
||||
text-color: @active-foreground;
|
||||
}
|
||||
81
RICE/redhound/configuration/tags/init.lua
Normal file
|
|
@ -0,0 +1,81 @@
|
|||
local awful = require('awful')
|
||||
local gears = require('gears')
|
||||
local icons = require('theme.icons')
|
||||
local apps = require('configuration.apps')
|
||||
|
||||
local tags = {
|
||||
{
|
||||
icon = icons.firefox,
|
||||
type = 'firefox',
|
||||
defaultApp = apps.default.browser,
|
||||
screen = 1
|
||||
},
|
||||
{
|
||||
icon = icons.code,
|
||||
type = 'code',
|
||||
defaultApp = apps.default.editor,
|
||||
screen = 1
|
||||
},
|
||||
{
|
||||
icon = icons.folder,
|
||||
type = 'files',
|
||||
defaultApp = apps.default.files,
|
||||
screen = 1
|
||||
},
|
||||
{
|
||||
icon = icons.console,
|
||||
type = 'console',
|
||||
defaultApp = apps.default.terminal,
|
||||
screen = 1
|
||||
},
|
||||
{
|
||||
icon = icons.social,
|
||||
type = 'social',
|
||||
defaultApp = apps.default.social,
|
||||
screen = 1
|
||||
},
|
||||
{
|
||||
icon = icons.lab,
|
||||
type = 'any',
|
||||
defaultApp = apps.default.rofi,
|
||||
screen = 1
|
||||
}
|
||||
}
|
||||
|
||||
awful.layout.layouts = {
|
||||
awful.layout.suit.tile,
|
||||
awful.layout.suit.max,
|
||||
awful.layout.suit.floating
|
||||
}
|
||||
|
||||
awful.screen.connect_for_each_screen(
|
||||
function(s)
|
||||
for i, tag in pairs(tags) do
|
||||
awful.tag.add(
|
||||
i,
|
||||
{
|
||||
icon = tag.icon,
|
||||
icon_only = true,
|
||||
layout = awful.layout.suit.tile,
|
||||
gap_single_client = true,
|
||||
gap = 4,
|
||||
screen = s,
|
||||
defaultApp = tag.defaultApp,
|
||||
selected = i == 1
|
||||
}
|
||||
)
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
_G.tag.connect_signal(
|
||||
'property::layout',
|
||||
function(t)
|
||||
local currentLayout = awful.tag.getproperty(t, 'layout')
|
||||
if (currentLayout == awful.layout.suit.max) then
|
||||
t.gap = 4
|
||||
else
|
||||
t.gap = 4
|
||||
end
|
||||
end
|
||||
)
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
---------------------------------------------------------------------------
|
||||
--- Maximized and fullscreen layouts module for awful
|
||||
--
|
||||
-- @author Julien Danjou <julien@danjou.info>
|
||||
-- @copyright 2008 Julien Danjou
|
||||
-- @module awful.layout
|
||||
---------------------------------------------------------------------------
|
||||
|
||||
-- Grab environment we need
|
||||
local pairs = pairs
|
||||
|
||||
local max = {}
|
||||
|
||||
--- The max layout layoutbox icon.
|
||||
-- @beautiful beautiful.layout_max
|
||||
-- @param surface
|
||||
-- @see gears.surface
|
||||
|
||||
--- The fullscreen layout layoutbox icon.
|
||||
-- @beautiful beautiful.layout_fullscreen
|
||||
-- @param surface
|
||||
-- @see gears.surface
|
||||
|
||||
local function fmax(p, fs)
|
||||
-- Fullscreen?
|
||||
local area
|
||||
if fs then
|
||||
area = p.geometry
|
||||
else
|
||||
area = p.workarea
|
||||
end
|
||||
local focused_client = client.focus
|
||||
for _, c in pairs(p.clients) do
|
||||
local g = {
|
||||
x = area.x,
|
||||
y = area.y,
|
||||
width = area.width,
|
||||
height = area.height
|
||||
}
|
||||
p.geometries[c] = g
|
||||
end
|
||||
end
|
||||
|
||||
--- Maximized layout.
|
||||
-- @clientlayout awful.layout.suit.max.name
|
||||
max.name = 'max'
|
||||
function max.arrange(p)
|
||||
return fmax(p, false)
|
||||
end
|
||||
function max.skip_gap(nclients, t) -- luacheck: no unused args
|
||||
return true
|
||||
end
|
||||
|
||||
return max
|
||||
|
||||
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80
|
||||
8
RICE/redhound/configuration/utils/screenshot
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
if [ $1 == "--delayed" ]; then
|
||||
sleep 10 ; spectacle -b -n ${@:2} -o /tmp/screenshot.png ; xclip -selection clipboard -target image/png -i /tmp/screenshot.png ; paplay /usr/share/sounds/freedesktop/stereo/camera-shutter.oga
|
||||
else
|
||||
spectacle -b -n $@ -o /tmp/screenshot.png ; xclip -selection clipboard -target image/png -i /tmp/screenshot.png ; paplay /usr/share/sounds/freedesktop/stereo/camera-shutter.oga
|
||||
fi
|
||||
|
||||
|
||||
1
RICE/redhound/layout/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
## Layout
|
||||
63
RICE/redhound/layout/clock-panel.lua
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local TaskList = require('widget.task-list')
|
||||
local TagList = require('widget.tag-list')
|
||||
local gears = require('gears')
|
||||
local clickable_container = require('widget.material.clickable-container')
|
||||
local mat_icon_button = require('widget.material.icon-button')
|
||||
local mat_icon = require('widget.material.icon')
|
||||
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local icons = require('theme.icons')
|
||||
|
||||
-- Clock / Calendar 24h format
|
||||
local textclock = wibox.widget.textclock('<span font="Roboto Mono bold 9">%H:%M</span>')
|
||||
|
||||
local month_calendar = awful.widget.calendar_popup.month({
|
||||
screen = s,
|
||||
start_sunday = false,
|
||||
week_numbers = true
|
||||
})
|
||||
month_calendar:attach(textclock)
|
||||
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(4)
|
||||
end
|
||||
local panel =
|
||||
wibox(
|
||||
{
|
||||
ontop = false,
|
||||
screen = s,
|
||||
height = dpi(32),
|
||||
width = dpi(48),
|
||||
x = s.geometry.width - dpi(184),
|
||||
y = s.geometry.y + offsety,
|
||||
stretch = false,
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal,
|
||||
struts = {
|
||||
top = dpi(32)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
panel:struts(
|
||||
{
|
||||
top = dpi(0)
|
||||
}
|
||||
)
|
||||
|
||||
panel:setup {
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
clock_widget,
|
||||
}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return ClockPanel
|
||||
60
RICE/redhound/layout/date-panel.lua
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local gears = require('gears')
|
||||
local clickable_container = require('widget.material.clickable-container')
|
||||
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local icons = require('theme.icons')
|
||||
|
||||
local textclock = wibox.widget.textclock('<span font="Roboto Mono bold 9">%d.%m.%Y\n %H:%M</span>')
|
||||
|
||||
local month_calendar = awful.widget.calendar_popup.month({
|
||||
screen = s,
|
||||
start_sunday = false,
|
||||
week_numbers = true
|
||||
})
|
||||
month_calendar:attach(textclock)
|
||||
|
||||
local date_widget = wibox.container.margin(textclock, dpi(8), dpi(8), dpi(8), dpi(8))
|
||||
|
||||
local DatePanel = function(s, offset)
|
||||
local offsetx = 0
|
||||
if offset == true then
|
||||
offsetx = dpi(128)
|
||||
offsety = dpi(4)
|
||||
end
|
||||
local panel =
|
||||
wibox(
|
||||
{
|
||||
ontop = false,
|
||||
screen = s,
|
||||
height = dpi(32),
|
||||
width = dpi(80),
|
||||
x = s.geometry.width - dpi(130),
|
||||
y = s.geometry.y + offsety,
|
||||
stretch = false,
|
||||
bg = beautiful.primary.hue_500,
|
||||
fg = beautiful.fg_normal,
|
||||
struts = {
|
||||
top = dpi(32)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
panel:struts(
|
||||
{
|
||||
top = dpi(0)
|
||||
}
|
||||
)
|
||||
|
||||
panel:setup {
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
date_widget,
|
||||
}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return DatePanel
|
||||
74
RICE/redhound/layout/init.lua
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
local awful = require('awful')
|
||||
local left_panel = require('layout.left-panel')
|
||||
local workspace_panel = require('layout.workspace-panel')
|
||||
local tasklist_panel = require('layout.tasklist-panel')
|
||||
local mode_panel = require('layout.mode-panel')
|
||||
local date_panel = require('layout.date-panel')
|
||||
local clock_panel = require('layout.clock-panel')
|
||||
local systemtray_panel = require('layout.systemtray-panel')
|
||||
|
||||
-- Create a wibox for each screen and add it
|
||||
awful.screen.connect_for_each_screen(
|
||||
function(s)
|
||||
if s.index == 1 then
|
||||
s.left_panel = left_panel(s)
|
||||
s.mode_panel = mode_panel(s, true)
|
||||
s.tasklist_panel = tasklist_panel(s, true)
|
||||
s.workspace_panel = workspace_panel(s, true)
|
||||
s.date_panel = date_panel(s, true)
|
||||
s.clock_panel = clock_panel(s, true)
|
||||
s.systemtray_panel = systemtray_panel(s, true)
|
||||
else
|
||||
s.mode_panel = mode_panel(s, false)
|
||||
s.workspace_panel = workspace_panel(s, false)
|
||||
s.tasklist_panel = tasklist_panel(s, false)
|
||||
s.date_panel = date_panel(s, false)
|
||||
s.clock_panel = clock_panel(s, false)
|
||||
s.systemtray_panel = systemtray_panel(s, false)
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
-- Hide bars when app go fullscreen
|
||||
function updateBarsVisibility()
|
||||
for s in screen do
|
||||
if s.selected_tag then
|
||||
local fullscreen = s.selected_tag.fullscreenMode
|
||||
-- Order matter here for shadow
|
||||
s.workspace_panel.visible = not fullscreen
|
||||
s.mode_panel.visible = not fullscreen
|
||||
s.tasklist_panel.visible = not fullscreen
|
||||
s.date_panel.visible = not fullscreen
|
||||
s.clock_panel.visible = not fullscreen
|
||||
s.systemtray_panel.visible = not fullscreen
|
||||
if s.left_panel then
|
||||
s.left_panel.visible = not fullscreen
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
_G.tag.connect_signal(
|
||||
'property::selected',
|
||||
function(t)
|
||||
updateBarsVisibility()
|
||||
end
|
||||
)
|
||||
|
||||
_G.client.connect_signal(
|
||||
'property::fullscreen',
|
||||
function(c)
|
||||
c.screen.selected_tag.fullscreenMode = c.fullscreen
|
||||
updateBarsVisibility()
|
||||
end
|
||||
)
|
||||
|
||||
_G.client.connect_signal(
|
||||
'unmanage',
|
||||
function(c)
|
||||
if c.fullscreen then
|
||||
c.screen.selected_tag.fullscreenMode = false
|
||||
updateBarsVisibility()
|
||||
end
|
||||
end
|
||||
)
|
||||
68
RICE/redhound/layout/left-panel/action-bar.lua
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local gears = require('gears')
|
||||
local mat_icon = require('widget.material.icon')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
local icons = require('theme.icons')
|
||||
local TagList = require('widget.tag-list')
|
||||
local clickable_container = require('widget.material.clickable-container')
|
||||
|
||||
return function(screen, panel, action_bar_width)
|
||||
local menu_icon =
|
||||
wibox.widget {
|
||||
icon = icons.menu,
|
||||
size = dpi(24),
|
||||
widget = mat_icon,
|
||||
}
|
||||
|
||||
local home_button =
|
||||
wibox.widget {
|
||||
wibox.widget {
|
||||
menu_icon,
|
||||
widget = clickable_container
|
||||
},
|
||||
visible = true,
|
||||
bg = beautiful.primary.hue_500,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
home_button:buttons(
|
||||
gears.table.join(
|
||||
awful.button(
|
||||
{},
|
||||
1,
|
||||
nil,
|
||||
function()
|
||||
panel:toggle()
|
||||
end
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
panel:connect_signal(
|
||||
'opened',
|
||||
function()
|
||||
menu_icon.icon = icons.close
|
||||
home_button.visible = false
|
||||
end
|
||||
)
|
||||
|
||||
panel:connect_signal(
|
||||
'closed',
|
||||
function()
|
||||
menu_icon.icon = icons.menu
|
||||
home_button.visible = true
|
||||
end
|
||||
)
|
||||
|
||||
return wibox.widget {
|
||||
id = 'action_bar',
|
||||
layout = wibox.layout.align.horizontal,
|
||||
forced_width = action_bar_width,
|
||||
{
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
home_button,
|
||||
}
|
||||
}
|
||||
end
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
local wibox = require('wibox')
|
||||
local mat_list_item = require('widget.material.list-item')
|
||||
|
||||
return wibox.widget {
|
||||
wibox.widget {
|
||||
wibox.widget {
|
||||
text = 'Hardware monitor',
|
||||
font = 'Roboto medium 12',
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
widget = mat_list_item
|
||||
},
|
||||
require('widget.cpu.cpu-meter'),
|
||||
require('widget.ram.ram-meter'),
|
||||
require('widget.temperature.temperature-meter'),
|
||||
require('widget.harddrive.harddrive-meter'),
|
||||
layout = wibox.layout.fixed.vertical
|
||||
}
|
||||
96
RICE/redhound/layout/left-panel/dashboard/init.lua
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local mat_list_item = require('widget.material.list-item')
|
||||
local mat_icon = require('widget.material.icon')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
local icons = require('theme.icons')
|
||||
|
||||
return function(_, panel)
|
||||
local search_button =
|
||||
wibox.widget {
|
||||
wibox.widget {
|
||||
icon = icons.search,
|
||||
size = dpi(24),
|
||||
widget = mat_icon
|
||||
},
|
||||
wibox.widget {
|
||||
text = 'Search Applications',
|
||||
font = 'Roboto medium 13',
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
clickable = true,
|
||||
widget = mat_list_item
|
||||
}
|
||||
|
||||
search_button:buttons(
|
||||
awful.util.table.join(
|
||||
awful.button(
|
||||
{},
|
||||
1,
|
||||
function()
|
||||
panel:run_rofi()
|
||||
end
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
local exit_button =
|
||||
wibox.widget {
|
||||
wibox.widget {
|
||||
icon = icons.logout,
|
||||
size = dpi(24),
|
||||
widget = mat_icon
|
||||
},
|
||||
wibox.widget {
|
||||
text = 'End work session',
|
||||
font = 'Roboto medium 13',
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
clickable = true,
|
||||
divider = true,
|
||||
widget = mat_list_item
|
||||
}
|
||||
|
||||
exit_button:buttons(
|
||||
awful.util.table.join(
|
||||
awful.button(
|
||||
{},
|
||||
1,
|
||||
function()
|
||||
panel:toggle()
|
||||
_G.exit_screen_show()
|
||||
end
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
return wibox.widget {
|
||||
layout = wibox.layout.align.vertical,
|
||||
{
|
||||
layout = wibox.layout.fixed.vertical,
|
||||
{
|
||||
search_button,
|
||||
bg = beautiful.primary.hue_800,
|
||||
widget = wibox.container.background
|
||||
},
|
||||
wibox.widget {
|
||||
orientation = 'horizontal',
|
||||
forced_height = 0.8,
|
||||
opacity = 0.3,
|
||||
widget = wibox.widget.separator
|
||||
},
|
||||
require('layout.left-panel.dashboard.quick-settings'),
|
||||
require('layout.left-panel.dashboard.hardware-monitor')
|
||||
},
|
||||
nil,
|
||||
{
|
||||
layout = wibox.layout.fixed.vertical,
|
||||
{
|
||||
exit_button,
|
||||
bg = beautiful.primary.hue_800,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
}
|
||||
}
|
||||
end
|
||||
16
RICE/redhound/layout/left-panel/dashboard/quick-settings.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
local wibox = require('wibox')
|
||||
local mat_list_item = require('widget.material.list-item')
|
||||
|
||||
return wibox.widget {
|
||||
wibox.widget {
|
||||
wibox.widget {
|
||||
text = 'Quick settings',
|
||||
font = 'Roboto medium 12',
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
widget = mat_list_item
|
||||
},
|
||||
require('widget.volume.volume-slider'),
|
||||
require('widget.brightness.brightness-slider'),
|
||||
layout = wibox.layout.fixed.vertical
|
||||
}
|
||||
122
RICE/redhound/layout/left-panel/init.lua
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local apps = require('configuration.apps')
|
||||
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 panel =
|
||||
wibox {
|
||||
screen = screen,
|
||||
width = dpi(32),
|
||||
height = dpi(32),
|
||||
x = screen.geometry.x + 12,
|
||||
y = screen.geometry.y + 4,
|
||||
ontop = false,
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal
|
||||
}
|
||||
|
||||
panel.opened = false
|
||||
|
||||
panel:struts(
|
||||
{
|
||||
left = dpi(0)
|
||||
}
|
||||
)
|
||||
|
||||
local backdrop =
|
||||
wibox {
|
||||
ontop = true,
|
||||
screen = screen,
|
||||
bg = '#00000000',
|
||||
type = 'dock',
|
||||
x = screen.geometry.x,
|
||||
y = screen.geometry.y,
|
||||
width = screen.geometry.width,
|
||||
height = screen.geometry.height
|
||||
}
|
||||
|
||||
function panel:run_rofi()
|
||||
_G.awesome.spawn(
|
||||
apps.default.rofi,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
function()
|
||||
panel:toggle()
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
local openPanel = function(should_run_rofi)
|
||||
panel.width = panel_content_width
|
||||
panel.height = screen.geometry.height
|
||||
backdrop.visible = true
|
||||
panel.visible = false
|
||||
panel.visible = true
|
||||
panel.x = screen.geometry.x
|
||||
panel.y = screen.geometry.y
|
||||
panel.ontop = true
|
||||
panel:get_children_by_id('panel_content')[1].visible = true
|
||||
if should_run_rofi then
|
||||
panel:run_rofi()
|
||||
end
|
||||
panel:emit_signal('opened')
|
||||
end
|
||||
|
||||
local closePanel = function()
|
||||
panel.width = action_bar_width
|
||||
panel.height = dpi(32)
|
||||
panel:get_children_by_id('panel_content')[1].visible = false
|
||||
backdrop.visible = false
|
||||
panel.ontop = false
|
||||
panel.x = screen.geometry.x + 12
|
||||
panel.y = screen.geometry.y + 4
|
||||
panel:emit_signal('closed')
|
||||
end
|
||||
|
||||
function panel:toggle(should_run_rofi)
|
||||
self.opened = not self.opened
|
||||
if self.opened then
|
||||
openPanel(should_run_rofi)
|
||||
else
|
||||
closePanel()
|
||||
end
|
||||
end
|
||||
|
||||
backdrop:buttons(
|
||||
awful.util.table.join(
|
||||
awful.button(
|
||||
{},
|
||||
1,
|
||||
function()
|
||||
panel:toggle()
|
||||
end
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
panel:setup {
|
||||
require('layout.left-panel.action-bar')(screen, panel, action_bar_width),
|
||||
layout = wibox.layout.align.vertical,
|
||||
{
|
||||
id = 'panel_content',
|
||||
bg = beautiful.primary.hue_900,
|
||||
widget = wibox.container.background,
|
||||
visible = false,
|
||||
forced_width = panel_content_width,
|
||||
{
|
||||
require('layout.left-panel.dashboard')(screen, panel),
|
||||
layout = wibox.layout.stack
|
||||
}
|
||||
},
|
||||
}
|
||||
return panel
|
||||
end
|
||||
|
||||
return left_panel
|
||||
93
RICE/redhound/layout/mode-panel.lua
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local gears = require('gears')
|
||||
local clickable_container = require('widget.material.clickable-container')
|
||||
local mat_icon_button = require('widget.material.icon-button')
|
||||
local mat_icon = require('widget.material.icon')
|
||||
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local icons = require('theme.icons')
|
||||
|
||||
local LayoutBox = function(s)
|
||||
local layoutBox = clickable_container(awful.widget.layoutbox(s))
|
||||
layoutBox:buttons(
|
||||
awful.util.table.join(
|
||||
awful.button(
|
||||
{},
|
||||
1,
|
||||
function()
|
||||
awful.layout.inc(1)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{},
|
||||
3,
|
||||
function()
|
||||
awful.layout.inc(-1)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{},
|
||||
4,
|
||||
function()
|
||||
awful.layout.inc(1)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{},
|
||||
5,
|
||||
function()
|
||||
awful.layout.inc(-1)
|
||||
end
|
||||
)
|
||||
)
|
||||
)
|
||||
return layoutBox
|
||||
end
|
||||
|
||||
local ModePanel = function(s, offset)
|
||||
local offsetx = 0
|
||||
if offset == true then
|
||||
offsetx = dpi(512)
|
||||
offsety = dpi(4)
|
||||
end
|
||||
local panel =
|
||||
wibox(
|
||||
{
|
||||
ontop = false,
|
||||
screen = s,
|
||||
height = dpi(32),
|
||||
width = dpi(32),
|
||||
x = s.geometry.width - dpi(44),
|
||||
y = s.geometry.y + offsety,
|
||||
stretch = false,
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal,
|
||||
struts = {
|
||||
top = dpi(32)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
panel:struts(
|
||||
{
|
||||
top = dpi(0)
|
||||
}
|
||||
)
|
||||
|
||||
panel:setup {
|
||||
layout = wibox.layout.align.horizontal,
|
||||
{
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
LayoutBox(s)
|
||||
},
|
||||
nil,
|
||||
nil
|
||||
}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return ModePanel
|
||||
59
RICE/redhound/layout/systemtray-panel.lua
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local TaskList = require('widget.task-list')
|
||||
local TagList = require('widget.tag-list')
|
||||
local gears = require('gears')
|
||||
local clickable_container = require('widget.material.clickable-container')
|
||||
local mat_icon_button = require('widget.material.icon-button')
|
||||
local mat_icon = require('widget.material.icon')
|
||||
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local icons = require('theme.icons')
|
||||
|
||||
local systray = wibox.widget.systray()
|
||||
systray:set_horizontal(true)
|
||||
systray:set_base_size(32)
|
||||
|
||||
local TopPanel = function(s, offset)
|
||||
local offsetx = 0
|
||||
if offset == true then
|
||||
offsetx = dpi(128)
|
||||
offsety = dpi(4)
|
||||
end
|
||||
local panel =
|
||||
wibox(
|
||||
{
|
||||
ontop = false,
|
||||
screen = s,
|
||||
height = dpi(32),
|
||||
width = dpi(128),
|
||||
x = s.geometry.width - dpi(318),
|
||||
y = s.geometry.y + offsety,
|
||||
stretch = false,
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal,
|
||||
struts = {
|
||||
top = dpi(32)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
panel:struts(
|
||||
{
|
||||
top = dpi(0)
|
||||
}
|
||||
)
|
||||
|
||||
panel:setup {
|
||||
layout = wibox.layout.align.horizontal,
|
||||
wibox.container.margin(systray, dpi(4), dpi(4), dpi(4), dpi(4)),
|
||||
nil,
|
||||
require('widget.battery'),
|
||||
}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return TopPanel
|
||||
135
RICE/redhound/layout/tasklist-panel.lua
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local TaskList = require('widget.task-list')
|
||||
local TagList = require('widget.tag-list')
|
||||
local gears = require('gears')
|
||||
local clickable_container = require('widget.material.clickable-container')
|
||||
local mat_icon_button = require('widget.material.icon-button')
|
||||
local mat_icon = require('widget.material.icon')
|
||||
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local icons = require('theme.icons')
|
||||
|
||||
-- Clock / Calendar 24h format
|
||||
local textclock = wibox.widget.textclock('<span font="Roboto Mono bold 9">%d.%m.%Y\n %H:%M</span>')
|
||||
|
||||
-- Clock / Calendar 12AM/PM fornat
|
||||
-- local textclock = wibox.widget.textclock('<span font="Roboto Mono bold 9">%d.%m.%Y\n %I:%M %p</span>\n<span font="Roboto Mono bold 9">%p</span>')
|
||||
-- textclock.forced_height = 56
|
||||
|
||||
-- Add a calendar (credits to kylekewley for the original code)
|
||||
local month_calendar = awful.widget.calendar_popup.month({
|
||||
screen = s,
|
||||
start_sunday = false,
|
||||
week_numbers = true
|
||||
})
|
||||
month_calendar:attach(textclock)
|
||||
|
||||
local clock_widget = wibox.container.margin(textclock, dpi(13), dpi(13), dpi(8), dpi(8))
|
||||
|
||||
local add_button = mat_icon_button(mat_icon(icons.plus, dpi(24)))
|
||||
add_button:buttons(
|
||||
gears.table.join(
|
||||
awful.button(
|
||||
{},
|
||||
1,
|
||||
nil,
|
||||
function()
|
||||
awful.spawn(
|
||||
awful.screen.focused().selected_tag.defaultApp,
|
||||
{
|
||||
tag = _G.mouse.screen.selected_tag,
|
||||
placement = awful.placement.bottom_right
|
||||
}
|
||||
)
|
||||
end
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
-- Create an imagebox widget which will contains an icon indicating which layout we're using.
|
||||
-- We need one layoutbox per screen.
|
||||
local LayoutBox = function(s)
|
||||
local layoutBox = clickable_container(awful.widget.layoutbox(s))
|
||||
layoutBox:buttons(
|
||||
awful.util.table.join(
|
||||
awful.button(
|
||||
{},
|
||||
1,
|
||||
function()
|
||||
awful.layout.inc(1)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{},
|
||||
3,
|
||||
function()
|
||||
awful.layout.inc(-1)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{},
|
||||
4,
|
||||
function()
|
||||
awful.layout.inc(1)
|
||||
end
|
||||
),
|
||||
awful.button(
|
||||
{},
|
||||
5,
|
||||
function()
|
||||
awful.layout.inc(-1)
|
||||
end
|
||||
)
|
||||
)
|
||||
)
|
||||
return layoutBox
|
||||
end
|
||||
|
||||
local TasklistPanel = function(s, offset)
|
||||
local offsetx = 0
|
||||
if offset == true then
|
||||
offsetx = dpi(512)
|
||||
offsety = dpi(4)
|
||||
end
|
||||
local panel =
|
||||
wibox(
|
||||
{
|
||||
ontop = false,
|
||||
screen = s,
|
||||
height = dpi(32),
|
||||
width = s.geometry.width - 2 * offsetx,
|
||||
x = s.geometry.x + offsetx,
|
||||
y = s.geometry.y + offsety,
|
||||
stretch = false,
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal,
|
||||
struts = {
|
||||
top = dpi(32)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
panel:struts(
|
||||
{
|
||||
top = dpi(34)
|
||||
}
|
||||
)
|
||||
|
||||
panel:setup {
|
||||
layout = wibox.layout.align.horizontal,
|
||||
{
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
TaskList(s),
|
||||
--add_button
|
||||
},
|
||||
nil,
|
||||
nil
|
||||
}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return TasklistPanel
|
||||
52
RICE/redhound/layout/workspace-panel.lua
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local TagList = require('widget.tag-list')
|
||||
local gears = require('gears')
|
||||
local clickable_container = require('widget.material.clickable-container')
|
||||
local mat_icon_button = require('widget.material.icon-button')
|
||||
local mat_icon = require('widget.material.icon')
|
||||
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local icons = require('theme.icons')
|
||||
|
||||
local WorkspacePanel = function(s, offset)
|
||||
local offsetx = 0
|
||||
if offset == true then
|
||||
offsetx = dpi(50)
|
||||
offsety = dpi(4)
|
||||
end
|
||||
local panel =
|
||||
wibox(
|
||||
{
|
||||
ontop = false,
|
||||
screen = s,
|
||||
height = dpi(32),
|
||||
width = dpi(180),
|
||||
x = s.geometry.x + offsetx,
|
||||
y = s.geometry.y + offsety,
|
||||
stretch = false,
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal,
|
||||
struts = {
|
||||
top = dpi(32)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
panel:struts(
|
||||
{
|
||||
top = dpi(0)
|
||||
}
|
||||
)
|
||||
|
||||
panel:setup {
|
||||
layout = wibox.layout.align.horizontal,
|
||||
TagList(s)
|
||||
}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return WorkspacePanel
|
||||
1
RICE/redhound/module/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
## Module
|
||||
19
RICE/redhound/module/auto-start.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
-- MODULE AUTO-START
|
||||
-- Run all the apps listed in configuration/apps.lua as run_on_start_up only once when awesome start
|
||||
|
||||
local awful = require('awful')
|
||||
local apps = require('configuration.apps')
|
||||
|
||||
local function run_once(cmd)
|
||||
local findme = cmd
|
||||
local firstspace = cmd:find(' ')
|
||||
if firstspace then
|
||||
findme = cmd:sub(0, firstspace - 1)
|
||||
end
|
||||
awful.spawn.with_shell(string.format('pgrep -u $USER -x %s > /dev/null || (%s)', findme, cmd))
|
||||
--This broke compton ===> awful.spawn.single_instance(string.format('pgrep -u $USER -x %s > /dev/null || (%s)', findme, cmd))
|
||||
end
|
||||
|
||||
for _, app in ipairs(apps.run_on_start_up) do
|
||||
run_once(app)
|
||||
end
|
||||
83
RICE/redhound/module/backdrop.lua
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
local wibox = require('wibox')
|
||||
local gears = require('gears')
|
||||
local awful = require('awful')
|
||||
|
||||
local function update_backdrop(w, c)
|
||||
local cairo = require('lgi').cairo
|
||||
local geo = c.screen.geometry
|
||||
|
||||
w.x = geo.x
|
||||
w.y = geo.y
|
||||
w.width = geo.width
|
||||
w.height = geo.height
|
||||
|
||||
-- Create an image surface that is as large as the wibox
|
||||
local shape = cairo.ImageSurface.create(cairo.Format.A1, geo.width, geo.height)
|
||||
local cr = cairo.Context(shape)
|
||||
|
||||
-- Fill with "completely opaque"
|
||||
cr.operator = 'SOURCE'
|
||||
cr:set_source_rgba(1, 1, 1, 1)
|
||||
cr:paint()
|
||||
|
||||
-- Remove the shape of the client
|
||||
local c_geo = c:geometry()
|
||||
local c_shape = gears.surface(c.shape_bounding)
|
||||
cr:set_source_rgba(0, 0, 0, 0)
|
||||
cr:mask_surface(c_shape, c_geo.x + c.border_width - geo.x, c_geo.y + c.border_width - geo.y)
|
||||
c_shape:finish()
|
||||
|
||||
w.shape_bounding = shape._native
|
||||
shape:finish()
|
||||
w:draw()
|
||||
end
|
||||
|
||||
local function backdrop(c)
|
||||
local function update()
|
||||
update_backdrop(c.backdrop, c)
|
||||
end
|
||||
if not c.backdrop then
|
||||
c.backdrop = wibox {ontop = true, bg = '#00000054', type = 'splash'}
|
||||
c.backdrop:buttons(
|
||||
awful.util.table.join(
|
||||
awful.button(
|
||||
{},
|
||||
1,
|
||||
function()
|
||||
c:kill()
|
||||
end
|
||||
)
|
||||
)
|
||||
)
|
||||
c:connect_signal('property::geometry', update)
|
||||
c:connect_signal(
|
||||
'property::shape_client_bounding',
|
||||
function()
|
||||
gears.timer.delayed_call(update)
|
||||
end
|
||||
)
|
||||
c:connect_signal(
|
||||
'unmanage',
|
||||
function()
|
||||
c.backdrop.visible = false
|
||||
end
|
||||
)
|
||||
c:connect_signal(
|
||||
'property::shape_bounding',
|
||||
function()
|
||||
gears.timer.delayed_call(update)
|
||||
end
|
||||
)
|
||||
end
|
||||
update()
|
||||
c.backdrop.visible = true
|
||||
end
|
||||
|
||||
_G.client.connect_signal(
|
||||
'manage',
|
||||
function(c)
|
||||
if c.drawBackdrop == true then
|
||||
backdrop(c)
|
||||
end
|
||||
end
|
||||
)
|
||||
107
RICE/redhound/module/decorate-client.lua
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
local awful = require('awful')
|
||||
local gears = require('gears')
|
||||
local beautiful = require('beautiful')
|
||||
|
||||
local function renderClient(client, mode)
|
||||
if client.skip_decoration or (client.rendering_mode == mode) then
|
||||
return
|
||||
end
|
||||
|
||||
client.rendering_mode = mode
|
||||
client.floating = false
|
||||
client.maximized = false
|
||||
client.above = false
|
||||
client.below = false
|
||||
client.ontop = false
|
||||
client.sticky = false
|
||||
client.maximized_horizontal = false
|
||||
client.maximized_vertical = false
|
||||
|
||||
if client.rendering_mode == 'maximized' then
|
||||
client.border_width = 0
|
||||
client.shape = function(cr, w, h)
|
||||
gears.shape.rectangle(cr, w, h)
|
||||
end
|
||||
elseif client.rendering_mode == 'tiled' then
|
||||
-- client.border_width = beautiful.border_width
|
||||
client.border_width = 3
|
||||
client.shape = function(cr, w, h)
|
||||
gears.shape.rectangle(cr, w, h)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
local changesOnScreenCalled = false
|
||||
|
||||
local function changesOnScreen(currentScreen)
|
||||
local tagIsMax = currentScreen.selected_tag ~= nil and currentScreen.selected_tag.layout == awful.layout.suit.max
|
||||
local clientsToManage = {}
|
||||
|
||||
for _, client in pairs(currentScreen.clients) do
|
||||
if not client.skip_decoration and not client.hidden then
|
||||
table.insert(clientsToManage, client)
|
||||
end
|
||||
end
|
||||
|
||||
if (tagIsMax or #clientsToManage == 1) then
|
||||
currentScreen.client_mode = 'maximized'
|
||||
else
|
||||
currentScreen.client_mode = 'tiled'
|
||||
end
|
||||
|
||||
for _, client in pairs(clientsToManage) do
|
||||
renderClient(client, currentScreen.client_mode)
|
||||
end
|
||||
changesOnScreenCalled = false
|
||||
end
|
||||
|
||||
function clientCallback(client)
|
||||
if not changesOnScreenCalled then
|
||||
if not client.skip_decoration and client.screen then
|
||||
changesOnScreenCalled = true
|
||||
local screen = client.screen
|
||||
gears.timer.delayed_call(
|
||||
function()
|
||||
changesOnScreen(screen)
|
||||
end
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function tagCallback(tag)
|
||||
if not changesOnScreenCalled then
|
||||
if tag.screen then
|
||||
changesOnScreenCalled = true
|
||||
local screen = tag.screen
|
||||
gears.timer.delayed_call(
|
||||
function()
|
||||
changesOnScreen(screen)
|
||||
end
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
_G.client.connect_signal('manage', clientCallback)
|
||||
|
||||
_G.client.connect_signal('unmanage', clientCallback)
|
||||
|
||||
_G.client.connect_signal('property::hidden', clientCallback)
|
||||
|
||||
_G.client.connect_signal('property::minimized', clientCallback)
|
||||
|
||||
_G.client.connect_signal(
|
||||
'property::fullscreen',
|
||||
function(c)
|
||||
if c.fullscreen then
|
||||
renderClient(c, 'maximized')
|
||||
else
|
||||
clientCallback(c)
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
_G.tag.connect_signal('property::selected', tagCallback)
|
||||
|
||||
_G.tag.connect_signal('property::layout', tagCallback)
|
||||
201
RICE/redhound/module/exit-screen.lua
Normal file
|
|
@ -0,0 +1,201 @@
|
|||
local awful = require('awful')
|
||||
local gears = require('gears')
|
||||
local wibox = require('wibox')
|
||||
local beautiful = require('beautiful')
|
||||
local icons = require('theme.icons')
|
||||
local clickable_container = require('widget.material.clickable-container')
|
||||
local apps = require('configuration.apps')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
-- Appearance
|
||||
local icon_size = beautiful.exit_screen_icon_size or dpi(140)
|
||||
|
||||
local buildButton = function(icon)
|
||||
local abutton =
|
||||
wibox.widget {
|
||||
wibox.widget {
|
||||
wibox.widget {
|
||||
wibox.widget {
|
||||
image = icon,
|
||||
widget = wibox.widget.imagebox
|
||||
},
|
||||
top = dpi(16),
|
||||
bottom = dpi(16),
|
||||
left = dpi(16),
|
||||
right = dpi(16),
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
shape = gears.shape.circle,
|
||||
forced_width = icon_size,
|
||||
forced_height = icon_size,
|
||||
widget = clickable_container
|
||||
},
|
||||
left = dpi(24),
|
||||
right = dpi(24),
|
||||
widget = wibox.container.margin
|
||||
}
|
||||
|
||||
return abutton
|
||||
end
|
||||
|
||||
function suspend_command()
|
||||
exit_screen_hide()
|
||||
awful.spawn.with_shell(apps.default.lock .. ' & systemctl suspend')
|
||||
end
|
||||
function exit_command()
|
||||
_G.awesome.quit()
|
||||
end
|
||||
function lock_command()
|
||||
exit_screen_hide()
|
||||
awful.spawn.with_shell('sleep 1 && ' .. apps.default.lock)
|
||||
end
|
||||
function poweroff_command()
|
||||
awful.spawn.with_shell('poweroff')
|
||||
awful.keygrabber.stop(_G.exit_screen_grabber)
|
||||
end
|
||||
function reboot_command()
|
||||
awful.spawn.with_shell('reboot')
|
||||
awful.keygrabber.stop(_G.exit_screen_grabber)
|
||||
end
|
||||
|
||||
local poweroff = buildButton(icons.power, 'Shutdown')
|
||||
poweroff:connect_signal(
|
||||
'button::release',
|
||||
function()
|
||||
poweroff_command()
|
||||
end
|
||||
)
|
||||
|
||||
local reboot = buildButton(icons.restart, 'Restart')
|
||||
reboot:connect_signal(
|
||||
'button::release',
|
||||
function()
|
||||
reboot_command()
|
||||
end
|
||||
)
|
||||
|
||||
local suspend = buildButton(icons.sleep, 'Sleep')
|
||||
suspend:connect_signal(
|
||||
'button::release',
|
||||
function()
|
||||
suspend_command()
|
||||
end
|
||||
)
|
||||
|
||||
local exit = buildButton(icons.logout, 'Logout')
|
||||
exit:connect_signal(
|
||||
'button::release',
|
||||
function()
|
||||
exit_command()
|
||||
end
|
||||
)
|
||||
|
||||
local lock = buildButton(icons.lock, 'Lock')
|
||||
lock:connect_signal(
|
||||
'button::release',
|
||||
function()
|
||||
lock_command()
|
||||
end
|
||||
)
|
||||
|
||||
-- Get screen geometry
|
||||
local screen_geometry = awful.screen.focused().geometry
|
||||
|
||||
-- Create the widget
|
||||
exit_screen =
|
||||
wibox(
|
||||
{
|
||||
x = screen_geometry.x,
|
||||
y = screen_geometry.y,
|
||||
visible = false,
|
||||
ontop = true,
|
||||
type = 'splash',
|
||||
height = screen_geometry.height,
|
||||
width = screen_geometry.width
|
||||
}
|
||||
)
|
||||
|
||||
exit_screen.bg = beautiful.background.hue_800 .. 'dd'
|
||||
exit_screen.fg = beautiful.exit_screen_fg or beautiful.wibar_fg or '#FEFEFE'
|
||||
|
||||
local exit_screen_grabber
|
||||
|
||||
function exit_screen_hide()
|
||||
awful.keygrabber.stop(exit_screen_grabber)
|
||||
exit_screen.visible = false
|
||||
end
|
||||
|
||||
function exit_screen_show()
|
||||
-- naughty.notify({text = "starting the keygrabber"})
|
||||
exit_screen_grabber =
|
||||
awful.keygrabber.run(
|
||||
function(_, key, event)
|
||||
if event == 'release' then
|
||||
return
|
||||
end
|
||||
|
||||
if key == 's' then
|
||||
suspend_command()
|
||||
elseif key == 'e' then
|
||||
exit_command()
|
||||
elseif key == 'l' then
|
||||
lock_command()
|
||||
elseif key == 'p' then
|
||||
poweroff_command()
|
||||
elseif key == 'r' then
|
||||
reboot_command()
|
||||
elseif key == 'Escape' or key == 'q' or key == 'x' then
|
||||
-- naughty.notify({text = "Cancel"})
|
||||
exit_screen_hide()
|
||||
-- else awful.keygrabber.stop(exit_screen_grabber)
|
||||
end
|
||||
end
|
||||
)
|
||||
exit_screen.visible = true
|
||||
end
|
||||
|
||||
exit_screen:buttons(
|
||||
gears.table.join(
|
||||
-- Middle click - Hide exit_screen
|
||||
awful.button(
|
||||
{},
|
||||
2,
|
||||
function()
|
||||
exit_screen_hide()
|
||||
end
|
||||
),
|
||||
-- Right click - Hide exit_screen
|
||||
awful.button(
|
||||
{},
|
||||
3,
|
||||
function()
|
||||
exit_screen_hide()
|
||||
end
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
-- Item placement
|
||||
exit_screen:setup {
|
||||
nil,
|
||||
{
|
||||
nil,
|
||||
{
|
||||
-- {
|
||||
poweroff,
|
||||
reboot,
|
||||
suspend,
|
||||
exit,
|
||||
lock,
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
-- },
|
||||
-- widget = exit_screen_box
|
||||
},
|
||||
nil,
|
||||
expand = 'none',
|
||||
layout = wibox.layout.align.horizontal
|
||||
},
|
||||
nil,
|
||||
expand = 'none',
|
||||
layout = wibox.layout.align.vertical
|
||||
}
|
||||
62
RICE/redhound/module/notifications.lua
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
local naughty = require('naughty')
|
||||
local beautiful = require('beautiful')
|
||||
local gears = require('gears')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
-- Naughty presets
|
||||
naughty.config.padding = 8
|
||||
naughty.config.spacing = 8
|
||||
|
||||
naughty.config.defaults.timeout = 5
|
||||
naughty.config.defaults.screen = 1
|
||||
naughty.config.defaults.position = 'bottom_left'
|
||||
naughty.config.defaults.margin = dpi(16)
|
||||
naughty.config.defaults.ontop = true
|
||||
naughty.config.defaults.font = 'Roboto Regular 10'
|
||||
naughty.config.defaults.icon = nil
|
||||
naughty.config.defaults.icon_size = dpi(32)
|
||||
naughty.config.defaults.shape = gears.shape.rectangle
|
||||
naughty.config.defaults.border_width = 0
|
||||
naughty.config.defaults.hover_timeout = nil
|
||||
|
||||
-- Error handling
|
||||
if _G.awesome.startup_errors then
|
||||
naughty.notify(
|
||||
{
|
||||
preset = naughty.config.presets.critical,
|
||||
title = 'Oops, there were errors during startup!',
|
||||
text = _G.awesome.startup_errors
|
||||
}
|
||||
)
|
||||
end
|
||||
|
||||
do
|
||||
local in_error = false
|
||||
_G.awesome.connect_signal(
|
||||
'debug::error',
|
||||
function(err)
|
||||
if in_error then
|
||||
return
|
||||
end
|
||||
in_error = true
|
||||
|
||||
naughty.notify(
|
||||
{
|
||||
preset = naughty.config.presets.critical,
|
||||
title = 'Oops, an error happened!',
|
||||
text = tostring(err)
|
||||
}
|
||||
)
|
||||
in_error = false
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
function log_this(title, txt)
|
||||
naughty.notify(
|
||||
{
|
||||
title = 'log: ' .. title,
|
||||
text = txt
|
||||
}
|
||||
)
|
||||
end
|
||||
72
RICE/redhound/module/quake-terminal.lua
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
local awful = require('awful')
|
||||
local spawn = require('awful.spawn')
|
||||
local app = require('configuration.apps').default.quake
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local quake_id = 'notnil'
|
||||
local quake_client
|
||||
local opened = false
|
||||
function create_shell()
|
||||
quake_id =
|
||||
spawn(
|
||||
app,
|
||||
{
|
||||
skip_decoration = true
|
||||
}
|
||||
)
|
||||
end
|
||||
|
||||
function open_quake()
|
||||
quake_client.hidden = false
|
||||
end
|
||||
|
||||
function close_quake()
|
||||
quake_client.hidden = true
|
||||
end
|
||||
|
||||
toggle_quake = function()
|
||||
opened = not opened
|
||||
if not quake_client then
|
||||
create_shell()
|
||||
else
|
||||
if opened then
|
||||
open_quake()
|
||||
client.focus = quake_client
|
||||
quake_client:raise()
|
||||
-- awful.client.focus(quake_id)
|
||||
else
|
||||
close_quake()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
_G.client.connect_signal(
|
||||
'manage',
|
||||
function(c)
|
||||
if (c.pid == quake_id) then
|
||||
quake_client = c
|
||||
c.x = c.screen.geometry.x
|
||||
c.y = c.screen.geometry.height - dpi(408)
|
||||
c.opacity = 0.9
|
||||
c.floating = true
|
||||
c.skip_taskbar = true
|
||||
c.ontop = true
|
||||
c.above = true
|
||||
c.sticky = true
|
||||
c.hidden = not opened
|
||||
c.maximized_horizontal = true
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
_G.client.connect_signal(
|
||||
'unmanage',
|
||||
function(c)
|
||||
if (c.pid == quake_id) then
|
||||
opened = false
|
||||
quake_client = nil
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
-- create_shell()
|
||||
82
RICE/redhound/rc.lua
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
local gears = require('gears')
|
||||
local awful = require('awful')
|
||||
require('awful.autofocus')
|
||||
local beautiful = require('beautiful')
|
||||
|
||||
-- Theme
|
||||
beautiful.init(require('theme'))
|
||||
|
||||
-- Layout
|
||||
require('layout')
|
||||
|
||||
-- Init all modules
|
||||
require('module.notifications')
|
||||
require('module.auto-start')
|
||||
require('module.decorate-client')
|
||||
require('module.quake-terminal')
|
||||
-- Backdrop causes bugs on some gtk3 applications
|
||||
--require('module.backdrop')
|
||||
require('module.exit-screen')
|
||||
|
||||
-- Setup all configurations
|
||||
require('configuration.client')
|
||||
require('configuration.tags')
|
||||
_G.root.keys(require('configuration.keys.global'))
|
||||
|
||||
-- Create a wibox for each screen and add it
|
||||
awful.screen.connect_for_each_screen(
|
||||
function(s)
|
||||
-- If wallpaper is a function, call it with the screen
|
||||
if beautiful.wallpaper then
|
||||
if type(beautiful.wallpaper) == "string" then
|
||||
if beautiful.wallpaper:sub(1, #"#") == "#" then
|
||||
gears.wallpaper.set(beautiful.wallpaper)
|
||||
elseif beautiful.wallpaper:sub(1, #"/") == "/" then
|
||||
gears.wallpaper.maximized(beautiful.wallpaper, s)
|
||||
end
|
||||
else
|
||||
beautiful.wallpaper(s)
|
||||
end
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
-- Signal function to execute when a new client appears.
|
||||
_G.client.connect_signal(
|
||||
'manage',
|
||||
function(c)
|
||||
-- Set the windows at the slave,
|
||||
-- i.e. put it at the end of others instead of setting it master.
|
||||
if not _G.awesome.startup then
|
||||
awful.client.setslave(c)
|
||||
end
|
||||
|
||||
if _G.awesome.startup and not c.size_hints.user_position and not c.size_hints.program_position then
|
||||
-- Prevent clients from being unreachable after screen count changes.
|
||||
awful.placement.no_offscreen(c)
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
-- Enable sloppy focus, so that focus follows mouse.
|
||||
_G.client.connect_signal(
|
||||
'mouse::enter',
|
||||
function(c)
|
||||
c:emit_signal('request::activate', 'mouse_enter', {raise = true})
|
||||
end
|
||||
)
|
||||
|
||||
|
||||
-- Make the focused window have a glowing border
|
||||
_G.client.connect_signal(
|
||||
'focus',
|
||||
function(c)
|
||||
c.border_color = beautiful.border_focus
|
||||
end
|
||||
)
|
||||
_G.client.connect_signal(
|
||||
'unfocus',
|
||||
function(c)
|
||||
c.border_color = beautiful.border_normal
|
||||
end
|
||||
)
|
||||
1
RICE/redhound/theme/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
## Theme
|
||||
110
RICE/redhound/theme/default-theme.lua
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
local filesystem = require('gears.filesystem')
|
||||
local mat_colors = require('theme.mat-colors')
|
||||
local theme_dir = filesystem.get_configuration_dir() .. '/theme'
|
||||
local gears = require('gears')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
local theme = {}
|
||||
theme.icons = theme_dir .. '/icons/'
|
||||
theme.font = 'Roboto medium 10'
|
||||
|
||||
-- Colors Pallets
|
||||
|
||||
-- Primary
|
||||
theme.primary = mat_colors.deep_orange
|
||||
|
||||
-- Accent
|
||||
theme.accent = mat_colors.orange
|
||||
|
||||
-- Background
|
||||
theme.background = mat_colors.grey
|
||||
|
||||
local awesome_overrides =
|
||||
function(theme)
|
||||
theme.dir = os.getenv('HOME') .. '/.config/awesome/theme'
|
||||
|
||||
theme.icons = theme.dir .. '/icons/'
|
||||
theme.wallpaper = theme.dir .. '/wallpapers/Wallpaper.png'
|
||||
--theme.wallpaper = '#e0e0e0'
|
||||
theme.font = 'Roboto medium 10'
|
||||
theme.title_font = 'Roboto medium 14'
|
||||
|
||||
theme.fg_normal = '#ffffffde'
|
||||
|
||||
theme.fg_focus = '#e4e4e4'
|
||||
theme.fg_urgent = '#CC9393'
|
||||
theme.bat_fg_critical = '#232323'
|
||||
|
||||
theme.bg_normal = theme.primary.hue_900
|
||||
theme.bg_focus = '#5a5a5a'
|
||||
theme.bg_urgent = '#3F3F3F'
|
||||
theme.bg_systray = theme.primary.hue_900
|
||||
|
||||
-- Borders
|
||||
|
||||
theme.border_width = dpi(1)
|
||||
theme.border_normal = theme.primary.hue_900
|
||||
theme.border_focus = theme.primary.hue_500
|
||||
theme.border_marked = '#CC9393'
|
||||
|
||||
-- Menu
|
||||
|
||||
theme.menu_height = dpi(16)
|
||||
theme.menu_width = dpi(160)
|
||||
|
||||
-- Tooltips
|
||||
theme.tooltip_bg = '#232323'
|
||||
--theme.tooltip_border_color = '#232323'
|
||||
theme.tooltip_border_width = 0
|
||||
theme.tooltip_shape = function(cr, w, h)
|
||||
gears.shape.rounded_rect(cr, w, h, dpi(6))
|
||||
end
|
||||
|
||||
-- Layout
|
||||
|
||||
theme.layout_max = theme.icons .. 'layouts/arrow-expand-all.png'
|
||||
theme.layout_tile = theme.icons .. 'layouts/view-quilt.png'
|
||||
theme.layout_floating = theme.icons .. 'layouts/floating.png'
|
||||
|
||||
-- Taglist
|
||||
|
||||
theme.taglist_bg_empty = theme.primary.hue_900
|
||||
theme.taglist_bg_occupied = theme.primary.hue_900
|
||||
theme.taglist_bg_urgent =
|
||||
'linear:0,0:0,' ..
|
||||
dpi(48) ..
|
||||
':0,' ..
|
||||
theme.accent.hue_500 ..
|
||||
':0.07,' .. theme.accent.hue_500 .. ':0.07,' .. theme.primary.hue_900 .. ':1,' .. theme.primary.hue_900
|
||||
theme.taglist_bg_focus =
|
||||
'linear:0,0:0,' ..
|
||||
dpi(32) ..
|
||||
':0,' ..
|
||||
theme.primary.hue_900 ..
|
||||
':0.9,' .. theme.primary.hue_900 .. ':0.9,' .. theme.primary.hue_500 .. ':1,' .. theme.primary.hue_500
|
||||
|
||||
-- Tasklist
|
||||
|
||||
theme.tasklist_font = 'Roboto medium 11'
|
||||
theme.tasklist_bg_normal = theme.primary.hue_900
|
||||
theme.tasklist_bg_focus =
|
||||
'linear:0,0:0,' ..
|
||||
dpi(32) ..
|
||||
':0,' ..
|
||||
theme.primary.hue_900 ..
|
||||
':0.9,' .. theme.primary.hue_900 .. ':0.9,' .. theme.fg_normal .. ':1,' .. theme.fg_normal
|
||||
theme.tasklist_bg_urgent = theme.primary.hue_900
|
||||
theme.tasklist_fg_focus = '#DDDDDD'
|
||||
theme.tasklist_fg_urgent = theme.fg_normal
|
||||
theme.tasklist_fg_normal = '#AAAAAA'
|
||||
|
||||
theme.icon_theme = 'Papirus-Dark'
|
||||
|
||||
--Client
|
||||
theme.border_width = dpi(1)
|
||||
theme.border_focus = theme.primary.hue_500
|
||||
theme.border_normal = theme.primary.hue_900
|
||||
end
|
||||
return {
|
||||
theme = theme,
|
||||
awesome_overrides = awesome_overrides
|
||||
}
|
||||
1
RICE/redhound/theme/icons/brightness-7.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M12,8A4,4 0 0,0 8,12A4,4 0 0,0 12,16A4,4 0 0,0 16,12A4,4 0 0,0 12,8M12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12A6,6 0 0,1 12,18M20,8.69V4H15.31L12,0.69L8.69,4H4V8.69L0.69,12L4,15.31V20H8.69L12,23.31L15.31,20H20V15.31L23.31,12L20,8.69Z" /></svg>
|
||||
|
After Width: | Height: | Size: 554 B |
60
RICE/redhound/theme/icons/burn-solid.svg
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="burn-solid.svg"
|
||||
id="svg4"
|
||||
version="1.1"
|
||||
viewBox="0 0 384 512"
|
||||
role="img"
|
||||
class="svg-inline--fa fa-burn fa-w-12"
|
||||
data-icon="burn"
|
||||
data-prefix="fas"
|
||||
focusable="false"
|
||||
aria-hidden="true">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="svg4"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="52"
|
||||
inkscape:window-x="8"
|
||||
inkscape:cy="251.61311"
|
||||
inkscape:cx="81.928896"
|
||||
inkscape:zoom="1.1347656"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="708"
|
||||
inkscape:window-width="1350"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="fill:#ffffff"
|
||||
id="path2"
|
||||
d="M192 0C79.7 101.3 0 220.9 0 300.5 0 425 79 512 192 512s192-87 192-211.5c0-79.9-80.2-199.6-192-300.5zm0 448c-56.5 0-96-39-96-94.8 0-13.5 4.6-61.5 96-161.2 91.4 99.7 96 147.7 96 161.2 0 55.8-39.5 94.8-96 94.8z"
|
||||
fill="currentColor" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
1
RICE/redhound/theme/icons/chart-areaspline.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M17.45,15.18L22,7.31V19L22,21H2V3H4V15.54L9.5,6L16,9.78L20.24,2.45L21.97,3.45L16.74,12.5L10.23,8.75L4.31,19H6.57L10.96,11.44L17.45,15.18Z" /></svg>
|
||||
|
After Width: | Height: | Size: 449 B |
1
RICE/redhound/theme/icons/close.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" /></svg>
|
||||
|
After Width: | Height: | Size: 421 B |
1
RICE/redhound/theme/icons/code-braces.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M8,3A2,2 0 0,0 6,5V9A2,2 0 0,1 4,11H3V13H4A2,2 0 0,1 6,15V19A2,2 0 0,0 8,21H10V19H8V14A2,2 0 0,0 6,12A2,2 0 0,0 8,10V5H10V3M16,3A2,2 0 0,1 18,5V9A2,2 0 0,0 20,11H21V13H20A2,2 0 0,0 18,15V19A2,2 0 0,1 16,21H14V19H16V14A2,2 0 0,1 18,12A2,2 0 0,1 16,10V5H14V3H16Z" /></svg>
|
||||
|
After Width: | Height: | Size: 572 B |
60
RICE/redhound/theme/icons/code-solid.svg
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="code-solid.svg"
|
||||
id="svg4"
|
||||
version="1.1"
|
||||
viewBox="0 0 640 512"
|
||||
role="img"
|
||||
class="svg-inline--fa fa-code fa-w-20"
|
||||
data-icon="code"
|
||||
data-prefix="fas"
|
||||
focusable="false"
|
||||
aria-hidden="true">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="svg4"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="52"
|
||||
inkscape:window-x="687"
|
||||
inkscape:cy="256"
|
||||
inkscape:cx="320"
|
||||
inkscape:zoom="1.1347656"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="700"
|
||||
inkscape:window-width="744"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="fill:#ffffff"
|
||||
id="path2"
|
||||
d="M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"
|
||||
fill="currentColor" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.2 KiB |
54
RICE/redhound/theme/icons/console.svg
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="console-line.svg"
|
||||
id="svg4"
|
||||
viewBox="0 0 24 24"
|
||||
height="24"
|
||||
width="24"
|
||||
version="1.1">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="svg4"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="40"
|
||||
inkscape:window-x="56"
|
||||
inkscape:cy="12"
|
||||
inkscape:cx="12"
|
||||
inkscape:zoom="23.666667"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="720"
|
||||
inkscape:window-width="1302"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="fill:#ffffff"
|
||||
id="path2"
|
||||
d="M13,19V16H21V19H13M8.5,13L2.47,7H6.71L11.67,11.95C12.25,12.54 12.25,13.5 11.67,14.07L6.74,19H2.5L8.5,13Z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
60
RICE/redhound/theme/icons/envelope-solid.svg
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="envelope-solid.svg"
|
||||
id="svg4"
|
||||
version="1.1"
|
||||
viewBox="0 0 512 512"
|
||||
role="img"
|
||||
class="svg-inline--fa fa-envelope fa-w-16"
|
||||
data-icon="envelope"
|
||||
data-prefix="fas"
|
||||
focusable="false"
|
||||
aria-hidden="true">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="svg4"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="52"
|
||||
inkscape:window-x="687"
|
||||
inkscape:cy="256"
|
||||
inkscape:cx="256"
|
||||
inkscape:zoom="1.1347656"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="700"
|
||||
inkscape:window-width="744"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="fill:#ffffff"
|
||||
id="path2"
|
||||
d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"
|
||||
fill="currentColor" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
54
RICE/redhound/theme/icons/firefox.svg
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="firefox.svg"
|
||||
id="svg4"
|
||||
viewBox="0 0 24 24"
|
||||
height="24"
|
||||
width="24"
|
||||
version="1.1">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="svg4"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="40"
|
||||
inkscape:window-x="56"
|
||||
inkscape:cy="9.686238"
|
||||
inkscape:cx="10.126044"
|
||||
inkscape:zoom="23.666667"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="720"
|
||||
inkscape:window-width="1302"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="fill:#ffffff"
|
||||
id="path2"
|
||||
d="M9.27 7.94C9.27 7.94 9.27 7.94 9.27 7.94M6.85 6.74C6.86 6.74 6.86 6.74 6.85 6.74M21.28 8.6C20.85 7.55 19.96 6.42 19.27 6.06C19.83 7.17 20.16 8.28 20.29 9.1L20.29 9.12C19.16 6.3 17.24 5.16 15.67 2.68C15.59 2.56 15.5 2.43 15.43 2.3C15.39 2.23 15.36 2.16 15.32 2.09C15.26 1.96 15.2 1.83 15.17 1.69C15.17 1.68 15.16 1.67 15.15 1.67H15.13L15.12 1.67L15.12 1.67L15.12 1.67C12.9 2.97 11.97 5.26 11.74 6.71C11.05 6.75 10.37 6.92 9.75 7.22C9.63 7.27 9.58 7.41 9.62 7.53C9.67 7.67 9.83 7.74 9.96 7.68C10.5 7.42 11.1 7.27 11.7 7.23L11.75 7.23C11.83 7.22 11.92 7.22 12 7.22C12.5 7.21 12.97 7.28 13.44 7.42L13.5 7.44C13.6 7.46 13.67 7.5 13.75 7.5C13.8 7.54 13.86 7.56 13.91 7.58L14.05 7.64C14.12 7.67 14.19 7.7 14.25 7.73C14.28 7.75 14.31 7.76 14.34 7.78C14.41 7.82 14.5 7.85 14.54 7.89C14.58 7.91 14.62 7.94 14.66 7.96C15.39 8.41 16 9.03 16.41 9.77C15.88 9.4 14.92 9.03 14 9.19C17.6 11 16.63 17.19 11.64 16.95C11.2 16.94 10.76 16.85 10.34 16.7C10.24 16.67 10.14 16.63 10.05 16.58C10 16.56 9.93 16.53 9.88 16.5C8.65 15.87 7.64 14.68 7.5 13.23C7.5 13.23 8 11.5 10.83 11.5C11.14 11.5 12 10.64 12.03 10.4C12.03 10.31 10.29 9.62 9.61 8.95C9.24 8.59 9.07 8.42 8.92 8.29C8.84 8.22 8.75 8.16 8.66 8.1C8.43 7.3 8.42 6.45 8.63 5.65C7.6 6.12 6.8 6.86 6.22 7.5H6.22C5.82 7 5.85 5.35 5.87 5C5.86 5 5.57 5.16 5.54 5.18C5.19 5.43 4.86 5.71 4.56 6C4.21 6.37 3.9 6.74 3.62 7.14C3 8.05 2.5 9.09 2.28 10.18C2.28 10.19 2.18 10.59 2.11 11.1L2.08 11.33C2.06 11.5 2.04 11.65 2 11.91L2 11.94L2 12.27L2 12.32C2 17.85 6.5 22.33 12 22.33C16.97 22.33 21.08 18.74 21.88 14C21.9 13.89 21.91 13.76 21.93 13.63C22.13 11.91 21.91 10.11 21.28 8.6Z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3 KiB |
1
RICE/redhound/theme/icons/flask.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M6,22A3,3 0 0,1 3,19C3,18.4 3.18,17.84 3.5,17.37L9,7.81V6A1,1 0 0,1 8,5V4A2,2 0 0,1 10,2H14A2,2 0 0,1 16,4V5A1,1 0 0,1 15,6V7.81L20.5,17.37C20.82,17.84 21,18.4 21,19A3,3 0 0,1 18,22H6M5,19A1,1 0 0,0 6,20H18A1,1 0 0,0 19,19C19,18.79 18.93,18.59 18.82,18.43L16.53,14.47L14,17L8.93,11.93L5.18,18.43C5.07,18.59 5,18.79 5,19M13,10A1,1 0 0,0 12,11A1,1 0 0,0 13,12A1,1 0 0,0 14,11A1,1 0 0,0 13,10Z" /></svg>
|
||||
|
After Width: | Height: | Size: 702 B |
60
RICE/redhound/theme/icons/folder-regular.svg
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="folder-regular.svg"
|
||||
id="svg4"
|
||||
version="1.1"
|
||||
viewBox="0 0 512 512"
|
||||
role="img"
|
||||
class="svg-inline--fa fa-folder fa-w-16"
|
||||
data-icon="folder"
|
||||
data-prefix="far"
|
||||
focusable="false"
|
||||
aria-hidden="true">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="svg4"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="52"
|
||||
inkscape:window-x="687"
|
||||
inkscape:cy="256"
|
||||
inkscape:cx="256"
|
||||
inkscape:zoom="1.1347656"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="700"
|
||||
inkscape:window-width="744"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="fill:#ffffff"
|
||||
id="path2"
|
||||
d="M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z"
|
||||
fill="currentColor" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.9 KiB |
1
RICE/redhound/theme/icons/folder.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z" /></svg>
|
||||
|
After Width: | Height: | Size: 405 B |
1
RICE/redhound/theme/icons/forum.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M17,12V3A1,1 0 0,0 16,2H3A1,1 0 0,0 2,3V17L6,13H16A1,1 0 0,0 17,12M21,6H19V15H6V17A1,1 0 0,0 7,18H18L22,22V7A1,1 0 0,0 21,6Z" /></svg>
|
||||
|
After Width: | Height: | Size: 436 B |
1
RICE/redhound/theme/icons/google-chrome.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M12,20L15.46,14H15.45C15.79,13.4 16,12.73 16,12C16,10.8 15.46,9.73 14.62,9H19.41C19.79,9.93 20,10.94 20,12A8,8 0 0,1 12,20M4,12C4,10.54 4.39,9.18 5.07,8L8.54,14H8.55C9.24,15.19 10.5,16 12,16C12.45,16 12.88,15.91 13.29,15.77L10.89,19.91C7,19.37 4,16.04 4,12M15,12A3,3 0 0,1 12,15A3,3 0 0,1 9,12A3,3 0 0,1 12,9A3,3 0 0,1 15,12M12,4C14.96,4 17.54,5.61 18.92,8H12C10.06,8 8.45,9.38 8.08,11.21L5.7,7.08C7.16,5.21 9.44,4 12,4M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z" /></svg>
|
||||
|
After Width: | Height: | Size: 807 B |
1
RICE/redhound/theme/icons/google-controller.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M7.97,16L5,19C4.67,19.3 4.23,19.5 3.75,19.5A1.75,1.75 0 0,1 2,17.75V17.5L3,10.12C3.21,7.81 5.14,6 7.5,6H16.5C18.86,6 20.79,7.81 21,10.12L22,17.5V17.75A1.75,1.75 0 0,1 20.25,19.5C19.77,19.5 19.33,19.3 19,19L16.03,16H7.97M7,8V10H5V11H7V13H8V11H10V10H8V8H7M16.5,8A0.75,0.75 0 0,0 15.75,8.75A0.75,0.75 0 0,0 16.5,9.5A0.75,0.75 0 0,0 17.25,8.75A0.75,0.75 0 0,0 16.5,8M14.75,9.75A0.75,0.75 0 0,0 14,10.5A0.75,0.75 0 0,0 14.75,11.25A0.75,0.75 0 0,0 15.5,10.5A0.75,0.75 0 0,0 14.75,9.75M18.25,9.75A0.75,0.75 0 0,0 17.5,10.5A0.75,0.75 0 0,0 18.25,11.25A0.75,0.75 0 0,0 19,10.5A0.75,0.75 0 0,0 18.25,9.75M16.5,11.5A0.75,0.75 0 0,0 15.75,12.25A0.75,0.75 0 0,0 16.5,13A0.75,0.75 0 0,0 17.25,12.25A0.75,0.75 0 0,0 16.5,11.5Z" /></svg>
|
||||
|
After Width: | Height: | Size: 1,023 B |
1
RICE/redhound/theme/icons/harddisk.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M6,2H18A2,2 0 0,1 20,4V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V4A2,2 0 0,1 6,2M12,4A6,6 0 0,0 6,10C6,13.31 8.69,16 12.1,16L11.22,13.77C10.95,13.29 11.11,12.68 11.59,12.4L12.45,11.9C12.93,11.63 13.54,11.79 13.82,12.27L15.74,14.69C17.12,13.59 18,11.9 18,10A6,6 0 0,0 12,4M12,9A1,1 0 0,1 13,10A1,1 0 0,1 12,11A1,1 0 0,1 11,10A1,1 0 0,1 12,9M7,18A1,1 0 0,0 6,19A1,1 0 0,0 7,20A1,1 0 0,0 8,19A1,1 0 0,0 7,18M12.09,13.27L14.58,19.58L17.17,18.08L12.95,12.77L12.09,13.27Z" /></svg>
|
||||
|
After Width: | Height: | Size: 771 B |
30
RICE/redhound/theme/icons/init.lua
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
local dir = os.getenv('HOME') .. '/.config/awesome/theme/icons'
|
||||
|
||||
return {
|
||||
--tags
|
||||
chrome = dir .. '/google-chrome.svg',
|
||||
firefox = dir .. '/firefox.svg',
|
||||
console = dir .. '/console.svg',
|
||||
code = dir .. '/code-braces.svg',
|
||||
social = dir .. '/forum.svg',
|
||||
folder = dir .. '/folder.svg',
|
||||
music = dir .. '/music.svg',
|
||||
game = dir .. '/google-controller.svg',
|
||||
lab = dir .. '/flask.svg',
|
||||
--others
|
||||
menu = dir .. '/menu.svg',
|
||||
close = dir .. '/close.svg',
|
||||
logout = dir .. '/logout.svg',
|
||||
sleep = dir .. '/power-sleep.svg',
|
||||
power = dir .. '/power.svg',
|
||||
lock = dir .. '/lock.svg',
|
||||
restart = dir .. '/restart.svg',
|
||||
search = dir .. '/magnify.svg',
|
||||
volume = dir .. '/volume-high.svg',
|
||||
brightness = dir .. '/brightness-7.svg',
|
||||
chart = dir .. '/chart-areaspline.svg',
|
||||
memory = dir .. '/memory.svg',
|
||||
harddisk = dir .. '/harddisk.svg',
|
||||
thermometer = dir .. '/thermometer.svg',
|
||||
plus = dir .. '/plus.svg'
|
||||
}
|
||||
BIN
RICE/redhound/theme/icons/layouts/arrow-expand-all.png
Normal file
|
After Width: | Height: | Size: 322 B |
BIN
RICE/redhound/theme/icons/layouts/floating.png
Normal file
|
After Width: | Height: | Size: 159 B |
BIN
RICE/redhound/theme/icons/layouts/view-quilt.png
Normal file
|
After Width: | Height: | Size: 236 B |
1
RICE/redhound/theme/icons/lock.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z" /></svg>
|
||||
|
After Width: | Height: | Size: 547 B |
1
RICE/redhound/theme/icons/logout.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M16,17V14H9V10H16V7L21,12L16,17M14,2A2,2 0 0,1 16,4V6H14V4H5V20H14V18H16V20A2,2 0 0,1 14,22H5A2,2 0 0,1 3,20V4A2,2 0 0,1 5,2H14Z" /></svg>
|
||||
|
After Width: | Height: | Size: 440 B |
1
RICE/redhound/theme/icons/magnify.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z" /></svg>
|
||||
|
After Width: | Height: | Size: 569 B |
1
RICE/redhound/theme/icons/memory.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M17,17H7V7H17M21,11V9H19V7C19,5.89 18.1,5 17,5H15V3H13V5H11V3H9V5H7C5.89,5 5,5.89 5,7V9H3V11H5V13H3V15H5V17A2,2 0 0,0 7,19H9V21H11V19H13V21H15V19H17A2,2 0 0,0 19,17V15H21V13H19V11M13,13H11V11H13M15,9H9V15H15V9Z" /></svg>
|
||||
|
After Width: | Height: | Size: 522 B |
1
RICE/redhound/theme/icons/menu.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z" /></svg>
|
||||
|
After Width: | Height: | Size: 358 B |
1
RICE/redhound/theme/icons/music.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M21,3V15.5A3.5,3.5 0 0,1 17.5,19A3.5,3.5 0 0,1 14,15.5A3.5,3.5 0 0,1 17.5,12C18.04,12 18.55,12.12 19,12.34V6.47L9,8.6V17.5A3.5,3.5 0 0,1 5.5,21A3.5,3.5 0 0,1 2,17.5A3.5,3.5 0 0,1 5.5,14C6.04,14 6.55,14.12 7,14.34V6L21,3Z" /></svg>
|
||||
|
After Width: | Height: | Size: 532 B |
1
RICE/redhound/theme/icons/plus.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z" /></svg>
|
||||
|
After Width: | Height: | Size: 353 B |
1
RICE/redhound/theme/icons/power-sleep.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M18.73,18C15.4,21.69 9.71,22 6,18.64C2.33,15.31 2.04,9.62 5.37,5.93C6.9,4.25 9,3.2 11.27,3C7.96,6.7 8.27,12.39 12,15.71C13.63,17.19 15.78,18 18,18C18.25,18 18.5,18 18.73,18Z" /></svg>
|
||||
|
After Width: | Height: | Size: 485 B |
1
RICE/redhound/theme/icons/power.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13" /></svg>
|
||||
|
After Width: | Height: | Size: 526 B |
1
RICE/redhound/theme/icons/restart.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M12,4C14.1,4 16.1,4.8 17.6,6.3C20.7,9.4 20.7,14.5 17.6,17.6C15.8,19.5 13.3,20.2 10.9,19.9L11.4,17.9C13.1,18.1 14.9,17.5 16.2,16.2C18.5,13.9 18.5,10.1 16.2,7.7C15.1,6.6 13.5,6 12,6V10.6L7,5.6L12,0.6V4M6.3,17.6C3.7,15 3.3,11 5.1,7.9L6.6,9.4C5.5,11.6 5.9,14.4 7.8,16.2C8.3,16.7 8.9,17.1 9.6,17.4L9,19.4C8,19 7.1,18.4 6.3,17.6Z" /></svg>
|
||||
|
After Width: | Height: | Size: 635 B |
1
RICE/redhound/theme/icons/ship-wheel.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M2,11L4.05,11.1C4.3,8.83 5.5,6.85 7.25,5.56L6.13,3.84C5.86,3.36 6,2.75 6.5,2.47C7,2.2 7.59,2.36 7.87,2.84L8.8,4.66C9.78,4.24 10.86,4 12,4C13.14,4 14.22,4.24 15.2,4.66L16.13,2.84C16.41,2.36 17,2.2 17.5,2.47C18,2.75 18.14,3.36 17.87,3.84L16.75,5.56C18.5,6.85 19.7,8.83 19.95,11.1L22,11A1,1 0 0,1 23,12A1,1 0 0,1 22,13L19.95,12.9C19.7,15.17 18.5,17.15 16.75,18.44L17.87,20.16C18.14,20.64 18,21.25 17.5,21.53C17,21.8 16.41,21.64 16.13,21.16L15.2,19.34C14.22,19.76 13.14,20 12,20C10.86,20 9.78,19.76 8.8,19.34L7.87,21.16C7.59,21.64 7,21.8 6.5,21.53C6,21.25 5.86,20.64 6.13,20.16L7.25,18.44C5.5,17.15 4.3,15.17 4.05,12.9L2,13A1,1 0 0,1 1,12A1,1 0 0,1 2,11M9.07,11.35C9.2,10.74 9.53,10.2 10,9.79L8.34,7.25C7.11,8.19 6.27,9.6 6.05,11.2L9.07,11.35M12,9C12.32,9 12.62,9.05 12.9,9.14L14.28,6.45C13.58,6.16 12.81,6 12,6C11.19,6 10.42,6.16 9.72,6.45L11.1,9.14C11.38,9.05 11.68,9 12,9M14.93,11.35L17.95,11.2C17.73,9.6 16.89,8.19 15.66,7.25L14,9.79C14.47,10.2 14.8,10.74 14.93,11.35M14.93,12.65C14.8,13.26 14.47,13.8 14,14.21L15.66,16.75C16.89,15.81 17.73,14.4 17.95,12.8L14.93,12.65M12,15C11.68,15 11.38,14.95 11.09,14.86L9.72,17.55C10.42,17.84 11.19,18 12,18C12.81,18 13.58,17.84 14.28,17.55L12.91,14.86C12.62,14.95 12.32,15 12,15M9.07,12.65L6.05,12.8C6.27,14.4 7.11,15.81 8.34,16.75L10,14.21C9.53,13.8 9.2,13.26 9.07,12.65Z" /></svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
BIN
RICE/redhound/theme/icons/tag-list/occupied.png
Normal file
|
After Width: | Height: | Size: 237 B |
BIN
RICE/redhound/theme/icons/tag-list/panel.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
RICE/redhound/theme/icons/tag-list/selected.png
Normal file
|
After Width: | Height: | Size: 689 B |
BIN
RICE/redhound/theme/icons/tag-list/tag/close.png
Normal file
|
After Width: | Height: | Size: 448 B |
BIN
RICE/redhound/theme/icons/tag-list/tag/code-braces.png
Normal file
|
After Width: | Height: | Size: 468 B |
BIN
RICE/redhound/theme/icons/tag-list/tag/flask.png
Normal file
|
After Width: | Height: | Size: 614 B |
BIN
RICE/redhound/theme/icons/tag-list/tag/folder.png
Normal file
|
After Width: | Height: | Size: 413 B |
BIN
RICE/redhound/theme/icons/tag-list/tag/forum.png
Normal file
|
After Width: | Height: | Size: 437 B |
BIN
RICE/redhound/theme/icons/tag-list/tag/google-chrome.png
Normal file
|
After Width: | Height: | Size: 841 B |
BIN
RICE/redhound/theme/icons/tag-list/tag/google-controller.png
Normal file
|
After Width: | Height: | Size: 564 B |
BIN
RICE/redhound/theme/icons/tag-list/tag/home.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
RICE/redhound/theme/icons/tag-list/tag/music.png
Normal file
|
After Width: | Height: | Size: 542 B |
BIN
RICE/redhound/theme/icons/tag-list/unselected.png
Normal file
|
After Width: | Height: | Size: 165 B |
BIN
RICE/redhound/theme/icons/tag-list/urgent.png
Normal file
|
After Width: | Height: | Size: 284 B |
60
RICE/redhound/theme/icons/terminal-solid.svg
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="terminal-solid.svg"
|
||||
id="svg4"
|
||||
version="1.1"
|
||||
viewBox="0 0 640 512"
|
||||
role="img"
|
||||
class="svg-inline--fa fa-terminal fa-w-20"
|
||||
data-icon="terminal"
|
||||
data-prefix="fas"
|
||||
focusable="false"
|
||||
aria-hidden="true">
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="svg4"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="52"
|
||||
inkscape:window-x="687"
|
||||
inkscape:cy="256"
|
||||
inkscape:cx="320"
|
||||
inkscape:zoom="1.1347656"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="700"
|
||||
inkscape:window-width="756"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="fill:#ffffff"
|
||||
id="path2"
|
||||
d="M257.981 272.971L63.638 467.314c-9.373 9.373-24.569 9.373-33.941 0L7.029 444.647c-9.357-9.357-9.375-24.522-.04-33.901L161.011 256 6.99 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L257.981 239.03c9.373 9.372 9.373 24.568 0 33.941zM640 456v-32c0-13.255-10.745-24-24-24H312c-13.255 0-24 10.745-24 24v32c0 13.255 10.745 24 24 24h304c13.255 0 24-10.745 24-24z"
|
||||
fill="currentColor" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2 KiB |
1
RICE/redhound/theme/icons/thermometer.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M17,17A5,5 0 0,1 12,22A5,5 0 0,1 7,17C7,15.36 7.79,13.91 9,13V5A3,3 0 0,1 12,2A3,3 0 0,1 15,5V13C16.21,13.91 17,15.36 17,17M11,8V14.17C9.83,14.58 9,15.69 9,17A3,3 0 0,0 12,20A3,3 0 0,0 15,17C15,15.69 14.17,14.58 13,14.17V8H11Z" /></svg>
|
||||
|
After Width: | Height: | Size: 538 B |
1
RICE/redhound/theme/icons/volume-high.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="240" height="240" viewBox="0 0 24 24"><path fill="#ffffff" d="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z" /></svg>
|
||||
|
After Width: | Height: | Size: 527 B |
12
RICE/redhound/theme/init.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
local gtable = require('gears.table')
|
||||
local default_theme = require('theme.default-theme')
|
||||
-- PICK THEME HERE
|
||||
local theme = require('theme.redhound')
|
||||
|
||||
local final_theme = {}
|
||||
gtable.crush(final_theme, default_theme.theme)
|
||||
gtable.crush(final_theme, theme.theme)
|
||||
default_theme.awesome_overrides(final_theme)
|
||||
theme.awesome_overrides(final_theme)
|
||||
|
||||
return final_theme
|
||||
317
RICE/redhound/theme/mat-colors.lua
Normal file
|
|
@ -0,0 +1,317 @@
|
|||
return {
|
||||
-- Red
|
||||
red = {
|
||||
hue_50 = '#FFEBEE',
|
||||
hue_100 = '#FFCDD2',
|
||||
hue_200 = '#EF9A9A',
|
||||
hue_300 = '#E57373',
|
||||
hue_400 = '#EF5350',
|
||||
hue_500 = '#F44336',
|
||||
hue_600 = '#E53935',
|
||||
hue_700 = '#D32F2F',
|
||||
hue_800 = '#C62828',
|
||||
hue_900 = '#B71C1C',
|
||||
hue_A100 = '#FF8A80',
|
||||
hue_A200 = '#FF5252',
|
||||
hue_A400 = '#FF1744',
|
||||
hue_A700 = '#D50000'
|
||||
},
|
||||
-- Pink
|
||||
pink = {
|
||||
hue_50 = '#FCE4EC',
|
||||
hue_100 = '#F8BBD0',
|
||||
hue_200 = '#F48FB1',
|
||||
hue_300 = '#F06292',
|
||||
hue_400 = '#EC407A',
|
||||
hue_500 = '#E91E63',
|
||||
hue_600 = '#D81B60',
|
||||
hue_700 = '#C2185B',
|
||||
hue_800 = '#AD1457',
|
||||
hue_900 = '#880E4F',
|
||||
hue_A100 = '#FF80AB',
|
||||
hue_A200 = '#FF4081',
|
||||
hue_A400 = '#F50057',
|
||||
hue_A700 = '#C51162'
|
||||
},
|
||||
-- Purple
|
||||
purle = {
|
||||
hue_50 = '#F3E5F5',
|
||||
hue_100 = '#E1BEE7',
|
||||
hue_200 = '#CE93D8',
|
||||
hue_300 = '#BA68C8',
|
||||
hue_400 = '#AB47BC',
|
||||
hue_500 = '#9C27B0',
|
||||
hue_600 = '#8E24AA',
|
||||
hue_700 = '#7B1FA2',
|
||||
hue_800 = '#6A1B9A',
|
||||
hue_900 = '#4A148C',
|
||||
hue_A100 = '#EA80FC',
|
||||
hue_A200 = '#E040FB',
|
||||
hue_A400 = '#D500F9',
|
||||
hue_A700 = '#AA00FF'
|
||||
},
|
||||
-- Deep Purple
|
||||
hue_purple = {
|
||||
hue_50 = '#EDE7F6',
|
||||
hue_100 = '#D1C4E9',
|
||||
hue_200 = '#B39DDB',
|
||||
hue_300 = '#9575CD',
|
||||
hue_400 = '#7E57C2',
|
||||
hue_500 = '#673AB7',
|
||||
hue_600 = '#5E35B1',
|
||||
hue_700 = '#512DA8',
|
||||
hue_800 = '#4527A0',
|
||||
hue_900 = '#311B92',
|
||||
hue_A100 = '#B388FF',
|
||||
hue_A200 = '#7C4DFF',
|
||||
hue_A400 = '#651FFF',
|
||||
hue_A700 = '#6200EA'
|
||||
},
|
||||
-- Indigo
|
||||
indigo = {
|
||||
hue_50 = '#E8EAF6',
|
||||
hue_100 = '#C5CAE9',
|
||||
hue_200 = '#9FA8DA',
|
||||
hue_300 = '#7986CB',
|
||||
hue_400 = '#5C6BC0',
|
||||
hue_500 = '#3F51B5',
|
||||
hue_600 = '#3949AB',
|
||||
hue_700 = '#303F9F',
|
||||
hue_800 = '#283593',
|
||||
hue_900 = '#1A237E',
|
||||
hue_A100 = '#8C9EFF',
|
||||
hue_A200 = '#536DFE',
|
||||
hue_A400 = '#3D5AFE',
|
||||
hue_A700 = '#304FFE'
|
||||
},
|
||||
-- Blue
|
||||
blue = {
|
||||
hue_50 = '#E3F2FD',
|
||||
hue_100 = '#BBDEFB',
|
||||
hue_200 = '#90CAF9',
|
||||
hue_300 = '#64B5F6',
|
||||
hue_400 = '#42A5F5',
|
||||
hue_500 = '#2196F3',
|
||||
hue_600 = '#1E88E5',
|
||||
hue_700 = '#1976D2',
|
||||
hue_800 = '#1565C0',
|
||||
hue_900 = '#0D47A1',
|
||||
hue_A100 = '#82B1FF',
|
||||
hue_A200 = '#448AFF',
|
||||
hue_A400 = '#2979FF',
|
||||
hue_A700 = '#2962FF'
|
||||
},
|
||||
-- Light Blue
|
||||
hue_blue = {
|
||||
hue_50 = '#E1F5FE',
|
||||
hue_100 = '#B3E5FC',
|
||||
hue_200 = '#81D4FA',
|
||||
hue_300 = '#4FC3F7',
|
||||
hue_400 = '#29B6F6',
|
||||
hue_500 = '#03A9F4',
|
||||
hue_600 = '#039BE5',
|
||||
hue_700 = '#0288D1',
|
||||
hue_800 = '#0277BD',
|
||||
hue_900 = '#01579B',
|
||||
hue_A100 = '#80D8FF',
|
||||
hue_A200 = '#40C4FF',
|
||||
hue_A400 = '#00B0FF',
|
||||
hue_A700 = '#0091EA'
|
||||
},
|
||||
-- Cyan
|
||||
cyan = {
|
||||
hue_50 = '#E0F7FA',
|
||||
hue_100 = '#B2EBF2',
|
||||
hue_200 = '#80DEEA',
|
||||
hue_300 = '#4DD0E1',
|
||||
hue_400 = '#26C6DA',
|
||||
hue_500 = '#00BCD4',
|
||||
hue_600 = '#00ACC1',
|
||||
hue_700 = '#0097A7',
|
||||
hue_800 = '#00838F',
|
||||
hue_900 = '#006064',
|
||||
hue_A100 = '#84FFFF',
|
||||
hue_A200 = '#18FFFF',
|
||||
hue_A400 = '#00E5FF',
|
||||
hue_A700 = '#00B8D4'
|
||||
},
|
||||
-- Teal
|
||||
teal = {
|
||||
hue_50 = '#E0F2F1',
|
||||
hue_100 = '#B2DFDB',
|
||||
hue_200 = '#80CBC4',
|
||||
hue_300 = '#4DB6AC',
|
||||
hue_400 = '#26A69A',
|
||||
hue_500 = '#009688',
|
||||
hue_600 = '#00897B',
|
||||
hue_700 = '#00796B',
|
||||
hue_800 = '#00695C',
|
||||
hue_900 = '#004D40',
|
||||
hue_A100 = '#A7FFEB',
|
||||
hue_A200 = '#64FFDA',
|
||||
hue_A400 = '#1DE9B6',
|
||||
hue_A700 = '#00BFA5'
|
||||
},
|
||||
-- Green
|
||||
green = {
|
||||
hue_50 = '#E8F5E9',
|
||||
hue_100 = '#C8E6C9',
|
||||
hue_200 = '#A5D6A7',
|
||||
hue_300 = '#81C784',
|
||||
hue_400 = '#66BB6A',
|
||||
hue_500 = '#4CAF50',
|
||||
hue_600 = '#43A047',
|
||||
hue_700 = '#388E3C',
|
||||
hue_800 = '#2E7D32',
|
||||
hue_900 = '#1B5E20',
|
||||
hue_A100 = '#B9F6CA',
|
||||
hue_A200 = '#69F0AE',
|
||||
hue_A400 = '#00E676',
|
||||
hue_A700 = '#00C853'
|
||||
},
|
||||
-- Light Green
|
||||
hue_green = {
|
||||
hue_50 = '#F1F8E9',
|
||||
hue_100 = '#DCEDC8',
|
||||
hue_200 = '#C5E1A5',
|
||||
hue_300 = '#AED581',
|
||||
hue_400 = '#9CCC65',
|
||||
hue_500 = '#8BC34A',
|
||||
hue_600 = '#7CB342',
|
||||
hue_700 = '#689F38',
|
||||
hue_800 = '#558B2F',
|
||||
hue_900 = '#33691E',
|
||||
hue_A100 = '#CCFF90',
|
||||
hue_A200 = '#B2FF59',
|
||||
hue_A400 = '#76FF03',
|
||||
hue_A700 = '#64DD17'
|
||||
},
|
||||
-- Lime
|
||||
lime = {
|
||||
hue_50 = '#F9FBE7',
|
||||
hue_100 = '#F0F4C3',
|
||||
hue_200 = '#E6EE9C',
|
||||
hue_300 = '#DCE775',
|
||||
hue_400 = '#D4E157',
|
||||
hue_500 = '#CDDC39',
|
||||
hue_600 = '#C0CA33',
|
||||
hue_700 = '#AFB42B',
|
||||
hue_800 = '#9E9D24',
|
||||
hue_900 = '#827717',
|
||||
hue_A100 = '#F4FF81',
|
||||
hue_A200 = '#EEFF41',
|
||||
hue_A400 = '#C6FF00',
|
||||
hue_A700 = '#AEEA00'
|
||||
},
|
||||
-- Yellow
|
||||
yellow = {
|
||||
hue_50 = '#FFFDE7',
|
||||
hue_100 = '#FFF9C4',
|
||||
hue_200 = '#FFF59D',
|
||||
hue_300 = '#FFF176',
|
||||
hue_400 = '#FFEE58',
|
||||
hue_500 = '#FFEB3B',
|
||||
hue_600 = '#FDD835',
|
||||
hue_700 = '#FBC02D',
|
||||
hue_800 = '#F9A825',
|
||||
hue_900 = '#F57F17',
|
||||
hue_A100 = '#FFFF8D',
|
||||
hue_A200 = '#FFFF00',
|
||||
hue_A400 = '#FFEA00',
|
||||
hue_A700 = '#FFD600'
|
||||
},
|
||||
-- Amber
|
||||
amber = {
|
||||
hue_50 = '#FFF8E1',
|
||||
hue_100 = '#FFECB3',
|
||||
hue_200 = '#FFE082',
|
||||
hue_300 = '#FFD54F',
|
||||
hue_400 = '#FFCA28',
|
||||
hue_500 = '#FFC107',
|
||||
hue_600 = '#FFB300',
|
||||
hue_700 = '#FFA000',
|
||||
hue_800 = '#FF8F00',
|
||||
hue_900 = '#FF6F00',
|
||||
hue_A100 = '#FFE57F',
|
||||
hue_A200 = '#FFD740',
|
||||
hue_A400 = '#FFC400',
|
||||
hue_A700 = '#FFAB00'
|
||||
},
|
||||
-- Orange
|
||||
orange = {
|
||||
hue_50 = '#FFF3E0',
|
||||
hue_100 = '#FFE0B2',
|
||||
hue_200 = '#FFCC80',
|
||||
hue_300 = '#FFB74D',
|
||||
hue_400 = '#FFA726',
|
||||
hue_500 = '#FF9800',
|
||||
hue_600 = '#FB8C00',
|
||||
hue_700 = '#F57C00',
|
||||
hue_800 = '#EF6C00',
|
||||
hue_900 = '#E65100',
|
||||
hue_A100 = '#FFD180',
|
||||
hue_A200 = '#FFAB40',
|
||||
hue_A400 = '#FF9100',
|
||||
hue_A700 = '#FF6D00'
|
||||
},
|
||||
-- Deep Orange
|
||||
deep_orange = {
|
||||
hue_50 = '#FBE9E7',
|
||||
hue_100 = '#FFCCBC',
|
||||
hue_200 = '#FFAB91',
|
||||
hue_300 = '#FF8A65',
|
||||
hue_400 = '#FF7043',
|
||||
hue_500 = '#FF5722',
|
||||
hue_600 = '#F4511E',
|
||||
hue_700 = '#E64A19',
|
||||
hue_800 = '#D84315',
|
||||
hue_900 = '#BF360C',
|
||||
hue_A100 = '#FF9E80',
|
||||
hue_A200 = '#FF6E40',
|
||||
hue_A400 = '#FF3D00',
|
||||
hue_A700 = '#DD2C00'
|
||||
},
|
||||
-- Brown
|
||||
brown = {
|
||||
hue_50 = '#EFEBE9',
|
||||
hue_100 = '#D7CCC8',
|
||||
hue_200 = '#BCAAA4',
|
||||
hue_300 = '#A1887F',
|
||||
hue_400 = '#8D6E63',
|
||||
hue_500 = '#795548',
|
||||
hue_600 = '#6D4C41',
|
||||
hue_700 = '#5D4037',
|
||||
hue_800 = '#4E342E',
|
||||
hue_900 = '#3E2723'
|
||||
},
|
||||
-- Grey
|
||||
grey = {
|
||||
hue_50 = '#FAFAFA',
|
||||
hue_100 = '#F5F5F5',
|
||||
hue_200 = '#EEEEEE',
|
||||
hue_300 = '#E0E0E0',
|
||||
hue_400 = '#BDBDBD',
|
||||
hue_500 = '#9E9E9E',
|
||||
hue_600 = '#757575',
|
||||
hue_700 = '#616161',
|
||||
hue_800 = '#424242',
|
||||
hue_900 = '#212121'
|
||||
},
|
||||
-- Blue Grey
|
||||
blue_grey = {
|
||||
hue_50 = '#ECEFF1',
|
||||
hue_100 = '#CFD8DC',
|
||||
hue_200 = '#B0BEC5',
|
||||
hue_300 = '#90A4AE',
|
||||
hue_400 = '#78909C',
|
||||
hue_500 = '#607D8B',
|
||||
hue_600 = '#546E7A',
|
||||
hue_700 = '#455A64',
|
||||
hue_800 = '#37474F',
|
||||
hue_900 = '#263238'
|
||||
},
|
||||
-- Black
|
||||
black = '#000000',
|
||||
-- White
|
||||
white = '#FFFFFF'
|
||||
}
|
||||
31
RICE/redhound/theme/redhound/init.lua
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
local filesystem = require('gears.filesystem')
|
||||
local mat_colors = require('theme.mat-colors')
|
||||
local theme_dir = filesystem.get_configuration_dir() .. '/theme'
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local theme = {}
|
||||
theme.icons = theme_dir .. '/icons/'
|
||||
theme.font = 'Roboto medium 10'
|
||||
|
||||
-- Colors Pallets
|
||||
|
||||
-- Primary
|
||||
theme.primary = mat_colors.grey
|
||||
theme.primary.hue_500 = '#d03c3f'
|
||||
-- theme.primary = mat_colors.indigo
|
||||
-- Accent
|
||||
theme.accent = mat_colors.orange
|
||||
|
||||
-- Background
|
||||
theme.background = mat_colors.blue_grey
|
||||
|
||||
theme.background.hue_800 = '#2e2e2e'
|
||||
theme.background.hue_900 = '#1a1a1a'
|
||||
|
||||
local awesome_overrides = function(theme)
|
||||
--
|
||||
end
|
||||
return {
|
||||
theme = theme,
|
||||
awesome_overrides = awesome_overrides
|
||||
}
|
||||
BIN
RICE/redhound/theme/wallpapers/1.png
Normal file
|
After Width: | Height: | Size: 1.6 MiB |
BIN
RICE/redhound/theme/wallpapers/2.png
Normal file
|
After Width: | Height: | Size: 14 MiB |
BIN
RICE/redhound/theme/wallpapers/Wallpaper.png
Normal file
|
After Width: | Height: | Size: 3.2 MiB |
1
RICE/redhound/widget/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
## Widget
|
||||
5
RICE/redhound/widget/battery/icons/battery-10.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" width="240" height="240" viewBox="0 0 24.00 24.00" enable-background="new 0 0 24.00 24.00" xml:space="preserve">
|
||||
<path fill="#FFFFFF" fill-opacity="1" stroke-width="0.2" stroke-linejoin="round" d="M 15.9993,17.9982L 7.99999,18L 7.9994,5.99805L 15.9994,5.99805M 16.6664,3.99805L 14.9994,3.99805L 14.9994,1.99805L 8.9994,1.99805L 8.9994,3.99805L 7.33239,3.99805C 6.59608,3.99805 5.9994,4.59503 5.9994,5.33105L 5.9994,20.665C 5.9994,21.4011 6.59608,21.998 7.33239,21.998L 16.6664,21.998C 17.4027,21.998 17.9994,21.4011 17.9994,20.665L 17.9994,5.33105C 17.9994,4.59503 17.4027,3.99805 16.6664,3.99805 Z "/>
|
||||
</svg>
|
||||
5
RICE/redhound/widget/battery/icons/battery-20.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" width="240" height="240" viewBox="0 0 24.00 24.00" enable-background="new 0 0 24.00 24.00" xml:space="preserve">
|
||||
<path fill="#FFFFFF" fill-opacity="1" stroke-width="0.2" stroke-linejoin="round" d="M 15.9994,16.998L 7.9994,16.998L 7.9994,5.99805L 15.9994,5.99805M 16.6664,3.99805L 14.9994,3.99805L 14.9994,1.99805L 8.9994,1.99805L 8.9994,3.99805L 7.33239,3.99805C 6.59608,3.99805 5.9994,4.59503 5.9994,5.33105L 5.9994,20.665C 5.9994,21.4011 6.59608,21.998 7.33239,21.998L 16.6664,21.998C 17.4027,21.998 17.9994,21.4011 17.9994,20.665L 17.9994,5.33105C 17.9994,4.59503 17.4027,3.99805 16.6664,3.99805 Z "/>
|
||||
</svg>
|
||||
5
RICE/redhound/widget/battery/icons/battery-30.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="full" width="240" height="240" viewBox="0 0 24.00 24.00" enable-background="new 0 0 24.00 24.00" xml:space="preserve">
|
||||
<path fill="#FFFFFF" fill-opacity="1" stroke-width="0.2" stroke-linejoin="round" d="M 15.9994,14.998L 7.9994,14.998L 7.9994,5.99805L 15.9994,5.99805M 16.6664,3.99805L 14.9994,3.99805L 14.9994,1.99805L 8.9994,1.99805L 8.9994,3.99805L 7.33239,3.99805C 6.59608,3.99805 5.9994,4.59503 5.9994,5.33105L 5.9994,20.665C 5.9994,21.4011 6.59608,21.998 7.33239,21.998L 16.6664,21.998C 17.4027,21.998 17.9994,21.4011 17.9994,20.665L 17.9994,5.33105C 17.9994,4.59503 17.4027,3.99805 16.6664,3.99805 Z "/>
|
||||
</svg>
|
||||