From eb72b6b8f62f63c9d256effe1dabe0161f91372c Mon Sep 17 00:00:00 2001 From: Przemyslaw Grondek Date: Wed, 21 Aug 2019 16:39:10 +0200 Subject: [PATCH] [i3] Turning numlock on login --- i3/Makefile | 6 +++--- i3/config | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/i3/Makefile b/i3/Makefile index caf5861..e8efc07 100644 --- a/i3/Makefile +++ b/i3/Makefile @@ -1,5 +1,5 @@ -REQUIRED_BINS=/usr/bin/i3 /usr/bin/i3blocks /usr/bin/i3lock /usr/bin/dunst /usr/bin/compton -PACKAGES=i3 i3blocks i3lock dunst compton +REQUIRED_BINS=/usr/bin/i3 /usr/bin/i3blocks /usr/bin/i3lock /usr/bin/dunst /usr/bin/compton /usr/bin/numlockx +PACKAGES=i3 i3blocks i3lock dunst compton numlockx I3_CONFIG=config I3_CONFIG_OUT=$(HOME)/.config/i3/config @@ -74,4 +74,4 @@ clean_bins: rm -f $(CUSTOM_BINS:bin%=$(CUSTOM_BINS_DIR)%) $(CUSTOM_BINS_DIR): - mkdir -p $(CUSTOM_BINS) $(CUSTOM_BINS_DIR) \ No newline at end of file + mkdir -p $(CUSTOM_BINS) $(CUSTOM_BINS_DIR) diff --git a/i3/config b/i3/config index dbce54d..605c177 100644 --- a/i3/config +++ b/i3/config @@ -226,6 +226,9 @@ bindsym Mod4+F1 exec firefox bindsym Mod4+F2 exec nautilus bindsym Mod4+F3 exec gedit +# Numlock on +exec_always --no-startup-id numlockx + for_window [class="Firefox" instance="Navigator"] border pixel 0 for_window [class="Firefox" instance="Toolkit"] border pixel 0 for_window [class="jetbrains-toolbox"] floating enable