summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghuram Subramani <raghus2247@gmail.com>2023-08-06 06:27:23 +0530
committerRaghuram Subramani <raghus2247@gmail.com>2023-08-06 06:27:23 +0530
commit0c0b41a176ebd5f2683da0c3857b947bc3622c4c (patch)
treee20118b4f2b09fe9e78270cf963b2ee85c22e0a2
parent67e7c9f6fb1fef248c1cfa3558d8e6d009b4852c (diff)
remove dmenu; make systemd ignore power key press
-rw-r--r--setup_debian.sh10
1 files changed, 3 insertions, 7 deletions
diff --git a/setup_debian.sh b/setup_debian.sh
index 767e111..51ebc19 100644
--- a/setup_debian.sh
+++ b/setup_debian.sh
@@ -24,7 +24,6 @@ sudo chown $USER:$USER -R /opt
# Go To `/opt` And Clone Repositories
cd /opt
git clone https://github.com/compromyse/dwm
-git clone https://github.com/compromyse/dmenu
# Install `DWM`
cd /opt/dwm
@@ -32,12 +31,6 @@ make
sudo make install
make clean
-# Install `DMenu`
-cd /opt/dmenu
-make
-sudo make install
-make clean
-
# Install `ly`
cd /opt
git clone --recurse-submodules https://github.com/fairyglade/ly
@@ -100,5 +93,8 @@ sudo apt-get install -y terminator nemo
# Make `bash` Case Insensitive
echo 'set completion-ignore-case On' | sudo tee -a /etc/inputrc
+# Make systemd ignore power key
+echo "HandlePowerKey=ignore" | sudo tee -a /etc/systemd/logind.conf
+
# Remove The Temporary Directory
rm -rf $TEMP_DIR