1
0
mirror of https://github.com/pgrondek/config.git synced 2024-11-21 19:43:42 +00:00

Compare commits

..

2 Commits

Author SHA1 Message Date
pgrondek
6be2fefdec [Firefox] Add settings for PiP window 2020-02-23 21:46:32 +01:00
pgrondek
0dae8a6874 [Arduino] add makefile 2020-02-23 21:46:32 +01:00
2 changed files with 29 additions and 0 deletions

28
arduino/Makefile Normal file
View File

@ -0,0 +1,28 @@
HOME_BIN_DIR=$(HOME)/bin
HOME_BIN_LINK=$(HOME_BIN_DIR)/arduino
ifeq ("x86_64","$(shell uname -m)")
ARCH=linux64
else
ARCH=unknown
endif
ARDUINO_VERSION=1.8.12
ARDUINO_URL=https://downloads.arduino.cc/arduino-$(ARDUINO_VERSION)-$(ARCH).tar.xz
TMPDIR:=$(shell mktemp -d)
SUDO=sudo
OUT_DIR=/opt/arduino
.PHONY: install
clean:
$(SUDO) rm -rf $(OUT_DIR)
rm -rf $(HOME_BIN_LINK)
install:
wget -qO- $(ARDUINO_URL) | tar xJ -C $(TMPDIR)
$(SUDO) cp -r $(TMPDIR)/arduino-$(ARDUINO_VERSION) $(OUT_DIR)
$(SUDO) chmod 755 $(OUT_DIR)
$(SUDO) rm -rf $(TMPDIR)
ln -s $(OUT_DIR)/arduino $(HOME_BIN_LINK)

View File

@ -262,6 +262,7 @@ 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="Firefox" window_role="PictureInPicture"] border pixel 0, floating enable, sticky enable
for_window [class="jetbrains-toolbox"] floating enable
for_window [class="Slack"] border pixel 0
for_window [class="^jetbrains-.+"][window_type=dialog] floating enable