Skip to content

Commit

Permalink
Update for my personal configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicodemos234 committed Jan 14, 2023
1 parent fb5efb1 commit a788fd6
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 14 deletions.
13 changes: 9 additions & 4 deletions .config/awesome/config/keys.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ awful.keyboard.append_global_keybindings({
end,
{ description = "open web browser", group = "launcher" }),

awful.key({ modkey }, "e", function()
awful.key({ modkey }, "space", function()
awful.spawn(misc.rofiCommand)
end,
{ description = "open rofi", group = "launcher" }),
Expand Down Expand Up @@ -94,11 +94,16 @@ awful.keyboard.append_global_keybindings({


awful.key({}, "Print", function()
awful.util.spawn(home_var .. "/.scripts/ss area", false)
awful.util.spawn("flameshot gui", false)
end,
{description = "screenshot", group = "control"}),


awful.key({ shift }, "Print", function()
awful.util.spawn("deepin-screen-recorder", false)
end,
{description = "screen recorder", group = "control"}),

awful.key({}, "XF86AudioRaiseVolume",
function() awful.spawn("amixer -D pulse set Master 5%+", false)
end,
Expand Down Expand Up @@ -229,8 +234,8 @@ awful.keyboard.append_global_keybindings({
awful.key({ modkey, ctrl }, "l", 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, }, "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"}),
Expand Down
Binary file modified .config/awesome/images/sus/profile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .config/awesome/images/sus/walls/dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions .config/awesome/misc/init.lua
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ end

local applications = {
"picom --config $HOME/.config/awesome/misc/picom/panthom.conf &",
"setxkbmap -layout br",
"xrandr --output DisplayPort-1 --auto --output HDMI-A-0 --primary --left-of DisplayPort-1"
}

for _, prc in ipairs(applications) do
run(prc)
end


-- only-one-time process (mpdris2)
awful.spawn.easy_async_with_shell("pidof python3", function (stdout)
if not stdout or stdout == "" then
Expand Down
Empty file modified .config/awesome/misc/picom/panthom.conf
100644 → 100755
Empty file.
Empty file modified .config/awesome/misc/rofi/theme.rasi
100644 → 100755
Empty file.
Empty file modified .config/awesome/misc/scripts/Rofi/music-pop.lua
100644 → 100755
Empty file.
Empty file modified .config/awesome/misc/scripts/read_writer.lua
100644 → 100755
Empty file.
Empty file modified .config/awesome/misc/scripts/theme-applier.lua
100644 → 100755
Empty file.
10 changes: 0 additions & 10 deletions .config/awesome/signal/battery.lua
Original file line number Diff line number Diff line change
@@ -1,10 +0,0 @@

local upower_widget = require("mods.battery-widget")
local battery_listener = upower_widget {
device_path = '/org/freedesktop/UPower/devices/battery_BAT0',
instant_update = true
}

battery_listener:connect_signal("upower::update", function(_, device)
awesome.emit_signal("signal::battery", math.floor(device.percentage), device.state)
end)

0 comments on commit a788fd6

Please sign in to comment.