awesome
11
.config/awesome/themes/powerarrow-dark/bg-slideshow.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
FOLDER="/home/oliver/.config/awesome/themes/powerarrow-dark/wallpaper"
|
||||
DELAY=10
|
||||
|
||||
while true; do
|
||||
LIST=`find "$FOLDER" -type f -name '*.png'`
|
||||
for picture in $LIST; do
|
||||
feh "$picture" --bg-fill
|
||||
sleep ${DELAY}s
|
||||
done
|
||||
sleep 1
|
||||
done
|
BIN
.config/awesome/themes/powerarrow-dark/icons/ac.png
Executable file
After Width: | Height: | Size: 106 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/battery.png
Executable file
After Width: | Height: | Size: 148 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/battery_empty.png
Executable file
After Width: | Height: | Size: 132 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/battery_low.png
Executable file
After Width: | Height: | Size: 131 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/centerfair.png
Executable file
After Width: | Height: | Size: 179 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/centerwork.png
Executable file
After Width: | Height: | Size: 195 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/centerworkh.png
Executable file
After Width: | Height: | Size: 195 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/cpu.png
Executable file
After Width: | Height: | Size: 185 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/dwindle.png
Executable file
After Width: | Height: | Size: 208 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/fairh.png
Executable file
After Width: | Height: | Size: 203 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/fairv.png
Executable file
After Width: | Height: | Size: 214 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/floating.png
Executable file
After Width: | Height: | Size: 198 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/hdd.png
Executable file
After Width: | Height: | Size: 253 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/magnifier.png
Executable file
After Width: | Height: | Size: 228 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/mail.png
Executable file
After Width: | Height: | Size: 189 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/mail_on.png
Executable file
After Width: | Height: | Size: 213 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/max.png
Executable file
After Width: | Height: | Size: 228 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/mem.png
Executable file
After Width: | Height: | Size: 93 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/net.png
Executable file
After Width: | Height: | Size: 193 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/net_wired.png
Executable file
After Width: | Height: | Size: 186 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/note.png
Executable file
After Width: | Height: | Size: 196 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/note_on.png
Executable file
After Width: | Height: | Size: 175 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/scissors.png
Executable file
After Width: | Height: | Size: 130 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/spiral.png
Executable file
After Width: | Height: | Size: 206 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/square_sel.png
Executable file
After Width: | Height: | Size: 81 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/square_unsel.png
Executable file
After Width: | Height: | Size: 88 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/submenu.png
Executable file
After Width: | Height: | Size: 142 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/task.png
Executable file
After Width: | Height: | Size: 189 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/temp.png
Executable file
After Width: | Height: | Size: 119 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/termfair.png
Executable file
After Width: | Height: | Size: 972 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/tile.png
Executable file
After Width: | Height: | Size: 195 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/tilebottom.png
Executable file
After Width: | Height: | Size: 200 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/tileleft.png
Executable file
After Width: | Height: | Size: 193 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/tiletop.png
Executable file
After Width: | Height: | Size: 199 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/close_focus.png
Executable file
After Width: | Height: | Size: 187 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/close_normal.png
Executable file
After Width: | Height: | Size: 254 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/floating_focus_active.png
Executable file
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 154 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/floating_normal_active.png
Executable file
After Width: | Height: | Size: 217 B |
After Width: | Height: | Size: 176 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/maximized_focus_active.png
Executable file
After Width: | Height: | Size: 264 B |
After Width: | Height: | Size: 176 B |
After Width: | Height: | Size: 244 B |
After Width: | Height: | Size: 174 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/ontop_focus_active.png
Executable file
After Width: | Height: | Size: 184 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/ontop_focus_inactive.png
Executable file
After Width: | Height: | Size: 161 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/ontop_normal_active.png
Executable file
After Width: | Height: | Size: 224 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/ontop_normal_inactive.png
Executable file
After Width: | Height: | Size: 171 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/sticky_focus_active.png
Executable file
After Width: | Height: | Size: 184 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/sticky_focus_inactive.png
Executable file
After Width: | Height: | Size: 155 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/sticky_normal_active.png
Executable file
After Width: | Height: | Size: 235 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/titlebar/sticky_normal_inactive.png
Executable file
After Width: | Height: | Size: 165 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/vol.png
Executable file
After Width: | Height: | Size: 123 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/vol_low.png
Executable file
After Width: | Height: | Size: 193 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/vol_mute.png
Executable file
After Width: | Height: | Size: 227 B |
BIN
.config/awesome/themes/powerarrow-dark/icons/vol_no.png
Executable file
After Width: | Height: | Size: 127 B |
BIN
.config/awesome/themes/powerarrow-dark/label.png
Normal file
After Width: | Height: | Size: 57 KiB |
273
.config/awesome/themes/powerarrow-dark/theme.lua
Normal file
@@ -0,0 +1,273 @@
|
||||
--[[
|
||||
|
||||
Powerarrow Dark Awesome WM theme
|
||||
github.com/lcpz
|
||||
|
||||
--]]
|
||||
|
||||
local gears = require("gears")
|
||||
local lain = require("lain")
|
||||
local awful = require("awful")
|
||||
local wibox = require("wibox")
|
||||
local dpi = require("beautiful.xresources").apply_dpi
|
||||
|
||||
local os = os
|
||||
local my_table = awful.util.table or gears.table -- 4.{0,1} compatibility
|
||||
|
||||
local theme = {}
|
||||
theme.dir = os.getenv("HOME") .. "/.config/awesome/themes/powerarrow-dark"
|
||||
theme.wallpaper = theme.dir .. "/wall.png"
|
||||
theme.font = "Fira Code 8"
|
||||
-- Normal
|
||||
theme.fg_normal = "#FFFFFF" -- normal text
|
||||
theme.bg_normal = "#001122" -- unselected / odd element
|
||||
theme.border_normal = "#000000" -- unselected window border
|
||||
-- Focus
|
||||
theme.fg_focus = "#ff6900" -- selected window text
|
||||
theme.bg_focus = "#003344" -- selected window / screen
|
||||
theme.border_focus = "#FF6900" -- selected window border
|
||||
theme.tasklist_bg_focus = "#003344" -- selected window name background
|
||||
|
||||
theme.fg_urgent = "#00FF00" -- never comes up
|
||||
theme.bg_urgent = "#FF6900" -- say a browser tab get's opened but the browser is in a different desktop
|
||||
theme.border_marked = "#0000FF" -- never comes up
|
||||
|
||||
theme.titlebar_bg_focus = theme.bg_focus
|
||||
theme.titlebar_bg_normal = theme.bg_normal
|
||||
theme.titlebar_fg_focus = theme.fg_focus
|
||||
|
||||
theme.border_width = dpi(1) -- 0 is kind of fun
|
||||
theme.menu_height = dpi(20) -- quick menu and rightclick menu
|
||||
theme.menu_width = dpi(150) -- quick menu and rightclick menu
|
||||
theme.useless_gap = dpi(0)
|
||||
|
||||
theme.tasklist_plain_task_name = true -- not sure
|
||||
theme.tasklist_disable_icon = true -- not sure
|
||||
|
||||
-- menu
|
||||
theme.menu_submenu_icon = theme.dir .. "/icons/submenu.png"
|
||||
-- taglist
|
||||
theme.taglist_squares_sel = theme.dir .. "/icons/square_sel.png"
|
||||
theme.taglist_squares_unsel = theme.dir .. "/icons/square_unsel.png"
|
||||
-- layout
|
||||
theme.layout_tile = theme.dir .. "/icons/tile.png"
|
||||
theme.layout_tileleft = theme.dir .. "/icons/tileleft.png"
|
||||
theme.layout_tilebottom = theme.dir .. "/icons/tilebottom.png"
|
||||
theme.layout_tiletop = theme.dir .. "/icons/tiletop.png"
|
||||
theme.layout_fairv = theme.dir .. "/icons/fairv.png"
|
||||
theme.layout_fairh = theme.dir .. "/icons/fairh.png"
|
||||
theme.layout_spiral = theme.dir .. "/icons/spiral.png"
|
||||
theme.layout_dwindle = theme.dir .. "/icons/dwindle.png"
|
||||
theme.layout_max = theme.dir .. "/icons/max.png"
|
||||
theme.layout_fullscreen = theme.dir .. "/icons/fullscreen.png"
|
||||
theme.layout_magnifier = theme.dir .. "/icons/magnifier.png"
|
||||
theme.layout_floating = theme.dir .. "/icons/floating.png"
|
||||
-- widget
|
||||
theme.widget_ac = theme.dir .. "/icons/ac.png"
|
||||
theme.widget_battery = theme.dir .. "/icons/battery.png"
|
||||
theme.widget_battery_low = theme.dir .. "/icons/battery_low.png"
|
||||
theme.widget_battery_empty = theme.dir .. "/icons/battery_empty.png"
|
||||
theme.widget_mem = theme.dir .. "/icons/mem.png"
|
||||
theme.widget_cpu = theme.dir .. "/icons/cpu.png"
|
||||
theme.widget_temp = theme.dir .. "/icons/temp.png"
|
||||
theme.widget_net = theme.dir .. "/icons/net.png"
|
||||
theme.widget_hdd = theme.dir .. "/icons/hdd.png"
|
||||
theme.widget_music = theme.dir .. "/icons/note.png"
|
||||
theme.widget_music_on = theme.dir .. "/icons/note_on.png"
|
||||
theme.widget_vol = theme.dir .. "/icons/vol.png"
|
||||
theme.widget_vol_low = theme.dir .. "/icons/vol_low.png"
|
||||
theme.widget_vol_no = theme.dir .. "/icons/vol_no.png"
|
||||
theme.widget_vol_mute = theme.dir .. "/icons/vol_mute.png"
|
||||
theme.widget_mail = theme.dir .. "/icons/mail.png"
|
||||
theme.widget_mail_on = theme.dir .. "/icons/mail_on.png"
|
||||
-- titlebar
|
||||
theme.titlebar_close_button_focus = theme.dir .. "/icons/titlebar/close_focus.png"
|
||||
theme.titlebar_close_button_normal = theme.dir .. "/icons/titlebar/close_normal.png"
|
||||
theme.titlebar_ontop_button_focus_active = theme.dir .. "/icons/titlebar/ontop_focus_active.png"
|
||||
theme.titlebar_ontop_button_normal_active = theme.dir .. "/icons/titlebar/ontop_normal_active.png"
|
||||
theme.titlebar_ontop_button_focus_inactive = theme.dir .. "/icons/titlebar/ontop_focus_inactive.png"
|
||||
theme.titlebar_ontop_button_normal_inactive = theme.dir .. "/icons/titlebar/ontop_normal_inactive.png"
|
||||
theme.titlebar_sticky_button_focus_active = theme.dir .. "/icons/titlebar/sticky_focus_active.png"
|
||||
theme.titlebar_sticky_button_normal_active = theme.dir .. "/icons/titlebar/sticky_normal_active.png"
|
||||
theme.titlebar_sticky_button_focus_inactive = theme.dir .. "/icons/titlebar/sticky_focus_inactive.png"
|
||||
theme.titlebar_sticky_button_normal_inactive = theme.dir .. "/icons/titlebar/sticky_normal_inactive.png"
|
||||
theme.titlebar_floating_button_focus_active = theme.dir .. "/icons/titlebar/floating_focus_active.png"
|
||||
theme.titlebar_floating_button_normal_active = theme.dir .. "/icons/titlebar/floating_normal_active.png"
|
||||
theme.titlebar_floating_button_focus_inactive = theme.dir .. "/icons/titlebar/floating_focus_inactive.png"
|
||||
theme.titlebar_floating_button_normal_inactive = theme.dir .. "/icons/titlebar/floating_normal_inactive.png"
|
||||
theme.titlebar_maximized_button_focus_active = theme.dir .. "/icons/titlebar/maximized_focus_active.png"
|
||||
theme.titlebar_maximized_button_normal_active = theme.dir .. "/icons/titlebar/maximized_normal_active.png"
|
||||
theme.titlebar_maximized_button_focus_inactive = theme.dir .. "/icons/titlebar/maximized_focus_inactive.png"
|
||||
theme.titlebar_maximized_button_normal_inactive = theme.dir .. "/icons/titlebar/maximized_normal_inactive.png"
|
||||
|
||||
local markup = lain.util.markup
|
||||
local separators = lain.util.separators
|
||||
|
||||
-- local keyboardlayout = awful.widget.keyboardlayout:new()
|
||||
|
||||
-- Textclock
|
||||
local clockicon = wibox.widget.imagebox(theme.widget_clock)
|
||||
local clock = awful.widget.watch(
|
||||
"date +'%a %d %b %R'", 60,
|
||||
function(widget, stdout)
|
||||
widget:set_markup(" " .. markup.font(theme.font, stdout))
|
||||
end
|
||||
)
|
||||
|
||||
-- Calendar
|
||||
theme.cal = lain.widget.cal({
|
||||
attach_to = { clock },
|
||||
notification_preset = {
|
||||
font = theme.font,
|
||||
fg = theme.fg_normal,
|
||||
bg = theme.bg_normal
|
||||
}
|
||||
})
|
||||
|
||||
-- MEM
|
||||
-- local memicon = wibox.widget.imagebox(theme.widget_mem)
|
||||
local mem = lain.widget.mem({
|
||||
settings = function()
|
||||
widget:set_markup(markup.font(theme.font, " " .. mem_now.used .. " MB "))
|
||||
end
|
||||
})
|
||||
|
||||
-- CPU
|
||||
-- local cpuicon = wibox.widget.imagebox(theme.widget_cpu)
|
||||
local cpu = lain.widget.cpu({
|
||||
settings = function()
|
||||
widget:set_markup(markup.font(theme.font, " " .. cpu_now.usage .. "% "))
|
||||
end
|
||||
})
|
||||
|
||||
-- Coretemp
|
||||
-- local tempicon = wibox.widget.imagebox(theme.widget_temp)
|
||||
local temp = lain.widget.temp({
|
||||
settings = function()
|
||||
widget:set_markup(markup.font(theme.font, " " .. coretemp_now .. "°C "))
|
||||
end
|
||||
})
|
||||
|
||||
-- Battery
|
||||
-- local baticon = wibox.widget.imagebox(theme.widget_battery)
|
||||
local bat = lain.widget.bat({
|
||||
settings = function()
|
||||
if bat_now.status and bat_now.status ~= "N/A" then
|
||||
if bat_now.ac_status == 1 then
|
||||
-- baticon:set_image(theme.widget_ac)
|
||||
elseif not bat_now.perc and tonumber(bat_now.perc) <= 5 then
|
||||
-- baticon:set_image(theme.widget_battery_empty)
|
||||
elseif not bat_now.perc and tonumber(bat_now.perc) <= 15 then
|
||||
-- baticon:set_image(theme.widget_battery_low)
|
||||
else
|
||||
-- baticon:set_image(theme.widget_battery)
|
||||
end
|
||||
widget:set_markup(markup.font(theme.font, " " .. bat_now.perc .. "% "))
|
||||
else
|
||||
widget:set_markup(markup.font(theme.font, " AC "))
|
||||
-- baticon:set_image(theme.widget_ac)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
|
||||
-- Net
|
||||
-- local neticon = wibox.widget.imagebox(theme.widget_net)
|
||||
local net = lain.widget.net({
|
||||
settings = function()
|
||||
widget:set_markup(markup.font(theme.font,
|
||||
markup("#ff6900", " " .. string.format("%06.1f", net_now.received) .. " ↓")
|
||||
.. " " ..
|
||||
markup("#FF6900", " " .. string.format("%06.1f", net_now.sent) .. " ↑")))
|
||||
end
|
||||
})
|
||||
|
||||
-- Separators
|
||||
local separator = wibox.widget.textbox(' ')
|
||||
local arrow_grey = separators.arrow_left(theme.bg_focus, "alpha")
|
||||
local arrow_blk = separators.arrow_left("alpha", theme.bg_focus)
|
||||
|
||||
function theme.at_screen_connect(s)
|
||||
-- Quake application
|
||||
s.quake = lain.util.quake({ app = awful.util.terminal })
|
||||
|
||||
-- If wallpaper is a function, call it with the screen
|
||||
local wallpaper = theme.wallpaper
|
||||
if type(wallpaper) == "function" then
|
||||
wallpaper = wallpaper(s)
|
||||
end
|
||||
gears.wallpaper.maximized(wallpaper, s, true)
|
||||
|
||||
-- Tags
|
||||
awful.tag(awful.util.tagnames, s, awful.layout.layouts[1])
|
||||
|
||||
-- Create a promptbox for each screen
|
||||
s.mypromptbox = awful.widget.prompt()
|
||||
-- Create an imagebox widget which will contains an icon indicating which layout we're using.
|
||||
-- We need one layoutbox per screen.
|
||||
s.mylayoutbox = awful.widget.layoutbox(s)
|
||||
s.mylayoutbox:buttons(my_table.join(
|
||||
awful.button({}, 1, function () awful.layout.inc( 1) end),
|
||||
awful.button({}, 2, function () awful.layout.set( awful.layout.layouts[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)))
|
||||
-- Create a taglist widget
|
||||
s.mytaglist = awful.widget.taglist(s, awful.widget.taglist.filter.all, awful.util.taglist_buttons)
|
||||
|
||||
-- Create a tasklist widget
|
||||
s.mytasklist = awful.widget.tasklist(s, awful.widget.tasklist.filter.currenttags, awful.util.tasklist_buttons)
|
||||
|
||||
-- Create the wibox
|
||||
s.mywibox = awful.wibar({ position = "top", screen = s, height = dpi(18), bg = theme.bg_normal, fg = theme.fg_normal })
|
||||
|
||||
-- Add widgets to the wibox
|
||||
s.mywibox:setup {
|
||||
layout = wibox.layout.align.horizontal,
|
||||
{ -- Left widgets
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
--separator,
|
||||
s.mytaglist,
|
||||
s.mypromptbox,
|
||||
separator,
|
||||
},
|
||||
s.mytasklist, -- Middle widget
|
||||
{ -- Right widgets
|
||||
layout = wibox.layout.fixed.horizontal,
|
||||
wibox.widget.systray(),
|
||||
|
||||
separator,
|
||||
-- arrow_grey,
|
||||
keyboardlayout,
|
||||
|
||||
arrow_blk,
|
||||
wibox.container.background(memicon, theme.bg_focus),
|
||||
wibox.container.background(mem.widget, theme.bg_focus),
|
||||
|
||||
arrow_grey,
|
||||
cpuicon,
|
||||
cpu.widget,
|
||||
|
||||
arrow_blk,
|
||||
wibox.container.background(tempicon, theme.bg_focus),
|
||||
wibox.container.background(temp.widget, theme.bg_focus),
|
||||
|
||||
arrow_grey,
|
||||
baticon,
|
||||
bat.widget,
|
||||
|
||||
arrow_blk,
|
||||
wibox.container.background(neticon, theme.bg_focus),
|
||||
wibox.container.background(net.widget, theme.bg_focus),
|
||||
|
||||
arrow_grey,
|
||||
clock,
|
||||
separator,
|
||||
|
||||
arrow_blk,
|
||||
wibox.container.background(s.mylayoutbox, theme.bg_focus),
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
return theme
|
BIN
.config/awesome/themes/powerarrow-dark/wall.png
Normal file
After Width: | Height: | Size: 3.3 MiB |
BIN
.config/awesome/themes/powerarrow-dark/wallpaper/destoryer.png
Normal file
After Width: | Height: | Size: 831 KiB |
BIN
.config/awesome/themes/powerarrow-dark/wallpaper/king-slime.png
Normal file
After Width: | Height: | Size: 3.3 MiB |
After Width: | Height: | Size: 1.7 MiB |
After Width: | Height: | Size: 732 KiB |