first commit
12
.astylerc
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--style=kr
|
||||
--indent=spaces=4
|
||||
--indent-preprocessor
|
||||
--pad-oper
|
||||
--pad-header
|
||||
--max-instatement-indent=40
|
||||
--align-pointer=name
|
||||
--align-reference=name
|
||||
--keep-one-line-statements
|
||||
--convert-tabs
|
||||
--max-code-length=79
|
||||
--pad-method-colon=none
|
||||
181
.bashrc
Normal file
|
|
@ -0,0 +1,181 @@
|
|||
#
|
||||
# ~/.bashrc
|
||||
#
|
||||
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
colors() {
|
||||
local fgc bgc vals seq0
|
||||
|
||||
printf "Color escapes are %s\n" '\e[${value};...;${value}m'
|
||||
printf "Values 30..37 are \e[33mforeground colors\e[m\n"
|
||||
printf "Values 40..47 are \e[43mbackground colors\e[m\n"
|
||||
printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n"
|
||||
|
||||
# foreground colors
|
||||
for fgc in {30..37}; do
|
||||
# background colors
|
||||
for bgc in {40..47}; do
|
||||
fgc=${fgc#37} # white
|
||||
bgc=${bgc#40} # black
|
||||
|
||||
vals="${fgc:+$fgc;}${bgc}"
|
||||
vals=${vals%%;}
|
||||
|
||||
seq0="${vals:+\e[${vals}m}"
|
||||
printf " %-9s" "${seq0:-(default)}"
|
||||
printf " ${seq0}TEXT\e[m"
|
||||
printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m"
|
||||
done
|
||||
echo; echo
|
||||
done
|
||||
}
|
||||
|
||||
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
||||
|
||||
# Change the window title of X terminals
|
||||
case ${TERM} in
|
||||
xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*)
|
||||
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"'
|
||||
;;
|
||||
screen*)
|
||||
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"'
|
||||
;;
|
||||
esac
|
||||
|
||||
use_color=true
|
||||
|
||||
# Set colorful PS1 only on colorful terminals.
|
||||
# dircolors --print-database uses its own built-in database
|
||||
# instead of using /etc/DIR_COLORS. Try to use the external file
|
||||
# first to take advantage of user additions. Use internal bash
|
||||
# globbing instead of external grep binary.
|
||||
safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM
|
||||
match_lhs=""
|
||||
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
|
||||
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
|
||||
[[ -z ${match_lhs} ]] \
|
||||
&& type -P dircolors >/dev/null \
|
||||
&& match_lhs=$(dircolors --print-database)
|
||||
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
|
||||
|
||||
if ${use_color} ; then
|
||||
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
|
||||
if type -P dircolors >/dev/null ; then
|
||||
if [[ -f ~/.dir_colors ]] ; then
|
||||
eval $(dircolors -b ~/.dir_colors)
|
||||
elif [[ -f /etc/DIR_COLORS ]] ; then
|
||||
eval $(dircolors -b /etc/DIR_COLORS)
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] '
|
||||
else
|
||||
PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] '
|
||||
fi
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --colour=auto'
|
||||
alias egrep='egrep --colour=auto'
|
||||
alias fgrep='fgrep --colour=auto'
|
||||
else
|
||||
if [[ ${EUID} == 0 ]] ; then
|
||||
# show root@ when we don't have colors
|
||||
PS1='\u@\h \W \$ '
|
||||
else
|
||||
PS1='\u@\h \w \$ '
|
||||
fi
|
||||
fi
|
||||
|
||||
unset use_color safe_term match_lhs sh
|
||||
|
||||
alias cp="cp -i" # confirm before overwriting something
|
||||
alias df='df -h' # human-readable sizes
|
||||
alias free='free -m' # show sizes in MB
|
||||
alias np='nano -w PKGBUILD'
|
||||
alias more=less
|
||||
|
||||
xhost +local:root > /dev/null 2>&1
|
||||
|
||||
complete -cf sudo
|
||||
|
||||
# Bash won't get SIGWINCH if another process is in the foreground.
|
||||
# Enable checkwinsize so that bash will check the terminal size when
|
||||
# it regains control. #65623
|
||||
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
|
||||
shopt -s checkwinsize
|
||||
|
||||
shopt -s expand_aliases
|
||||
|
||||
# export QT_SELECT=4
|
||||
|
||||
# Enable history appending instead of overwriting. #139609
|
||||
shopt -s histappend
|
||||
|
||||
#
|
||||
# # ex - archive extractor
|
||||
# # usage: ex <file>
|
||||
ex ()
|
||||
{
|
||||
if [ -f $1 ] ; then
|
||||
case $1 in
|
||||
*.tar.bz2) tar xjf $1 ;;
|
||||
*.tar.gz) tar xzf $1 ;;
|
||||
*.bz2) bunzip2 $1 ;;
|
||||
*.rar) unrar x $1 ;;
|
||||
*.gz) gunzip $1 ;;
|
||||
*.tar) tar xf $1 ;;
|
||||
*.tbz2) tar xjf $1 ;;
|
||||
*.tgz) tar xzf $1 ;;
|
||||
*.zip) unzip $1 ;;
|
||||
*.Z) uncompress $1;;
|
||||
*.7z) 7z x $1 ;;
|
||||
*) echo "'$1' cannot be extracted via ex()" ;;
|
||||
esac
|
||||
else
|
||||
echo "'$1' is not a valid file"
|
||||
fi
|
||||
}
|
||||
|
||||
# POWERLINE
|
||||
#function _update_ps1() {
|
||||
# PS1=$(powerline-shell $?)
|
||||
#}
|
||||
#if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
|
||||
# PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
||||
#fi
|
||||
|
||||
# SUSPEND CTRL + S
|
||||
stty -ixon
|
||||
|
||||
# DOTFILES ALIAS
|
||||
alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
|
||||
config config --local status.showUntrackedFiles no
|
||||
|
||||
# CONFIG ASSISTANT ALIAS
|
||||
alias assistant='$HOME/assistant.sh'
|
||||
|
||||
# BASH PROMPT (USELESS, JUST USE ZSH/POWERLINE)
|
||||
function parse_git_dirty {
|
||||
STATUS="$(git status 2> /dev/null)"
|
||||
if [[ $? -ne 0 ]]; then printf "-"; return; else printf "("; fi
|
||||
if echo ${STATUS} | grep -c "renamed:" &> /dev/null; then printf ">"; else printf ""; fi
|
||||
if echo ${STATUS} | grep -c "branch is ahead" &> /dev/null; then printf "!"; else printf ""; fi
|
||||
if echo ${STATUS} | grep -c "new file:" &> /dev/null; then printf "+"; else printf ""; fi
|
||||
if echo ${STATUS} | grep -c "Untracked files:" &> /dev/null; then printf "?"; else printf ""; fi
|
||||
if echo ${STATUS} | grep -c "modified:" &> /dev/null; then printf "*"; else printf ""; fi
|
||||
if echo ${STATUS} | grep -c "deleted:" &> /dev/null; then printf "-"; else printf ""; fi
|
||||
printf ")"
|
||||
}
|
||||
parse_git_branch() {
|
||||
# Long form
|
||||
git rev-parse --abbrev-ref HEAD 2> /dev/null
|
||||
# Short form
|
||||
# git rev-parse --abbrev-ref HEAD 2> /dev/null | sed -e 's/.*\/\(.*\)/\1/'
|
||||
}
|
||||
PS1="\n┌─[\`if [ \$? = 0 ]; then echo \[\e[32m\]OK\[\e[0m\]; else echo \[\e[31m\]X\[\e[0m\]; fi\`]───[\[\e[01;49;39m\]\u\[\e[00m\]\[\e[01;49;39m\]\[\e[00m\]]─[\[\e[1;49;34m\]\W\[\e[0m\]]───[\[\e[1;49;39m\]\$(ls | wc -l) files, \$(ls -lah | grep -m 1 total | sed 's/total //')\[\e[0m\]]─"
|
||||
PS1+="[\033[33m\]\$(parse_git_branch)\[\033[31m\]\$(parse_git_dirty)\[\033[00m\]]"
|
||||
PS1+="\n└───\[\e[31m\]▶\[\e[33m\]▶\[\e[32m\]▶\[\e[0m\] "
|
||||
export PS1
|
||||
# \`if [ git ]; then echo ───[$(git branch 2>/dev/null | grep '^*' | colrm 1 2)]; fi\`
|
||||
21
.config/awesome/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.
|
||||
5
.config/awesome/README.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
## Awesome WM Config
|
||||
|
||||

|
||||
|
||||
### DO NOT CLONE FROM HERE, GO TO [THIS LINK](https://github.com/Purhan/dotfiles/tree/master/RICE/) TO INSTALL A STABLE CONFIGURATION
|
||||
BIN
.config/awesome/Screenshot.png
Normal file
|
After Width: | Height: | Size: 2.2 MiB |
4
.config/awesome/configuration/README.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
## Configuration
|
||||
|
||||
Here you will find all the settings available.
|
||||
|
||||
50
.config/awesome/configuration/apps.lua
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
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 termite',
|
||||
rofi = rofi_command,
|
||||
lock = 'i3lock-fancy',
|
||||
quake = 'termite',
|
||||
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 = 'dolphin',
|
||||
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
.config/awesome/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
.config/awesome/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
.config/awesome/configuration/client/init.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
require('configuration.client.rules')
|
||||
27
.config/awesome/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
|
||||
47
.config/awesome/configuration/client/rules.lua
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
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 = {'Termite'}}, 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
|
||||
}
|
||||
}
|
||||
}
|
||||
104
.config/awesome/configuration/compton.conf
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
corner-radius = 8.0;
|
||||
round-borders = 1;
|
||||
|
||||
# Shadow
|
||||
shadow = true;
|
||||
no-dnd-shadow = false;
|
||||
no-dock-shadow = false;
|
||||
shadow-radius = 15.0;
|
||||
shadow-offset-x = -11;
|
||||
shadow-offset-y = -4.5;
|
||||
shadow-opacity = 0.16;
|
||||
# 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 = 3;
|
||||
blur-background-fixed = true;
|
||||
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.04;
|
||||
fade-out-step = 0.04;
|
||||
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;
|
||||
};
|
||||
};
|
||||
172
.config/awesome/configuration/compton2.conf
Normal file
|
|
@ -0,0 +1,172 @@
|
|||
# requires: https://github.com/ibhagwan/picom
|
||||
|
||||
corner-radius = 15.0;
|
||||
rounded-corners-exclude = [
|
||||
#"window_type = 'normal'",
|
||||
# "class_g = 'awesome'",
|
||||
# "class_g = 'URxvt'",
|
||||
# "class_g = 'XTerm'",
|
||||
# "class_g = 'kitty'",
|
||||
# "class_g = 'Alacritty'",
|
||||
"class_g = 'Polybar'",
|
||||
"class_g = 'i3'",
|
||||
"class_g = 'i3bar'",
|
||||
# "class_g = 'code-oss'",
|
||||
# "class_g = 'firefox'",
|
||||
# "class_g = 'Thunderbird'"
|
||||
# "window_type = 'unknown'",
|
||||
"window_type = 'desktop'",
|
||||
"window_type = 'dock'",
|
||||
"window_type = 'toolbar'",
|
||||
"window_type = 'menu'",
|
||||
# "window_type = 'utility'",
|
||||
# "window_type = 'splash'",
|
||||
# "window_type = 'dialog'",
|
||||
# "window_type = 'normal'",
|
||||
"window_type = 'dropdown_menu'",
|
||||
"window_type = 'popup_menu'",
|
||||
"window_type = 'notification'",
|
||||
# "window_type = 'combo'",
|
||||
"window_type = 'dnd'",
|
||||
# "class_g = 'dmenu'",
|
||||
];
|
||||
round-borders = 1;
|
||||
round-borders-exclude = [
|
||||
#"class_g = 'TelegramDesktop'",
|
||||
];
|
||||
round-borders-rule = [
|
||||
"4:window_type = 'unknown'",
|
||||
"4:window_type = 'toolbar'",
|
||||
"4:window_type = 'utility'",
|
||||
"4:window_type = 'splash'",
|
||||
"4:window_type = 'dialog'",
|
||||
"4:window_type = 'normal'",
|
||||
];
|
||||
|
||||
shadow = false;
|
||||
shadow-radius = 32;
|
||||
shadow-opacity = 0.5;
|
||||
shadow-offset-x = -32;
|
||||
shadow-offset-y = -32;
|
||||
shadow-red = 0
|
||||
shadow-green = 0
|
||||
shadow-blue = 0
|
||||
shadow-exclude = [
|
||||
"bounding_shaped",
|
||||
"!rounded_corners",
|
||||
"class_g = 'Conky'",
|
||||
"class_g ?= 'Notify-osd'",
|
||||
"class_g = 'Cairo-clock'",
|
||||
"class_g = 'slop'",
|
||||
"class_g = 'Polybar'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
# "window_type = 'unknown'",
|
||||
"window_type = 'desktop'",
|
||||
"window_type = 'dock'",
|
||||
"window_type = 'toolbar'",
|
||||
# "window_type = 'menu'",
|
||||
# "window_type = 'utility'",
|
||||
# "window_type = 'splash'",
|
||||
# "window_type = 'dialog'",
|
||||
# "window_type = 'normal'",
|
||||
# "window_type = 'dropdown_menu'",
|
||||
# "window_type = 'popup_menu'",
|
||||
"window_type = 'notification'",
|
||||
# "window_type = 'combo'",
|
||||
"window_type = 'dnd'",
|
||||
];
|
||||
|
||||
fading = true;
|
||||
fade-in-step = 0.03;
|
||||
fade-out-step = 0.03;
|
||||
fade-delta = 2.5;
|
||||
fade-exclude = [
|
||||
# "window_type = 'unknown'",
|
||||
"window_type = 'desktop'",
|
||||
"window_type = 'dock'",
|
||||
# "window_type = 'toolbar'",
|
||||
# "window_type = 'menu'",
|
||||
# "window_type = 'utility'",
|
||||
# "window_type = 'splash'",
|
||||
# "window_type = 'dialog'",
|
||||
# "window_type = 'normal'",
|
||||
# "window_type = 'dropdown_menu'",
|
||||
# "window_type = 'popup_menu'",
|
||||
"window_type = 'notification'",
|
||||
"window_type = 'combo'",
|
||||
"window_type = 'dnd'",
|
||||
]
|
||||
no-fading-openclose = false
|
||||
no-fading-destroyed-argb = false
|
||||
|
||||
inactive-opacity = 1;
|
||||
frame-opacity = 1;
|
||||
menu-opacity = 1.0
|
||||
inactive-opacity-override = false;
|
||||
active-opacity = 1.0;
|
||||
inactive-dim = 0.0
|
||||
focus-exclude = [
|
||||
"class_g = 'Cairo-clock'",
|
||||
"class_g = 'Bar'", # lemonbar
|
||||
"class_g = 'slop'" # maim
|
||||
];
|
||||
inactive-dim-fixed = 1.0
|
||||
#opacity-rule = [
|
||||
# "80:class_g = 'Bar'", # lemonbar
|
||||
# "100:class_g = 'slop'", # maim
|
||||
# "100:class_g = 'XTerm'",
|
||||
# "100:class_g = 'URxvt'",
|
||||
# "100:class_g = 'kitty'",
|
||||
# "100:class_g = 'Alacritty'",
|
||||
# "80:class_g = 'Polybar'",
|
||||
# "100:class_g = 'code-oss'",
|
||||
# "100:class_g = 'Meld'",
|
||||
# "70:class_g = 'TelegramDesktop'",
|
||||
# "90:class_g = 'Joplin'",
|
||||
# "100:class_g = 'firefox'",
|
||||
# "100:class_g = 'Thunderbird'"
|
||||
#];
|
||||
|
||||
blur: {
|
||||
method = "kawase";
|
||||
#method = "kernel";
|
||||
strength = 6;
|
||||
# deviation = 1.0;
|
||||
# kernel = "11x11gaussian";
|
||||
background = true;
|
||||
background-frame = true;
|
||||
background-fixed = true;
|
||||
kern = "3x3box";
|
||||
}
|
||||
blur-background-exclude = [
|
||||
"class_g = 'slop'",
|
||||
"_GTK_FRAME_EXTENTS@:c",
|
||||
# "window_type = 'unknown'",
|
||||
"window_type = 'desktop'",
|
||||
"window_type = 'dock'",
|
||||
# "window_type = 'toolbar'",
|
||||
"window_type = 'menu'",
|
||||
# "window_type = 'utility'",
|
||||
"window_type = 'splash'",
|
||||
# "window_type = 'dialog'",
|
||||
# "window_type = 'normal'",
|
||||
"window_type = 'dropdown_menu'",
|
||||
"window_type = 'popup_menu'",
|
||||
"window_type = 'notification'",
|
||||
"window_type = 'combo'",
|
||||
"window_type = 'dnd'",
|
||||
"class_g = 'dmenu'",
|
||||
];
|
||||
|
||||
experimental-backends = true;
|
||||
backend = "glx";
|
||||
vsync = true
|
||||
mark-wmwin-focused = true;
|
||||
mark-ovredir-focused = true;
|
||||
detect-rounded-corners = true;
|
||||
detect-client-opacity = true;
|
||||
refresh-rate = 0
|
||||
detect-transient = true
|
||||
detect-client-leader = true
|
||||
use-damage = true
|
||||
log-level = "info";
|
||||
4
.config/awesome/configuration/init.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
keys = require('configuration.keys'),
|
||||
apps = require('configuration.apps')
|
||||
}
|
||||
248
.config/awesome/configuration/keys/global.lua
Normal file
|
|
@ -0,0 +1,248 @@
|
|||
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.awesome.spawn(apps.default.rofi) end,
|
||||
{description = 'show rofi 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}, 'm', function() _G.dashboard_show() end,
|
||||
{description = 'toggle main menu', 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({altkey, 'Control'}, 'k', 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
.config/awesome/configuration/keys/init.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
mod = require('configuration.keys.mod'),
|
||||
global = require('configuration.keys.global')
|
||||
}
|
||||
4
.config/awesome/configuration/keys/mod.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
modKey = 'Mod4',
|
||||
altKey = 'Mod1'
|
||||
}
|
||||
148
.config/awesome/configuration/rofi.rasi
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
/**
|
||||
* User: deadguy
|
||||
* Copyright: deadguy
|
||||
*/
|
||||
|
||||
configuration {
|
||||
display-drun: "Activate";
|
||||
display-run: "Execute";
|
||||
show-icons: true;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
* {
|
||||
background-color: rgb(40, 42, 54, 0.65);
|
||||
text-color: #f8f8f299;
|
||||
selbg: rgb(80, 250, 123);
|
||||
urgbg: rgb(98, 114, 164);
|
||||
actbg: rgb(68, 71, 90, 0.2);
|
||||
winbg: #f8f8f2;
|
||||
|
||||
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: center;
|
||||
anchor: center;
|
||||
x-offset: 0px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 31%;
|
||||
orientation: horizontal;
|
||||
children: [mainbox];
|
||||
background-color: #282a3655;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
spacing: 0em;
|
||||
padding: 0px;
|
||||
width: 100%;
|
||||
children: [ inputbar, listview ];
|
||||
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: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 16px;
|
||||
border: 0 0 0 0 solid;
|
||||
}
|
||||
|
||||
entry {
|
||||
expand: true;
|
||||
text-color: @normal-foreground;
|
||||
background-color: rgb(40, 42, 54);
|
||||
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;
|
||||
}
|
||||
62
.config/awesome/configuration/tags/init.lua
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
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
.config/awesome/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
.config/awesome/layout/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
## Layout
|
||||
34
.config/awesome/layout/clock-panel.lua
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
-- Clock / Calendar 24h format
|
||||
local textclock = wibox.widget.textclock(
|
||||
'<span font="Roboto Mono bold 9">%H:%M</span>')
|
||||
|
||||
local clock_widget = wibox.container.margin(textclock, dpi(8), dpi(8), dpi(8),
|
||||
dpi(8))
|
||||
|
||||
local ClockPanel = function(s, offset)
|
||||
local offsetx = 0
|
||||
if offset == true then offsety = dpi(12) end
|
||||
local 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:setup{layout = wibox.layout.fixed.horizontal, clock_widget}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return ClockPanel
|
||||
38
.config/awesome/layout/date-panel.lua
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
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 date_widget = wibox.container.margin(textclock, dpi(8), dpi(8), dpi(8),
|
||||
dpi(8))
|
||||
|
||||
local DatePanel = function(s, offset)
|
||||
local offsetx = dpi(128)
|
||||
local offsety = dpi(12)
|
||||
local 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_200,
|
||||
fg = beautiful.primary.hue_900,
|
||||
struts = {top = dpi(32)}
|
||||
})
|
||||
|
||||
panel:setup{layout = wibox.layout.fixed.horizontal, date_widget}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return DatePanel
|
||||
66
.config/awesome/layout/init.lua
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
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')
|
||||
local volume_panel = require('layout.volume-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)
|
||||
s.volume_panel = volume_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)
|
||||
s.volume_panel = volume_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
|
||||
s.volume_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)
|
||||
34
.config/awesome/layout/left-panel/action-bar.lua
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
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 clickable_container = require('widget.material.clickable-container')
|
||||
|
||||
return function(screen, panel, action_bar_width)
|
||||
local menu_icon = wibox.widget {
|
||||
icon = icons.menu,
|
||||
size = dpi(16),
|
||||
widget = mat_icon
|
||||
}
|
||||
|
||||
local home_button = wibox.widget {
|
||||
wibox.widget {menu_icon, widget = clickable_container},
|
||||
visible = true,
|
||||
bg = beautiful.primary.hue_700,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
home_button:buttons(gears.table.join(
|
||||
awful.button({}, 1, nil,
|
||||
function() _G.dashboard_show() 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
|
||||
}
|
||||
67
.config/awesome/layout/left-panel/dashboard/init.lua
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
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, widget = wibox.container.background}
|
||||
}
|
||||
}
|
||||
end
|
||||
|
|
@ -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
|
||||
}
|
||||
98
.config/awesome/layout/left-panel/init.lua
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
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 offsety = dpi(12)
|
||||
|
||||
local panel = wibox {
|
||||
screen = screen,
|
||||
width = dpi(32),
|
||||
height = dpi(32),
|
||||
x = screen.geometry.x + 12,
|
||||
y = screen.geometry.y + offsety,
|
||||
ontop = false,
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal
|
||||
}
|
||||
|
||||
panel.opened = false
|
||||
|
||||
panel:struts({left = dpi(0), top = dpi(48)})
|
||||
|
||||
local backdrop = wibox {
|
||||
ontop = true,
|
||||
screen = screen,
|
||||
bg = '#00000000',
|
||||
type = 'dock',
|
||||
x = screen.geometry.x,
|
||||
y = screen.geometry.y + offsety,
|
||||
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 + offsety
|
||||
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
|
||||
54
.config/awesome/layout/mode-panel.lua
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
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(12)
|
||||
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:setup{
|
||||
layout = wibox.layout.align.horizontal,
|
||||
{layout = wibox.layout.fixed.horizontal, LayoutBox(s)},
|
||||
nil,
|
||||
nil
|
||||
}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return ModePanel
|
||||
48
.config/awesome/layout/systemtray-panel.lua
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
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(12)
|
||||
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: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
|
||||
77
.config/awesome/layout/tasklist-panel.lua
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
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)))
|
||||
|
||||
local TasklistPanel = function(s, offset)
|
||||
local offsetx = 0
|
||||
if offset == true then
|
||||
offsetx = dpi(512)
|
||||
offsety = dpi(12)
|
||||
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,
|
||||
-- shape = gears.shape.rounded_rect,
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal,
|
||||
struts = {top = dpi(32)}
|
||||
})
|
||||
|
||||
panel:setup{
|
||||
layout = wibox.layout.align.horizontal,
|
||||
nil,
|
||||
{
|
||||
TaskList(s),
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
-- add_button
|
||||
},
|
||||
nil
|
||||
}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return TasklistPanel
|
||||
44
.config/awesome/layout/volume-panel.lua
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
local icons = require('theme.icons')
|
||||
|
||||
local icon = wibox.widget {
|
||||
{
|
||||
{image = icons.volume_dark, widget = wibox.widget.imagebox},
|
||||
margins = dpi(6),
|
||||
layout = wibox.container.margin
|
||||
},
|
||||
bg = beautiful.primary.hue_200,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local volume_percentage_widget = wibox.container.background(
|
||||
require('widget.volume.volume-percentage'))
|
||||
|
||||
local VolumePanel = function(s, offset)
|
||||
local offsetx = dpi(236)
|
||||
if offset == true then offsety = dpi(12) end
|
||||
local panel = wibox({
|
||||
ontop = false,
|
||||
screen = s,
|
||||
height = dpi(32),
|
||||
width = dpi(64),
|
||||
x = s.geometry.x + offsetx,
|
||||
y = s.geometry.y + offsety,
|
||||
stretch = false,
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal
|
||||
})
|
||||
|
||||
panel:setup{
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
icon,
|
||||
volume_percentage_widget
|
||||
}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return VolumePanel
|
||||
33
.config/awesome/layout/workspace-panel.lua
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
local awful = require('awful')
|
||||
local beautiful = require('beautiful')
|
||||
local wibox = require('wibox')
|
||||
local TagList = require('widget.tag-list')
|
||||
local gears = require('gears')
|
||||
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local WorkspacePanel = function(s, offset)
|
||||
local offsetx = 0
|
||||
if offset == true then
|
||||
offsetx = dpi(50)
|
||||
offsety = dpi(12)
|
||||
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:setup{layout = wibox.layout.align.horizontal, TagList(s)}
|
||||
|
||||
return panel
|
||||
end
|
||||
|
||||
return WorkspacePanel
|
||||
9
.config/awesome/makefile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
install: dependencies
|
||||
|
||||
software = rofi i3lock-fancy termite kvantum-qt lxappearance xclip xfce-polkit
|
||||
background = awesome i3-lock compton-tryone-git qt5ct
|
||||
optional = ttf-roboto spectacle ant-dracula-kvantum-theme-git xorg-xbacklight papirus-icon-theme
|
||||
|
||||
|
||||
dependencies:
|
||||
yay -S $(software) $(background) $(optional)
|
||||
1
.config/awesome/module/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
## Module
|
||||
19
.config/awesome/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
.config/awesome/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
|
||||
)
|
||||
547
.config/awesome/module/dashboard.lua
Normal file
|
|
@ -0,0 +1,547 @@
|
|||
local awful = require('awful')
|
||||
local gears = require('gears')
|
||||
local wibox = require('wibox')
|
||||
local beautiful = require('beautiful')
|
||||
local icons = require('theme.icons')
|
||||
local mat_list_item = require('widget.material.list-item')
|
||||
local mat_icon = require('widget.material.icon')
|
||||
local clickable_container = require('widget.material.clickable-container')
|
||||
local apps = require('configuration.apps')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
local icon_size = beautiful.dashboard_icon_size or dpi(140)
|
||||
|
||||
local username = os.getenv("USER")
|
||||
|
||||
local panel_style = gears.shape.rounded_rect
|
||||
|
||||
local buildButton = function(icon, name)
|
||||
local button_text = wibox.widget {
|
||||
text = name,
|
||||
font = beautiful.font,
|
||||
align = 'center',
|
||||
valign = 'center',
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal,
|
||||
widget = wibox.widget.textbox
|
||||
}
|
||||
|
||||
local a_button = wibox.widget {
|
||||
{
|
||||
{
|
||||
{
|
||||
{image = icon, widget = wibox.widget.imagebox},
|
||||
margins = dpi(16),
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
bg = beautiful.groups_bg,
|
||||
widget = wibox.container.background
|
||||
},
|
||||
shape = panel_style,
|
||||
forced_width = dpi(60),
|
||||
forced_height = dpi(60),
|
||||
visible = true,
|
||||
-- bg = beautiful.bg_normal,
|
||||
widget = clickable_container
|
||||
|
||||
},
|
||||
visible = true,
|
||||
-- bg = beautiful.bg_normal,
|
||||
shape = panel_style,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local build_a_button = wibox.widget {
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
spacing = dpi(5),
|
||||
a_button
|
||||
-- button_text
|
||||
}
|
||||
|
||||
return build_a_button
|
||||
end
|
||||
|
||||
local buildLabel = function(name)
|
||||
local label_text = wibox.widget {
|
||||
{
|
||||
text = name,
|
||||
font = 'Roboto 11',
|
||||
align = 'center',
|
||||
valign = 'center',
|
||||
bg = beautiful.primary.hue_900,
|
||||
fg = beautiful.fg_normal,
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
shape = panel_style,
|
||||
forced_height = dpi(56),
|
||||
visible = true,
|
||||
-- bg = beautiful.bg_normal,
|
||||
widget = clickable_container
|
||||
}
|
||||
|
||||
local build_a_label = wibox.widget {
|
||||
layout = wibox.layout.flex.horizontal,
|
||||
spacing = dpi(5),
|
||||
label_text
|
||||
}
|
||||
|
||||
return build_a_label
|
||||
end
|
||||
|
||||
function suspend_command()
|
||||
dashboard_hide()
|
||||
awful.spawn.with_shell(apps.default.lock .. ' & systemctl suspend')
|
||||
end
|
||||
function exit_command() _G.awesome.quit() end
|
||||
function lock_command()
|
||||
dashboard_hide()
|
||||
awful.spawn.with_shell('sleep 1 && ' .. apps.default.lock)
|
||||
end
|
||||
function poweroff_command()
|
||||
awful.spawn.with_shell('poweroff')
|
||||
awful.keygrabber.stop(_G.dashboard_grabber)
|
||||
end
|
||||
function reboot_command()
|
||||
awful.spawn.with_shell('reboot')
|
||||
awful.keygrabber.stop(_G.dashboard_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)
|
||||
|
||||
local search = buildButton(icons.search, 'Search')
|
||||
search:connect_signal('button::release', function()
|
||||
-- rofi_command()
|
||||
dashboard_hide()
|
||||
_G.awesome.spawn(apps.default.rofi)
|
||||
end)
|
||||
|
||||
local close = buildButton(icons.close_dark, 'Close')
|
||||
close:connect_signal('button::release', function() dashboard_hide() end)
|
||||
|
||||
-- Get screen geometry
|
||||
local screen_geometry = awful.screen.focused().geometry
|
||||
|
||||
-- Create the widget
|
||||
dashboard = wibox({
|
||||
x = screen_geometry.x,
|
||||
y = screen_geometry.y,
|
||||
visible = false,
|
||||
ontop = true,
|
||||
type = 'splash',
|
||||
bg = beautiful.primary.hue_800 .. '66',
|
||||
height = screen_geometry.height,
|
||||
width = screen_geometry.width
|
||||
})
|
||||
|
||||
local dashboard_grabber
|
||||
|
||||
function dashboard_hide()
|
||||
awful.keygrabber.stop(dashboard_grabber)
|
||||
dashboard.visible = false
|
||||
end
|
||||
|
||||
function dashboard_show()
|
||||
dashboard_grabber = awful.keygrabber.run(
|
||||
function(_, key, event)
|
||||
if event == 'release' then return end
|
||||
|
||||
if key == 'Escape' or key == 'q' or key == 'x' or key == 'm' then
|
||||
dashboard_hide()
|
||||
end
|
||||
end)
|
||||
dashboard.visible = true
|
||||
end
|
||||
|
||||
dashboard:buttons(gears.table.join( -- Middle click - Hide dashboard
|
||||
awful.button({}, 2, function() dashboard_hide() end),
|
||||
awful.button({}, 3, function() dashboard_hide() end)))
|
||||
|
||||
local profile_picture = os.getenv("HOME") ..
|
||||
"/.config/awesome/user_picture_curved.png"
|
||||
|
||||
local profile = wibox.widget {
|
||||
wibox.widget {
|
||||
{
|
||||
{
|
||||
{
|
||||
{
|
||||
image = profile_picture,
|
||||
resize = true,
|
||||
widget = wibox.widget.imagebox
|
||||
},
|
||||
resize = true,
|
||||
top = dpi(12),
|
||||
right = dpi(12),
|
||||
left = dpi(12),
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
bg = beautiful.groups_bg,
|
||||
shape = panel_style,
|
||||
widget = wibox.container.background
|
||||
},
|
||||
forced_width = dpi(244),
|
||||
forced_height = dpi(244),
|
||||
visible = true,
|
||||
bg = beautiful.bg_normal,
|
||||
shape = panel_style,
|
||||
widget = wibox.container.background
|
||||
},
|
||||
wibox.widget {
|
||||
{
|
||||
wibox.widget {
|
||||
text = '@' .. username,
|
||||
font = "Roboto Regular 12",
|
||||
align = 'center',
|
||||
valign = 'center',
|
||||
widget = wibox.widget.textbox
|
||||
},
|
||||
bottom = dpi(8),
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
fg = beautiful.primary.hue_500,
|
||||
widget = wibox.container.background
|
||||
},
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
visible = true,
|
||||
bg = beautiful.bg_normal,
|
||||
shape = panel_style,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local power_options = wibox.widget {
|
||||
{
|
||||
poweroff,
|
||||
reboot,
|
||||
suspend,
|
||||
exit,
|
||||
lock,
|
||||
layout = wibox.layout.flex.horizontal
|
||||
},
|
||||
visible = true,
|
||||
bg = beautiful.primary.hue_900,
|
||||
shape = panel_style,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local search_button = wibox.widget {
|
||||
{
|
||||
search,
|
||||
bg = beautiful.primary.hue_600,
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
visible = true,
|
||||
bg = beautiful.primary.hue_200,
|
||||
shape = panel_style,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local close_button = wibox.widget {
|
||||
{
|
||||
close,
|
||||
bg = beautiful.primary.hue_600,
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
visible = true,
|
||||
bg = beautiful.primary.hue_350,
|
||||
shape = panel_style,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local quick_settings = wibox.widget {
|
||||
{
|
||||
{
|
||||
require('layout.left-panel.dashboard.quick-settings'),
|
||||
right = dpi(16),
|
||||
bottom = dpi(12),
|
||||
top = dpi(12),
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
visible = true,
|
||||
bg = beautiful.bg_normal,
|
||||
shape = panel_style,
|
||||
widget = wibox.container.background
|
||||
},
|
||||
bg = beautiful.bg_normal,
|
||||
shape = panel_style,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local hardware_monitor = wibox.widget {
|
||||
{
|
||||
require('layout.left-panel.dashboard.hardware-monitor'),
|
||||
right = dpi(16),
|
||||
bottom = dpi(12),
|
||||
top = dpi(12),
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
visible = true,
|
||||
bg = beautiful.bg_normal,
|
||||
shape = panel_style,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local cal = require('widget.calendar')
|
||||
|
||||
local calWidget = wibox.widget {
|
||||
{
|
||||
nil,
|
||||
{cal, margins = dpi(16), widget = wibox.container.margin},
|
||||
nil,
|
||||
layout = wibox.layout.flex.horizontal
|
||||
},
|
||||
resize = true,
|
||||
shape = panel_style,
|
||||
bg = beautiful.bg_normal,
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
-- Fortune widget Credits: u/EmpressNoodle, github/elenapan
|
||||
local fortune_command = "fortune -n 140 -s"
|
||||
local fortune_update_interval = 3600
|
||||
-- local fortune_command = "fortune -n 140 -s computers"
|
||||
local fortune = wibox.widget {
|
||||
font = "Roboto 11",
|
||||
text = "You so poor you don't even have a cookie yet...",
|
||||
widget = wibox.widget.textbox
|
||||
}
|
||||
|
||||
local update_fortune = function()
|
||||
awful.spawn.easy_async_with_shell(fortune_command, function(out)
|
||||
-- Remove trailing whitespaces
|
||||
out = out:gsub('^%s*(.-)%s*$', '%1')
|
||||
fortune.markup = "<i>" .. out .. "</i>"
|
||||
end)
|
||||
end
|
||||
|
||||
gears.timer {
|
||||
autostart = true,
|
||||
timeout = fortune_update_interval,
|
||||
single_shot = false,
|
||||
call_now = true,
|
||||
callback = update_fortune
|
||||
}
|
||||
|
||||
local fortune_widget = wibox.widget {
|
||||
{
|
||||
{fortune, layout = wibox.layout.flex.horizontal},
|
||||
margins = dpi(16),
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
bg = beautiful.primary.hue_700,
|
||||
fg = beautiful.primary.hue_900,
|
||||
shape = panel_style,
|
||||
forced_height = dpi(112),
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local uptime_text = wibox.widget.textbox()
|
||||
uptime_text.font = "Roboto 10"
|
||||
uptime_text.valign = "center"
|
||||
awful.widget.watch("uptime -p | sed 's/^...//'", 60, function(_, stdout)
|
||||
local out = stdout:gsub('^%s*(.-)%s*up', '%1')
|
||||
uptime_text.text = out
|
||||
end)
|
||||
|
||||
local uptime_widget = wibox.widget {
|
||||
{
|
||||
{
|
||||
{
|
||||
image = icons.uptime,
|
||||
resize = true,
|
||||
forced_width = dpi(24),
|
||||
widget = wibox.widget.imagebox
|
||||
},
|
||||
uptime_text,
|
||||
spacing = dpi(8),
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
},
|
||||
margins = dpi(16),
|
||||
widget = wibox.container.margin
|
||||
},
|
||||
bg = beautiful.bg_normal,
|
||||
shape = panel_style,
|
||||
forced_height = dpi(48),
|
||||
forced_width = dpi(182),
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
-- Bookmarks
|
||||
function reddit_command()
|
||||
dashboard_hide()
|
||||
awful.spawn(apps.default.browser .. " " .. "reddit.com")
|
||||
end
|
||||
|
||||
function youtube_command()
|
||||
dashboard_hide()
|
||||
awful.spawn(apps.default.browser .. " " .. "youtube.com")
|
||||
end
|
||||
|
||||
function linkedin_command()
|
||||
dashboard_hide()
|
||||
awful.spawn(apps.default.browser .. " " .. "linkedin.com")
|
||||
end
|
||||
|
||||
function github_command()
|
||||
dashboard_hide()
|
||||
awful.spawn(apps.default.browser .. " " .. "github.com")
|
||||
end
|
||||
|
||||
function deviantart_command()
|
||||
dashboard_hide()
|
||||
awful.spawn(apps.default.browser .. " " .. "deviantart.com")
|
||||
end
|
||||
|
||||
function codeforces_command()
|
||||
dashboard_hide()
|
||||
awful.spawn(apps.default.browser .. " " .. "codeforces.com")
|
||||
end
|
||||
|
||||
function files_command(directory)
|
||||
dashboard_hide()
|
||||
awful.spawn(apps.default.files .. " " .. directory)
|
||||
end
|
||||
|
||||
local reddit = buildButton(icons.reddit, 'Reddit')
|
||||
reddit:connect_signal('button::release', function() reddit_command() end)
|
||||
|
||||
local youtube = buildButton(icons.youtube, 'Youtube')
|
||||
youtube:connect_signal('button::release', function() youtube_command() end)
|
||||
|
||||
local linkedin = buildButton(icons.linkedin, 'Linkedin')
|
||||
linkedin:connect_signal('button::release', function() linkedin_command() end)
|
||||
|
||||
local github = buildButton(icons.github, 'Github')
|
||||
github:connect_signal('button::release', function() github_command() end)
|
||||
|
||||
local deviantart = buildButton(icons.deviantart, 'Deviantart')
|
||||
deviantart:connect_signal('button::release', function() deviantart_command() end)
|
||||
|
||||
local codeforces = buildButton(icons.codeforces, 'Codeforces')
|
||||
codeforces:connect_signal('button::release', function() codeforces_command() end)
|
||||
|
||||
local home = buildLabel('Home')
|
||||
home:connect_signal('button::release', function() files_command(".") end)
|
||||
|
||||
local downloads = buildLabel('Downloads')
|
||||
downloads:connect_signal('button::release',
|
||||
function() files_command("Downloads") end)
|
||||
|
||||
local desktop = buildLabel('Desktop')
|
||||
desktop:connect_signal('button::release',
|
||||
function() files_command("Desktop") end)
|
||||
|
||||
local pictures = buildLabel('Pictures')
|
||||
pictures:connect_signal('button::release',
|
||||
function() files_command("Pictures") end)
|
||||
|
||||
local videos = buildLabel('Videos')
|
||||
videos:connect_signal('button::release', function() files_command("Videos") end)
|
||||
|
||||
local documents = buildLabel('Documents')
|
||||
documents:connect_signal('button::release',
|
||||
function() files_command("Documents") end)
|
||||
|
||||
local bookmarks = wibox.widget {
|
||||
{
|
||||
{reddit, youtube, linkedin, layout = wibox.layout.flex.horizontal},
|
||||
{github, deviantart, codeforces, layout = wibox.layout.ratio.horizontal},
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
visible = true,
|
||||
bg = beautiful.bg_normal,
|
||||
shape = panel_style,
|
||||
forced_width = dpi(182),
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
local places = wibox.widget {
|
||||
{
|
||||
{
|
||||
home,
|
||||
desktop,
|
||||
downloads,
|
||||
pictures,
|
||||
documents,
|
||||
videos,
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
visible = true,
|
||||
bg = beautiful.bg_normal,
|
||||
shape = panel_style,
|
||||
forced_width = dpi(182),
|
||||
widget = wibox.container.background
|
||||
}
|
||||
|
||||
-- Item placement
|
||||
dashboard:setup{
|
||||
nil,
|
||||
{
|
||||
nil,
|
||||
{
|
||||
{
|
||||
search_button,
|
||||
close_button,
|
||||
spacing = dpi(10),
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
{
|
||||
{
|
||||
{
|
||||
quick_settings,
|
||||
hardware_monitor,
|
||||
fortune_widget,
|
||||
forced_width = dpi(300),
|
||||
spacing = dpi(10),
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
{
|
||||
bookmarks,
|
||||
places,
|
||||
spacing = dpi(10),
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
spacing = dpi(10),
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
},
|
||||
{
|
||||
power_options,
|
||||
uptime_widget,
|
||||
spacing = dpi(10),
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
},
|
||||
spacing = dpi(10),
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
{
|
||||
profile,
|
||||
calWidget,
|
||||
spacing = dpi(10),
|
||||
layout = wibox.layout.fixed.vertical
|
||||
},
|
||||
spacing = dpi(10),
|
||||
layout = wibox.layout.fixed.horizontal
|
||||
},
|
||||
nil,
|
||||
expand = 'none',
|
||||
layout = wibox.layout.align.horizontal
|
||||
},
|
||||
{nil, expand = 'none', layout = wibox.layout.align.horizontal},
|
||||
expand = 'none',
|
||||
layout = wibox.layout.align.vertical
|
||||
}
|
||||
97
.config/awesome/module/decorate-client.lua
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
local awful = require('awful')
|
||||
local gears = require('gears')
|
||||
local beautiful = require('beautiful')
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
|
||||
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 = dpi(2)
|
||||
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 = dpi(2)
|
||||
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)
|
||||
145
.config/awesome/module/exit-screen.lua
Normal file
|
|
@ -0,0 +1,145 @@
|
|||
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_900 .. '55'
|
||||
|
||||
local exit_screen_grabber
|
||||
|
||||
function exit_screen_hide()
|
||||
awful.keygrabber.stop(exit_screen_grabber)
|
||||
exit_screen.visible = false
|
||||
end
|
||||
|
||||
function exit_screen_show()
|
||||
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
.config/awesome/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
|
||||
58
.config/awesome/module/quake-terminal.lua
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
local awful = require('awful')
|
||||
local spawn = require('awful.spawn')
|
||||
local app = require('configuration.apps').default.quake
|
||||
local dpi = require('beautiful').xresources.apply_dpi
|
||||
local beautiful = require('beautiful')
|
||||
|
||||
-- Theme
|
||||
beautiful.init(require('theme'))
|
||||
|
||||
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 - c.height
|
||||
c.opacity = 0.9
|
||||
c.floating = true
|
||||
c.skip_taskbar = true
|
||||
c.ontop = true
|
||||
c.above = true
|
||||
c.sticky = true
|
||||
c.type = 'dock'
|
||||
c.hidden = not opened
|
||||
c.maximized_horizontal = true
|
||||
c.border_width = dpi(1)
|
||||
end
|
||||
end)
|
||||
|
||||
_G.client.connect_signal('unmanage', function(c)
|
||||
if (c.pid == quake_id) then
|
||||
opened = false
|
||||
quake_client = nil
|
||||
end
|
||||
end)
|
||||
67
.config/awesome/rc.lua
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
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')
|
||||
require('module.dashboard')
|
||||
|
||||
-- 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
.config/awesome/theme/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
## Theme
|
||||
102
.config/awesome/theme/default-theme.lua
Normal file
|
|
@ -0,0 +1,102 @@
|
|||
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/6.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 = 'Tela circle purple dark'
|
||||
|
||||
-- Client
|
||||
theme.border_width = dpi(1)
|
||||
theme.border_focus = theme.primary.hue_100
|
||||
theme.border_normal = theme.primary.hue_900
|
||||
end
|
||||
return {theme = theme, awesome_overrides = awesome_overrides}
|
||||
1
.config/awesome/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 |
1
.config/awesome/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
.config/awesome/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 |
56
.config/awesome/theme/icons/close_dark.svg
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<?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="close.svg"
|
||||
id="svg4"
|
||||
viewBox="0 0 24 24"
|
||||
height="240"
|
||||
width="240"
|
||||
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" />
|
||||
<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="42"
|
||||
inkscape:window-x="8"
|
||||
inkscape:cy="120"
|
||||
inkscape:cx="120"
|
||||
inkscape:zoom="2.4208333"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="716"
|
||||
inkscape:window-width="1348"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="path2"
|
||||
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"
|
||||
fill="#ffffff" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
1
.config/awesome/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
.config/awesome/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 |
95
.config/awesome/theme/icons/codeforces.svg
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
<?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="graph.svg"
|
||||
class=""
|
||||
height="512px"
|
||||
width="512px"
|
||||
xml:space="preserve"
|
||||
style="enable-background:new 0 0 478 478;"
|
||||
viewBox="0 0 478 478"
|
||||
y="0px"
|
||||
x="0px"
|
||||
id="Capa_1"
|
||||
version="1.1"><metadata
|
||||
id="metadata27"><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="defs25" /><sodipodi:namedview
|
||||
inkscape:current-layer="Capa_1"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="42"
|
||||
inkscape:window-x="8"
|
||||
inkscape:cy="256"
|
||||
inkscape:cx="95.173838"
|
||||
inkscape:zoom="1.1347656"
|
||||
showgrid="false"
|
||||
id="namedview23"
|
||||
inkscape:window-height="716"
|
||||
inkscape:window-width="1348"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" /><g
|
||||
style="fill:#ff5555;fill-opacity:1"
|
||||
transform="matrix(-1,0,0,1,478,0)"
|
||||
id="g6">
|
||||
<g
|
||||
style="fill:#ff5555;fill-opacity:1"
|
||||
id="g4">
|
||||
<path
|
||||
style="fill:#ff5555;fill-opacity:1"
|
||||
d="M 119.5,187.75 H 17.1 c -9.4,0 -17,7.6 -17.1,17.1 v 256 c 0,9.5 7.7,17.1 17.1,17.1 h 102.4 c 9.5,0 17.1,-7.7 17.1,-17.1 v -256 c 0,-9.5 -7.7,-17.1 -17.1,-17.1 z"
|
||||
data-original="#000000"
|
||||
class="active-path"
|
||||
data-old_color="#000000"
|
||||
fill="#000000"
|
||||
id="path2" />
|
||||
</g>
|
||||
</g><g
|
||||
style="fill:#6272a4;fill-opacity:1"
|
||||
transform="matrix(-1,0,0,1,478,0)"
|
||||
id="g12">
|
||||
<g
|
||||
style="fill:#6272a4;fill-opacity:1"
|
||||
id="g10">
|
||||
<path
|
||||
style="fill:#6272a4;fill-opacity:1"
|
||||
d="M 290.2,0.05 H 187.8 c -9.4,0 -17.1,7.6 -17.1,17 v 443.8 c 0,9.5 7.7,17.1 17.1,17.1 h 102.4 c 9.5,0 17.1,-7.7 17.1,-17.1 V 17.15 c 0,-9.5 -7.7,-17.1 -17.1,-17.1 z"
|
||||
data-original="#000000"
|
||||
class="active-path"
|
||||
data-old_color="#000000"
|
||||
fill="#000000"
|
||||
id="path8" />
|
||||
</g>
|
||||
</g><g
|
||||
style="fill:#333333"
|
||||
transform="matrix(-1,0,0,1,478,0)"
|
||||
id="g18">
|
||||
<g
|
||||
style="fill:#f1fa8c;fill-opacity:1"
|
||||
id="g16">
|
||||
<path
|
||||
style="fill:#f1fa8c;fill-opacity:1"
|
||||
d="M 460.9,136.55 H 358.5 c -9.5,0 -17.1,7.6 -17.1,17.1 v 307.2 c 0,9.5 7.7,17.1 17.1,17.1 h 102.4 c 9.5,0 17.1,-7.7 17.1,-17.1 v -307.2 c 0,-9.5 -7.7,-17.1 -17.1,-17.1 z"
|
||||
data-original="#000000"
|
||||
class="active-path"
|
||||
data-old_color="#000000"
|
||||
fill="#000000"
|
||||
id="path14" />
|
||||
</g>
|
||||
</g> <link
|
||||
rel="stylesheet"
|
||||
id="dark-mode"
|
||||
type="text/css" /></svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
67
.config/awesome/theme/icons/coffee.svg
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
<?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="coffee.svg"
|
||||
version="1.1"
|
||||
width="512"
|
||||
viewBox="0 0 512 512"
|
||||
height="512"
|
||||
enable-background="new 0 0 512 512"
|
||||
id="Capa_1">
|
||||
<metadata
|
||||
id="metadata15">
|
||||
<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="defs13" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="Capa_1"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="42"
|
||||
inkscape:window-x="8"
|
||||
inkscape:cy="206.94657"
|
||||
inkscape:cx="256"
|
||||
inkscape:zoom="1.1347656"
|
||||
showgrid="false"
|
||||
id="namedview11"
|
||||
inkscape:window-height="716"
|
||||
inkscape:window-width="1348"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g8">
|
||||
<path
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="path2"
|
||||
d="m462.521 294.151c-9.291-11.898-23.277-18.723-38.373-18.723h-45.145v-34.428h-339.856v102.247c0 57.441 28.855 108.261 72.823 138.753h-72.704v30h339.618v-30h-72.704c15.375-10.662 28.9-23.808 39.99-38.857h32.929c38.55 0 72.003-26.12 81.353-63.518l10.927-43.705c3.66-14.646.432-29.869-8.858-41.769zm-20.246 34.493-10.927 43.705c-6.005 24.019-27.49 40.794-52.249 40.794h-15.265c9.736-21.309 15.169-44.979 15.169-69.896v-37.818h45.145c5.794 0 11.161 2.619 14.727 7.186 3.566 4.566 4.804 10.408 3.4 16.029z" />
|
||||
<path
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="path4"
|
||||
d="m209.247 118.286c-27.256 0-49.43 22.174-49.43 49.43v34.427h30v-34.427c0-10.714 8.716-19.43 19.43-19.43h137.709c65.226 0 118.29-53.064 118.29-118.29v-29.996h-30v29.996c0 48.684-39.606 88.29-88.29 88.29z" />
|
||||
<path
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="path6"
|
||||
d="m120.96 172.147c0-48.684 39.606-88.29 88.29-88.29h137.709c27.256 0 49.43-22.175 49.43-49.431v-34.426h-30v34.427c0 10.714-8.716 19.431-19.43 19.431h-137.709c-65.226 0-118.29 53.064-118.29 118.29v29.995h30z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
88
.config/awesome/theme/icons/computer.svg
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg: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: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="computer.svg"
|
||||
version="1.1"
|
||||
width="512px"
|
||||
viewBox="0 0 512 512"
|
||||
height="512px"
|
||||
enable-background="new 0 0 512 512"
|
||||
id="Capa_1">
|
||||
<svg:metadata
|
||||
id="metadata15">
|
||||
<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>
|
||||
</svg:metadata>
|
||||
<svg:defs
|
||||
id="defs13" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="Capa_1"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="42"
|
||||
inkscape:window-x="8"
|
||||
inkscape:cy="257.19643"
|
||||
inkscape:cx="206.14896"
|
||||
inkscape:zoom="1.1347656"
|
||||
showgrid="false"
|
||||
id="namedview11"
|
||||
inkscape:window-height="716"
|
||||
inkscape:window-width="1348"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<svg:g
|
||||
transform="translate(0,26)"
|
||||
style="fill:#f1fa8c;fill-opacity:1"
|
||||
id="g8">
|
||||
<svg:g
|
||||
style="fill:#f1fa8c;fill-opacity:1"
|
||||
id="g6">
|
||||
<svg:path
|
||||
style="fill:#f1fa8c;fill-opacity:1"
|
||||
id="path2"
|
||||
fill="#FFFFFF"
|
||||
data-old_color="#000000"
|
||||
class="active-path"
|
||||
data-original="#000000"
|
||||
d="M 482,25 H 30 C 13.46,25 0,38.46 0,55 v 298 c 0,16.54 13.46,30 30,30 h 452 c 16.54,0 30,-13.46 30,-30 V 55 C 512,38.46 498.54,25 482,25 Z" />
|
||||
<svg:path
|
||||
style="fill:#f1fa8c;fill-opacity:1"
|
||||
id="path4"
|
||||
fill="#FFFFFF"
|
||||
data-old_color="#000000"
|
||||
class="active-path"
|
||||
data-original="#000000"
|
||||
d="M 416,457 H 335 V 413 H 177 v 44 H 96 c -8.28,0 -15,6.72 -15,15 0,8.28 6.72,15 15,15 h 320 c 8.28,0 15,-6.72 15,-15 0,-8.28 -6.72,-15 -15,-15 z" />
|
||||
</svg:g>
|
||||
<link
|
||||
class="active-path"
|
||||
rel="stylesheet"
|
||||
id="dark-mode"
|
||||
type="text/css" />
|
||||
<style
|
||||
class="active-path"
|
||||
id="dark-mode-custom-style"
|
||||
type="text/css" />
|
||||
</svg:g>
|
||||
<svg:link
|
||||
rel="stylesheet"
|
||||
id="dark-mode"
|
||||
type="text/css" />
|
||||
</svg:svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
54
.config/awesome/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 |
142
.config/awesome/theme/icons/dashboard.svg
Normal file
|
|
@ -0,0 +1,142 @@
|
|||
<?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="dashboard.svg"
|
||||
xml:space="preserve"
|
||||
style="enable-background:new 0 0 384 384;"
|
||||
viewBox="0 0 384 384"
|
||||
y="0px"
|
||||
x="0px"
|
||||
id="Capa_1"
|
||||
version="1.1"><metadata
|
||||
id="metadata51"><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="defs49" /><sodipodi:namedview
|
||||
inkscape:current-layer="Capa_1"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="42"
|
||||
inkscape:window-x="8"
|
||||
inkscape:cy="192"
|
||||
inkscape:cx="192"
|
||||
inkscape:zoom="1.5130208"
|
||||
showgrid="false"
|
||||
id="namedview47"
|
||||
inkscape:window-height="716"
|
||||
inkscape:window-width="1348"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g14">
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g12">
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g10">
|
||||
<rect
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="rect2"
|
||||
height="128"
|
||||
width="170.667"
|
||||
y="0"
|
||||
x="213.333" />
|
||||
<rect
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="rect4"
|
||||
height="213.333"
|
||||
width="170.667"
|
||||
y="0"
|
||||
x="0" />
|
||||
<rect
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="rect6"
|
||||
height="128"
|
||||
width="170.667"
|
||||
y="256"
|
||||
x="0" />
|
||||
<rect
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="rect8"
|
||||
height="213.333"
|
||||
width="170.667"
|
||||
y="170.667"
|
||||
x="213.333" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g16">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g18">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g20">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g22">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g24">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g26">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g28">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g30">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g32">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g34">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g36">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g38">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g40">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g42">
|
||||
</g>
|
||||
<g
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="g44">
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
2
.config/awesome/theme/icons/deviantart.svg
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve" width="512px" height="512px"><g><path d="M416,0h-96l-47.168,87.584C270.048,92.768,264.64,96,258.752,96H96v128h76.608 c12.096,0,19.84,12.928,14.08,23.584L96,416v96h96l47.168-87.584c2.784-5.184,8.192-8.416,14.08-8.416H416V288h-76.608 c-12.096,0-19.84-12.928-14.08-23.584L416,96V0z" data-original="#4CAF50" class="active-path" data-old_color="#4CAF50" fill="#50FA7B"/><link xmlns="" type="text/css" id="dark-mode" rel="stylesheet"/><style xmlns="" type="text/css" id="dark-mode-custom-style"/></g> <link type="text/css" id="dark-mode" rel="stylesheet"/></svg>
|
||||
|
After Width: | Height: | Size: 792 B |
60
.config/awesome/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
.config/awesome/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
.config/awesome/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
.config/awesome/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
.config/awesome/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
.config/awesome/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 |
2
.config/awesome/theme/icons/github.svg
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="512px" viewBox="0 0 24 24" width="512px" class=""><g><g fill="#212121"><path d="m12.29 21.499c3.73 0 8.94.09 10.835-3.701.715-1.449.875-3.122.875-4.7h-.001c0-2.073-.575-4.047-1.95-5.651.786-2.363.26-3.756-.345-4.948-2.24 0-3.69.42-5.39 1.742-2.746-.653-5.856-.571-8.455.04-1.725-1.336-3.175-1.781-5.44-1.781-.621 1.237-1.136 2.599-.344 4.977-2.676 3.083-2.466 7.566-1.065 10.322 1.97 3.835 7.49 3.7 11.28 3.7zm-5.289-9.99c.95 0 1.865.168 2.8.297 3.418.52 5.215-.297 7.31-.297 2.339 0 3.675 1.915 3.675 4.087 0 4.349-4.015 5.012-7.53 5.012-2.419-.163-9.93.976-9.93-5.012 0-2.172 1.334-4.087 3.675-4.087z" data-original="#212121" class="active-path" data-old_color="#212121" fill="#BD93F9"/><path d="m16.655 18.323c1.29 0 1.835-1.692 1.835-2.727s-.545-2.727-1.835-2.727-1.835 1.692-1.835 2.727.545 2.727 1.835 2.727z" data-original="#212121" class="active-path" data-old_color="#212121" fill="#BD93F9"/><path d="m7.47 18.323c1.29 0 1.835-1.692 1.835-2.727s-.546-2.726-1.835-2.726-1.835 1.692-1.835 2.727.545 2.726 1.835 2.726z" data-original="#212121" class="active-path" data-old_color="#212121" fill="#BD93F9"/></g><link xmlns="" type="text/css" id="dark-mode" rel="stylesheet"/><style xmlns="" type="text/css" id="dark-mode-custom-style"/></g> <link type="text/css" id="dark-mode" rel="stylesheet"/></svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
1
.config/awesome/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
.config/awesome/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
.config/awesome/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 |
2
.config/awesome/theme/icons/home.svg
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewBox="0 0 451.274 451.274" style="enable-background:new 0 0 451.274 451.274;" xml:space="preserve" width="512px" height="512px" class=""><g><path d="M418.943,176.466L230.862,4.058c-6.269-5.747-15.673-5.224-21.42,0.522L31.809,176.988 c-3.135,2.612-4.702,6.792-4.702,10.971v247.641c0,8.882,6.792,15.673,15.673,15.673h130.612c8.882,0,15.673-6.792,15.673-15.673 V320.662h73.143v114.939c0,8.882,6.792,15.673,15.673,15.673h130.612c8.882,0,15.673-6.792,15.673-15.673V187.96 C424.168,183.78,422.078,179.601,418.943,176.466z" data-original="#4DCFE0" class="active-path" data-old_color="#4DCFE0" fill="#282A36"/><link xmlns="" type="text/css" id="dark-mode" rel="stylesheet"/><style xmlns="" type="text/css" id="dark-mode-custom-style"/></g> <link type="text/css" id="dark-mode" rel="stylesheet"/></svg>
|
||||
|
After Width: | Height: | Size: 947 B |
39
.config/awesome/theme/icons/init.lua
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
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 .. '/dashboard.svg',
|
||||
close = dir .. '/close.svg',
|
||||
close_dark = dir .. '/close_dark.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-dark.svg',
|
||||
volume = dir .. '/volume-high.svg',
|
||||
volume_dark = dir .. '/volume-high-dark.svg',
|
||||
brightness = dir .. '/brightness-7.svg',
|
||||
chart = dir .. '/chart-areaspline.svg',
|
||||
memory = dir .. '/memory.svg',
|
||||
harddisk = dir .. '/harddisk.svg',
|
||||
thermometer = dir .. '/thermometer.svg',
|
||||
uptime = dir .. '/computer.svg',
|
||||
plus = dir .. '/plus.svg',
|
||||
github = dir .. '/github.svg',
|
||||
deviantart = dir .. '/deviantart.svg',
|
||||
codeforces = dir .. '/codeforces.svg',
|
||||
youtube = dir .. '/youtube.svg',
|
||||
reddit = dir .. '/reddit.svg',
|
||||
linkedin = dir .. '/linkedin.svg'
|
||||
}
|
||||
BIN
.config/awesome/theme/icons/layouts/arrow-expand-all.png
Normal file
|
After Width: | Height: | Size: 322 B |
BIN
.config/awesome/theme/icons/layouts/floating.png
Normal file
|
After Width: | Height: | Size: 159 B |
BIN
.config/awesome/theme/icons/layouts/view-quilt.png
Normal file
|
After Width: | Height: | Size: 236 B |
2
.config/awesome/theme/icons/linkedin.svg
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="Bold" enable-background="new 0 0 24 24" height="512px" viewBox="0 0 24 24" width="512px" class=""><g><path d="m23.994 24v-.001h.006v-8.802c0-4.306-.927-7.623-5.961-7.623-2.42 0-4.044 1.328-4.707 2.587h-.07v-2.185h-4.773v16.023h4.97v-7.934c0-2.089.396-4.109 2.983-4.109 2.549 0 2.587 2.384 2.587 4.243v7.801z" data-original="#000000" class="active-path" data-old_color="#000000" fill="#1273EB"/><path d="m.396 7.977h4.976v16.023h-4.976z" data-original="#000000" class="active-path" data-old_color="#000000" fill="#1273EB"/><path d="m2.882 0c-1.591 0-2.882 1.291-2.882 2.882s1.291 2.909 2.882 2.909 2.882-1.318 2.882-2.909c-.001-1.591-1.292-2.882-2.882-2.882z" data-original="#000000" class="active-path" data-old_color="#000000" fill="#1273EB"/><link xmlns="" type="text/css" id="dark-mode" rel="stylesheet" class="active-path"/><style xmlns="" type="text/css" id="dark-mode-custom-style" class="active-path"/></g> <link type="text/css" id="dark-mode" rel="stylesheet"/></svg>
|
||||
|
After Width: | Height: | Size: 1 KiB |
1
.config/awesome/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
.config/awesome/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 |
56
.config/awesome/theme/icons/magnify-dark.svg
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<?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="magnify.svg"
|
||||
id="svg4"
|
||||
viewBox="0 0 24 24"
|
||||
height="240"
|
||||
width="240"
|
||||
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" />
|
||||
<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="42"
|
||||
inkscape:window-x="8"
|
||||
inkscape:cy="120"
|
||||
inkscape:cx="44.612737"
|
||||
inkscape:zoom="2.4208333"
|
||||
showgrid="false"
|
||||
id="namedview6"
|
||||
inkscape:window-height="716"
|
||||
inkscape:window-width="1348"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="fill:#282a36;fill-opacity:1"
|
||||
id="path2"
|
||||
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"
|
||||
fill="#ffffff" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
1
.config/awesome/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
.config/awesome/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
.config/awesome/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
.config/awesome/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
.config/awesome/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
.config/awesome/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
.config/awesome/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 |
60
.config/awesome/theme/icons/reddit.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="reddit.svg"
|
||||
id="svg14"
|
||||
version="1.1"
|
||||
class=""
|
||||
width="512px"
|
||||
viewBox="0 -28 512 512"
|
||||
height="512px">
|
||||
<metadata
|
||||
id="metadata20">
|
||||
<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="defs18" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="svg14"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="42"
|
||||
inkscape:window-x="8"
|
||||
inkscape:cy="299.71302"
|
||||
inkscape:cx="225.32326"
|
||||
inkscape:zoom="0.80240047"
|
||||
showgrid="false"
|
||||
id="namedview16"
|
||||
inkscape:window-height="716"
|
||||
inkscape:window-width="1348"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
transform="translate(0,-28)"
|
||||
d="M 415.94922 28 C 400.19531 28 386.74609 37.144531 380.21484 50.359375 L 287.08203 30.535156 C 284.46875 29.996094 281.78125 30.460938 279.55078 31.917969 C 277.32422 33.378906 275.78516 35.605469 275.25 38.21875 C 275.25 38.21875 247.27734 171.46484 247.27734 172.23438 C 187.41797 173.76953 133.62891 191.67578 94.746094 219.72266 C 84.679688 210.03906 71.078125 204.12109 56.019531 204.12109 C 25.050781 204.12109 0 229.24612 0 260.14062 C 0 282.88281 13.601562 302.48047 33.117188 311.23828 C 32.273438 316.77344 31.8125 322.45703 31.8125 328.22266 C 31.8125 414.4375 132.16797 484.28906 255.96094 484.28906 C 379.75391 484.28906 480.10936 414.4375 480.10938 328.22266 C 480.10938 322.53516 479.64844 316.92578 478.80469 311.39453 C 498.24609 302.63281 512 283.03908 512 260.14062 C 512 229.17188 486.94922 204.12109 455.98047 204.12109 C 440.84375 204.12109 427.16406 210.11328 417.10156 219.875 C 378.83203 192.21094 326.04297 174.38281 267.25781 172.30859 L 292.76953 52.203125 L 376.14453 69.957031 C 377.14453 91.164062 394.50781 108.07031 415.94922 108.07031 C 438.07812 108.07031 455.98438 90.164062 455.98438 68.035156 C 455.98438 45.90625 438.07812 28 415.94922 28 z M 343.94531 260.13672 C 366 260.13672 383.98047 278.1172 383.98047 300.17188 C 383.98047 322.22656 366 340.20703 343.94531 340.20703 C 321.89062 340.20703 303.91016 322.22656 303.91016 300.17188 C 303.91016 278.11719 321.89062 260.13672 343.94531 260.13672 z M 167.82422 260.14062 C 189.87891 260.14062 207.85938 278.12109 207.85938 300.17578 C 207.85938 322.22656 189.87891 340.21094 167.82422 340.21094 C 145.76953 340.20694 127.78906 322.22656 127.78906 300.17578 C 127.78906 278.12109 145.76953 260.14062 167.82422 260.14062 z M 168.24609 388.17773 C 170.89746 388.17773 173.54883 389.19531 175.58594 391.23047 C 192.79687 408.44531 229.60547 414.59375 255.96094 414.59375 C 282.24219 414.59375 319.125 408.44531 336.33984 391.23047 C 340.41016 387.16016 346.94143 387.16016 351.01562 391.23047 C 355.01173 395.30469 355.01174 401.83594 351.01562 405.91016 C 323.66017 433.1875 271.32812 435.33984 255.96094 435.33984 C 240.59375 435.33984 188.1875 433.1875 160.90625 405.91016 C 156.83594 401.83594 156.83594 395.30469 160.90625 391.23047 C 162.94336 389.19531 165.59473 388.17773 168.24609 388.17773 z "
|
||||
style="fill:#ffb86c;fill-rule:evenodd"
|
||||
id="path2" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
id="dark-mode"
|
||||
type="text/css" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.9 KiB |
1
.config/awesome/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
.config/awesome/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
.config/awesome/theme/icons/tag-list/occupied.png
Normal file
|
After Width: | Height: | Size: 237 B |
BIN
.config/awesome/theme/icons/tag-list/panel.png
Normal file
|
After Width: | Height: | Size: 205 B |
BIN
.config/awesome/theme/icons/tag-list/selected.png
Normal file
|
After Width: | Height: | Size: 689 B |
BIN
.config/awesome/theme/icons/tag-list/tag/close.png
Normal file
|
After Width: | Height: | Size: 448 B |
BIN
.config/awesome/theme/icons/tag-list/tag/code-braces.png
Normal file
|
After Width: | Height: | Size: 468 B |
BIN
.config/awesome/theme/icons/tag-list/tag/flask.png
Normal file
|
After Width: | Height: | Size: 614 B |
BIN
.config/awesome/theme/icons/tag-list/tag/folder.png
Normal file
|
After Width: | Height: | Size: 413 B |
BIN
.config/awesome/theme/icons/tag-list/tag/forum.png
Normal file
|
After Width: | Height: | Size: 437 B |
BIN
.config/awesome/theme/icons/tag-list/tag/google-chrome.png
Normal file
|
After Width: | Height: | Size: 841 B |
BIN
.config/awesome/theme/icons/tag-list/tag/google-controller.png
Normal file
|
After Width: | Height: | Size: 564 B |
BIN
.config/awesome/theme/icons/tag-list/tag/home.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |