[i3] Turning numlock on login

This commit is contained in:
Przemyslaw Grondek 2019-08-21 16:39:10 +02:00
parent 9bf9aa95f7
commit eb72b6b8f6
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
REQUIRED_BINS=/usr/bin/i3 /usr/bin/i3blocks /usr/bin/i3lock /usr/bin/dunst /usr/bin/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 PACKAGES=i3 i3blocks i3lock dunst compton numlockx
I3_CONFIG=config I3_CONFIG=config
I3_CONFIG_OUT=$(HOME)/.config/i3/config I3_CONFIG_OUT=$(HOME)/.config/i3/config
@ -74,4 +74,4 @@ clean_bins:
rm -f $(CUSTOM_BINS:bin%=$(CUSTOM_BINS_DIR)%) rm -f $(CUSTOM_BINS:bin%=$(CUSTOM_BINS_DIR)%)
$(CUSTOM_BINS_DIR): $(CUSTOM_BINS_DIR):
mkdir -p $(CUSTOM_BINS) $(CUSTOM_BINS_DIR) mkdir -p $(CUSTOM_BINS) $(CUSTOM_BINS_DIR)

View File

@ -226,6 +226,9 @@ bindsym Mod4+F1 exec firefox
bindsym Mod4+F2 exec nautilus bindsym Mod4+F2 exec nautilus
bindsym Mod4+F3 exec gedit 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="Navigator"] border pixel 0
for_window [class="Firefox" instance="Toolkit"] border pixel 0 for_window [class="Firefox" instance="Toolkit"] border pixel 0
for_window [class="jetbrains-toolbox"] floating enable for_window [class="jetbrains-toolbox"] floating enable