This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Controls a dropdown terminal for use in i3wm | |
DISPLAY_WIDTH=1920 | |
DISPLAY_HEIGHT=1080 # May be usefull... | |
TERMINAL_WIDTH=900 | |
TERMINAL_HEIGHT=400 | |
TERMINAL_X=$(( (DISPLAY_WIDTH - TERMINAL_WIDTH)/2 )) | |
TERMINAL_Y=500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROJECT_NAME = ProjectName | |
MAKE := make | |
PWD := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) | |
# you can either have a single settings.py | |
# or multiple settings in projectpath/settings/{local, production,...} | |
# The later is assumed to be the case | |
SETTING_FILE = local | |
SETTINGS_MODULE = $(PROJECT_NAME).settings.$(SETTING_FILE) |