1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2026-03-22 21:45:11 +00:00
This commit is contained in:
Toma Adrian Ionut 2022-08-19 12:14:19 +03:00
parent f77085b244
commit a348dcf91c
3 changed files with 132 additions and 128 deletions

View file

@ -96,8 +96,8 @@ Installation
.. code-block:: shell
git clone --recurse-submodules --remote-submodules --depth 1 -j 2 https://github.com/SirHadrian/awesome-themes.git
mv -v awesome-themes/* ~/.config/awesome && rm -rf awesome-themes
[[ ! -d "~/.config/awesome" ]] && mkdir -p ~/.config/awesome
git clone --recurse-submodules --remote-submodules --depth 1 -j 2 https://github.com/SirHadrian/awesome-themes.git && mv -v awesome-themes/* ~/.config/awesome && rm -rf awesome-themes
Usage
=====

View file

@ -0,0 +1,3 @@
# Powerarrow-dark
###

View file

@ -101,7 +101,7 @@ local themes = {
local chosen_theme = themes[7]
local modkey = "Mod4"
local altkey = "Mod1"
local terminal = "terminator"
local terminal = "alacritty"
local vi_focus = false -- vi-like client focus https://github.com/lcpz/awesome-copycats/issues/275
local cycle_prev = true -- cycle with only the previously focused client or all https://github.com/lcpz/awesome-copycats/issues/274
local editor = os.getenv("EDITOR") or "nano"
@ -459,7 +459,8 @@ globalkeys = mytable.join( -- Destroy all notifications
-- end, {
-- description = "show weather",
-- group = "widgets"
-- }), -- Screen brightness
-- }),
-- Screen brightness
awful.key({}, "#233", function() os.execute("light -A 10") end,
{
description = "Fn + f6 --- brightness +10%",
@ -469,13 +470,13 @@ globalkeys = mytable.join( -- Destroy all notifications
group = "hotkeys"
}), -- Max/Min Brightness
awful.key({altkey, "Control", "Shift"}, "0",
function() os.execute("adjust-brightness.lnk --min") end,
function() os.execute("light -S 0") end,
{description = "Min screen brightness", group = "hotkeys"}),
awful.key({altkey, "Control", "Shift"}, "9", function()
os.execute("adjust-brightness.lnk --max")
os.execute("light -S 100")
end, {description = "Max screen brightness", group = "hotkeys"}),
awful.key({altkey, "Control", "Shift"}, "m", function()
os.execute("adjust-brightness.lnk --mid")
os.execute("light -S 50")
end, {description = "Mid screen brightness", group = "hotkeys"}),
-- Bluetooth toggle
awful.key({altkey, "Control", "Shift"}, "b", function()
@ -484,14 +485,12 @@ globalkeys = mytable.join( -- Destroy all notifications
naughty.notify({
title = "Bluetooth",
text = "Bluetooth is ON",
icon = "~/.config/awesome/themes/powerarrow-dark/icons/bluetooth.png"
})
BLUESTATUS = true
else
naughty.notify({
title = "Bluetooth",
text = "Bluetooth is OFF",
icon = "~/.config/awesome/themes/powerarrow-dark/icons/bluetooth.png"
})
BLUESTATUS = false
end
@ -833,5 +832,7 @@ client.connect_signal("unfocus",
-- Gaps
beautiful.useless_gap = 6
awful.spawn.with_shell("picom")
--awful.spawn.with_shell("nitrogen --set-zoom-fill --random ~/Pictures/SFW")
-- awful.spawn.with_shell("picom")
awful.spawn.with_shell("nitrogen --set-zoom-fill --random ~/Pictures/SFW")
awful.spawn.with_shell("optimus-manager-qt")
os.execute("picom --experimental-backends -b")