summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile5
-rwxr-xr-xawesome/bin/random_i3lock.sh4
-rw-r--r--awesome/default.nix1
-rw-r--r--awesome/rc.lua7
4 files changed, 0 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index 90a08bd..80fb36e 100644
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,6 @@ install-rm-keyfile:
sudo cp ./base/rm-keyfile.service /etc/systemd/system
sudo systemctl enable rm-keyfile.service
-install-pamd:
- drv=$$(nix-instantiate -E '((import ./pkgs.nix).stable {}).i3lock'); \
- store=$$(nix-store --realise $$drv); \
- sudo cp $$store"/etc/pam.d/i3lock" /etc/pam.d/i3lock
-
install-loadout:
@if [ -z "$(HOSTNAME)" ]; then echo "USAGE: make HOSTNAME=... install-loadout"; exit 1; fi
nix-env -v -i loadout -f default.nix --arg hostConfig "import ./config/$(HOSTNAME).nix"
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)