Remove i3lock, I never use it anyway

This commit is contained in:
mediocregopher 2024-01-06 12:28:40 +01:00
parent 654914d8ee
commit 035224eab6
4 changed files with 0 additions and 17 deletions

View File

@ -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"

View File

@ -1,4 +0,0 @@
#!/bin/sh
R=`find "$1" | grep -P 'png$' | sort -R | head -n1`
exec i3lock -i $R -t

View File

@ -119,7 +119,6 @@ EOF
pkgs.pavucontrol
pkgs.xdg-utils
pkgs.arandr
pkgs.i3lock
pkgs.scrot
pkgs.feh
pkgs.brightnessctl

View File

@ -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)