summaryrefslogtreecommitdiff
path: root/awesome
diff options
context:
space:
mode:
authormediocregopher <mediocregopher@gmail.com>2024-01-06 12:28:40 +0100
committermediocregopher <mediocregopher@gmail.com>2024-01-06 12:28:40 +0100
commit035224eab61b80b5f6053ac7f72a3a6efa2aaa3b (patch)
tree6dbd7286cfa4a3c8769811d64924909de260fcbf /awesome
parent654914d8ee0b7a3fec8169272675030b0bbdc00d (diff)
Remove i3lock, I never use it anyway
Diffstat (limited to 'awesome')
-rwxr-xr-xawesome/bin/random_i3lock.sh4
-rw-r--r--awesome/default.nix1
-rw-r--r--awesome/rc.lua7
3 files changed, 0 insertions, 12 deletions
diff --git a/awesome/bin/random_i3lock.sh b/awesome/bin/random_i3lock.sh
deleted file mode 100755
index e5f4e16..0000000
--- a/awesome/bin/random_i3lock.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-R=`find "$1" | grep -P 'png$' | sort -R | head -n1`
-exec i3lock -i $R -t
diff --git a/awesome/default.nix b/awesome/default.nix
index c9d0eb2..b67263f 100644
--- a/awesome/default.nix
+++ b/awesome/default.nix
@@ -119,7 +119,6 @@ EOF
pkgs.pavucontrol
pkgs.xdg-utils
pkgs.arandr
- pkgs.i3lock
pkgs.scrot
pkgs.feh
pkgs.brightnessctl
diff --git a/awesome/rc.lua b/awesome/rc.lua
index 6c32fa8..3abbb2c 100644
--- a/awesome/rc.lua
+++ b/awesome/rc.lua
@@ -65,10 +65,6 @@ function rand_wp()
return wp_dir .. wp
end
-function rand_wp_lock()
- awful.spawn(bin_dir.."random_i3lock.sh "..wp_dir, false)
-end
-
local wp = rand_wp()
local imgavg = io.popen("cat " .. wp .. " | " .. bin_dir .. "imgavg")
local avgcolor = imgavg:read()
@@ -338,9 +334,6 @@ globalkeys = awful.util.table.join(
naughty.notify({ text = "Screenshot taken" })
end),
- --Lock screen
- awful.key({ modkey, "Control" }, "Delete", rand_wp_lock),
-
awful.key( { }, "XF86AudioRaiseVolume", function()
awful.spawn("/usr/bin/pactl set-sink-volume @DEFAULT_SINK@ +5%", false)
awful.spawn("/usr/bin/pactl set-sink-mute @DEFAULT_SINK@ 0", false)